X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47989E5C.899310A1@dessent.net> Date: Thu, 24 Jan 2008 06:19:08 -0800 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: what's the difference between /dev/tty1 and /dev/console References: <47987DD7 DOT 69849291 AT dessent DOT net> <1ff86f510801240555k5fc30213ye08c5b39ffc0eee5 AT mail DOT gmail DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com "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/