Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b6ec49b6f4b15430460300d3d8284bce39ccb821
Ticket: 526163ffffffffffffffffffffffffffffffffff
tty not reset on exit
User & Date: jcw on 2002-03-05 22:43:04
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Followup of bug #525783
    
    Running cvs HEAD, ttyCloseProc has SETIOSTATE #if'ed
    out - I get a problem on exit:
    
    - running on SuSE 7.3 KDE, konsole, tty /dev/pts/5
    - start ./tclsh
    - enter "open /dev/pts/5; exit"
    - tclsh exits, but leaves terminal in bad state
    
    It looks like it's in non-blocking mode still.
    Normal state is restored by typing "stty sane <CR>"
    
    When restoring #if 0 to #if 1, and the ttyPtr def at
    top, as suggested by Jeff Hobbs in the chat, the above
    works as expected again.
    
    Redoing this all with vanilla 8.3.3 tclsh in SuSE, the
    exit behavior is ok.
    
  4. foundin changed to: "obsolete: 8.4a4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "jcw"
  9. subsystem changed to: "25. Channel System"
  10. title changed to: "tty not reset on exit"
  11. type changed to: "Bug"