On Dec 6 07:07, Ken Brown wrote: > On 12/6/2011 4:37 AM, Corinna Vinschen wrote: > >In 1.7.10 a few internals have changed, which influence the way some of > >the Cygwin tools work. For instance, the Cygwin ps tool from 1.7.9 will > >show weird tty numbers for processes running in a console window, while > >the new ps knows how to handle the new values. > > [...] > > >- Revamp console and pseudo tty handling. Rename /dev/ttyX to /dev/consX, > > /dev/ttyX to /dev/ptyX. > > The new ps shows `?' for the tty of mintty when the latter is > started from the Cygwin Terminal shortcut, whereas it shows an > ordinary pxyX for mintty started from a bash shell. Is that to be > expected?
Yes. When you start mintty from the GUI, there's no tty. Mintty will open the master side of a pseudo tty, but it will by itself not have a controlling tty. Thus the ?. When started from bash, bash has already a controlling tty which is inherited by mintty. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple