ttys [Was: sshd1 v1.2.26, b20.1, tty problems (most likely)]

Ian Zimmerman
Mon May 10 10:18:00 GMT 1999

-----Original Message-----
From: Sergey Okhapkin <>
To: Juha Jäykkä <>; <>
Date: Monday, May 10, 1999 4:19 AM
Subject: Re: sshd1 v1.2.26, b20.1, tty problems (most likely)

>>allowed source for login), the following happens:
>>bash$ ps
>>   1024   0  11:24:29 /H-i586-cygwin32/bin/bash.exe
>>   1316  -1  13:32:54 /usr/local/sbin/sshd1.exe
>>   1317   1  13:32:57 /bin/ps.exe
>>   1087   1  11:37:20 /H-i586-cygwin32/bin/bash.exe
>>bash$ ssh1 bash --login -i
>>juhaj@'s password:
>>bash: no job control in this shell
>>ls: write error: Bad file number
>Set "CYGWIN=tty" in the global environment settings
>and reboot. Don't forget to copy your mount settings (if differs from
>default) into cygwin's global mount table (see cygwin's FAQ for details).

The FAQ says do this, but it doesn't give the slightest hint what this
setting does (in terms of either Unix or Win32 API).  Can somebody please
illuminate me?

Also, the XEmacs FAQ mentions an envar CYGWIN32.  Is it just a typo (ie.
did the Xemacs people really mean CYGWIN) or are these 2 different envars?

Finally, with or without these envars, I get warnings from XEmacs with efs.
The warning says something like "ftp seems not a tty. Kill?"
Bash under XEmacs seems to run fine, though, so it could just be the
braindead Windows ftp program.

Thanks for any explanations.

More information about the Cygwin mailing list