Artifacts Associated With Ticket 666769ffffffffff
Ticket change [a16ec016e4] (rid 109707) by gwlester on 2003-01-12 19:48:27:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Configuring stdin to buffering none has no effect. For example, run the following program. Typing an "X" should cause it to complete, however a "X<CR>" must be typed. This is true under both Linux and Windows NT. fconfigure stdin -blocking yes -buffering none -translation {binary binary} puts [fconfigure stdin] set ch [read stdin 1] puts stdout "\n\tYou typed a '$ch'" flush stdout - foundin initialized to: "obsolete: 8.4.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "gwlester"
- subsystem initialized to: "37. File System"
- title initialized to: "stdin does not obey configuration"
- type initialized to: "RFE"
Ticket change [ecc7143da0] (rid 103765) by vincentdarley on 2003-01-14 05:12:56:
- assignee changed to: "andreas_kupries"
- icomment:
Logged In: YES user_id=32170 Not a filesystem problem, but a channel system one I assume.
- login: "vincentdarley"
- mimetype: "text/plain"
- subsystem changed to: "25. Channel System"
- username: "vincentdarley"
Ticket change [ca5d88856d] (rid 95332) by hobbs on 2003-01-14 05:17:53:
- closedate changed to: "2003-01-13T22:17:53"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 I do not believe this is a Tcl problem at all, but rather the fact that you can't control a tty in this way. On unix you would have to call stty with special settings, or use Expect. There are examples of this on the net.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Pending"
- username: "hobbs"
Ticket change [592fa5381b] (rid 117932) by dkf on 2003-01-16 13:03:50:
- assignee changed to: "nobody"
- foundin changed to: "None"
- icomment:
Logged In: YES user_id=79902 On any UNIX platform, this will only work if you change the channel driver from its default "cooked" mode to "raw". The cooked mode allows for basic line editing in simple apps (like cat!) so it is a good thing, but for some cases that's not sufficient. Tcl does not currently support changing the TTY mode this way, though I would personally be very sympathetic to anyone who wants to add the feature. I presume Windows has something similar, though I don't know the platform nearly well enough to be able to sensibly comment. Transforming this to a FRQ
- login: "dkf"
- mimetype: "text/plain"
- status changed to: "Open"
- subsystem changed to: "None"
- title changed to: "Control TTY raw/cooked mode with [fconfigure]"
- username: "dkf"
Ticket change [84c7745ed6] (rid 117622) by nobody on 2003-01-16 13:54:12:
- icomment:
Logged In: NO Based on Don's and Jeff's comments, this should at least be changed to a documentation bug. In other words, the documentation should explictly state that stdin/stdout/stderr are not effect by certain aspects of fconfigure. If this is also true of other ttys, it should also be explictity stated.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment:
Ticket change [106dcdab14] (rid 94970) by dkf on 2003-01-17 23:09:48:
- subsystem changed to: "27. Channel Types"
Ticket change [c8e13ad721] (rid 122184) by dkf on 2003-10-17 17:47:55:
- assignee changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 See TIP#160 http://purl.org/tcl/tip/160
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Remind"
- username: "dkf"
Ticket change [94c533a2d9] (rid 106049) by dkf on 2009-07-13 19:37:45:
- title changed to:
TIP#160: Control TTY raw/cooked mode with [fconfigure]
- title changed to:
Ticket change [9db20b0b68] (rid 261546) by serhiy.storchaka on 2026-11-13 11:18:45:
- closedate changed to: "2461357.9713335303"
- closer changed to: "serhiy.storchaka"
- icomment:
Implemented in Tcl 9.0 by TIP 160: fconfigure stdin -inputmode raw (and normal, password, reset) switches the terminal mode of serial channels on Unix and of console channels on Windows.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"