www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 26 May 2009 23:59:05 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Cygwin 1.7(even in 1.5) user logined through cygwin.bat can't show whit "w" command |
Message-ID: | <20090527035905.GA23083@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <f4d6f44b0905261856u162c081q3258a7e7146596b3 AT mail DOT gmail DOT com> <f4d6f44b0905261858w6771b43et4bdf8e66f0c8db2 AT mail DOT gmail DOT com> <4A1CB80E DOT 3000908 AT cygwin DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <4A1CB80E.3000908@cygwin.com> |
User-Agent: | Mutt/1.5.19 (2009-01-05) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Tue, May 26, 2009 at 11:48:30PM -0400, Larry Hall (Cygwin) wrote: >Huang Bambo wrote: >> As showed in the title. >> If I start a shell from cygwin.bat, the "w" and "who" command showed >> nothing while the shell from ssh can. >> And I also think the tty should be pts/x, not ttyx. > >Set "CYGWIN=tty" in your Windows environment if you want/need 'bash' >to register as a terminal when invoked from any 'cmd.exe' (like 'cygwin.bat' >does). See: > ><http://cygwin.com/1.7/cygwin-ug-net/using-cygwinenv.html> > >Note that other terminals (mintty, xterm, rxvt) don't require this because >they know they are terminals. I think his point was that Cygwin doesn't make a distinction between ttys and ptys. That always sort of bugged me too but it isn't something that is going to be fixed anytime soon. I don't know what the "w", "who" problem is though. cgf -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |