Cygwin 1.7(even in 1.5) user logined through cygwin.bat can't show whit "w" command
Larry Hall (Cygwin)
reply-to-list-only-lh@cygwin.com
Wed May 27 11:00:00 GMT 2009
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.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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/
More information about the Cygwin
mailing list