Skip to content
Tcl Source Code Artifact [018e902b00]
Login

Artifact [018e902b00]

Artifact 018e902b0070e49059b717f34e7b5ef3bc2d26ae:

Manifest of check-in [018e902b00] - * unix/tclUnixChan.c (TclpOpenFileChannel): Added code to regonize "/dev/tty" (by name) and to not handle it as tty / serial line. This is the controlling terminal and is special. Setting it into raw mode as is done for other tty's is a bad idea. This is a hackish fix for expect SGF Bug #520624. The fix has limitation: Tcl_MakeFileChannel handles tty's specially too, but is unable to recognize /dev/tty as it only gets a file descriptor, and no name for it. by andreas_kupries on 2002-02-27 18:53:26.
B 199f301702017a5ffad5d28fcd98e59f75915d42
C \n\t*\sunix/tclUnixChan.c\s(TclpOpenFileChannel):\sAdded\scode\sto\sregonize\n\t\s\s"/dev/tty"\s(by\sname)\sand\sto\snot\shandle\sit\sas\stty\s/\sserial\n\t\s\sline.\sThis\sis\sthe\scontrolling\sterminal\sand\sis\sspecial.\sSetting\n\t\s\sit\sinto\sraw\smode\sas\sis\sdone\sfor\sother\stty's\sis\sa\sbad\sidea.\sThis\n\t\s\sis\sa\shackish\sfix\sfor\sexpect\sSGF\sBug\s#520624.\sThe\sfix\shas\n\t\s\slimitation:\sTcl_MakeFileChannel\shandles\stty's\sspecially\stoo,\sbut\n\t\s\sis\sunable\sto\srecognize\s/dev/tty\sas\sit\sonly\sgets\sa\sfile\n\t\s\sdescriptor,\sand\sno\sname\sfor\sit.\n
D 2002-02-27T18:53:26
F ChangeLog f0549edcf407c4469cddd63e226c8faef729e7dd
F generic/tclAlloc.c 670bf773be614998de754bdba26548cadd7af884
F generic/tclInt.h fced9fd20f08674bd0b06ca8cfc3dbb212ec7e31
F generic/tclObj.c 4580a6326cd4292a1c139c3b15b797242534cb67
F unix/tclUnixChan.c 6509d9d8ec1e872fc5bce0de67e69c416bed8bae
P 7956220b47d600e4144614ac998e4c7c28791a3d
U andreas_kupries
Z 4e0b8f519e4afe7c81b066db0c2cbcde