Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 19 Jan 2004 20:22:49 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: cygwin-1.5.6-1 In-Reply-To: <400C7C99.570C1402@dessent.net> Message-ID: References: <20040119155641 DOT 814B9400172 AT redhat DOT com> <400C7C99 DOT 570C1402 AT dessent DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 19 Jan 2004, Brian Dessent wrote: > Christopher Faylor wrote: > > > > I've made a new version of the Cygwin DLL and associated utilities > > available for download. As usual, a list of what has changed is below. > > Again, thanks for all your work. Ditto! > > - Fix problems programs which need a console available when running on a > > pty. (Christopher Faylor) > > After upgrading, I noticed a difference with the tty usage compared to > 1.5.5. Now, don't get me wrong, nothing's broke that I can tell, but > I'm just a little bit curious about the following: > > When I open an rxvt shell prompt, it appears that each one has allocated > two ttys. For example, with 3 rxvts running: > > $ w > 16:51:19 up 15 days, 23:19, 6 users, load average: 0.00, 0.00, 0.00 > USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT > brian tty0 BOOCH 15:57 0.00s 0.00s ? - > brian tty1 :0 15:57 0.00s 0.00s ? - > brian tty2 BOOCH 15:58 0.00s 0.00s ? - > brian tty3 :0 15:58 0.00s 0.00s ? - > brian tty4 BOOCH 16:51 0.00s 0.00s ? - > brian tty5 :0 16:51 0.00s 0.00s ? - > > I don't have an X server running at all. My DISPLAY variable is set to > "localhost:0.0" but it doesn't seem to matter if I remove that from > .profile. My $CYGWIN is set to "ntsec tty" and this is under w2k: > > CYGWIN_NT-5.0 booch 1.5.6(0.108/3/2) 2004-01-19 00:43 i686 unknown > unknown Cygwin > > So, just out of curiosity, why two ttys for each rxvt? > Brian I don't know about the 2 tty issue, but ":0" is rxvt's internal name for "no display". In fact, IIUC, if you actually do have an X server running on display ":0", rxvt will pop up a Windows window if the DISPLAY is set to that value. Fortunately, most X servers use the screen number as well (i.e., at least ":0.0"), so that problem shouldn't come up in real life. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- 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/