This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: what's the difference between /dev/tty1 and /dev/console


"Jerry D. Hedden" wrote:

>       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
>     19992       1   19992      19992  con 78809 08:22:53 /usr/bin/rxvt
>     32960   19992   32960      61760    0 78809 08:22:53 /usr/bin/bash
>     19292   32960   19292      33136    0 78809 08:43:42 /usr/bin/ps
> 
> It's started using via a shell shortcut using the target:
>     "C:\cygwin\bin\rxvt.exe -e bash --login"
> Doesn't this show that the rxvt window is a console?

That is telling you that bash is attached to tty0 (a pty).  In other
words, rxvt cannot provide a console to the things running in it, it can
only provide a pty.   Whether or not the rxvt process itself has a
console is irrelevant.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]