Skip to content
Tcl Source Code History Of Ticket 666769ffff
Login

History Of Ticket 666769ffff

Artifacts Associated With Ticket 666769ffff

  1. Ticket change [a16ec016e4] (rid 109707) by gwlester on 2003-01-12 19:48:27:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
      
    4. foundin initialized to: "obsolete: 8.4.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "gwlester"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "stdin does not obey configuration"
    11. type initialized to: "RFE"
  2. Ticket change [ecc7143da0] (rid 103765) by vincentdarley on 2003-01-14 05:12:56:

    1. assignee changed to: "andreas_kupries"
    2. icomment:
      Logged In: YES 
      user_id=32170
      
      Not a filesystem problem, but a channel system one I assume.
      
      
      
    3. login: "vincentdarley"
    4. mimetype: "text/plain"
    5. subsystem changed to: "25. Channel System"
    6. username: "vincentdarley"
  3. Ticket change [ca5d88856d] (rid 95332) by hobbs on 2003-01-14 05:17:53:

    1. closedate changed to: "2003-01-13T22:17:53"
    2. closer changed to: "hobbs"
    3. 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.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Pending"
    8. username: "hobbs"
  4. Ticket change [592fa5381b] (rid 117932) by dkf on 2003-01-16 13:03:50:

    1. assignee changed to: "nobody"
    2. foundin changed to: "None"
    3. 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
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. status changed to: "Open"
    7. subsystem changed to: "None"
    8. title changed to: "Control TTY raw/cooked mode with [fconfigure]"
    9. username: "dkf"
  5. Ticket change [84c7745ed6] (rid 117622) by nobody on 2003-01-16 13:54:12:

    1. 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.
      
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"
  6. Ticket change [106dcdab14] (rid 94970) by dkf on 2003-01-17 23:09:48:

    1. subsystem changed to: "27. Channel Types"
  7. Ticket change [c8e13ad721] (rid 122184) by dkf on 2003-10-17 17:47:55:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=79902
      
      See TIP#160 http://purl.org/tcl/tip/160
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. resolution changed to: "Remind"
    6. username: "dkf"
  8. Ticket change [94c533a2d9] (rid 106049) by dkf on 2009-07-13 19:37:45:

    1. title changed to:
      TIP#160: Control TTY raw/cooked mode with [fconfigure]
      
  9. Ticket change [9db20b0b68] (rid 261546) by serhiy.storchaka on 2026-11-13 11:18:45:

    1. closedate changed to: "2461357.9713335303"
    2. closer changed to: "serhiy.storchaka"
    3. 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.
      
    4. login: "serhiy.storchaka"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"