delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/24/09:20:02

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 <brian AT dessent DOT net>
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: <daa21e7b0801240138y47744599j44d614f739d3cbe3 AT mail DOT gmail DOT com> <47987DD7 DOT 69849291 AT dessent DOT net> <1ff86f510801240555k5fc30213ye08c5b39ffc0eee5 AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019