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: Sun, 6 Jul 2003 23:43:48 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Peter Wohlers cc: cygwin AT cygwin DOT com Subject: Re: Output suppressed with ssh or telnet In-Reply-To: <3F08DF11.7000201@whack.org> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 6 Jul 2003, Peter Wohlers wrote: > So, this wierdness ges better - Mitch Nibbelink wrote me with this: > > Mitch Nibbelink wrote: > > > I'm seeing the same thing, not subscribe to the mailing list... > > > > My current workaround (since I have activestate perl installed) is to > > # point to activestate perl > > $ export PATH=/cygdrive/c/Apps/Perl/bin:$PATH > > > > # run net start from activestate perl instead of bash > > $ perl -e "system('net start');" > > These Windows 2000 services are started: > > > > Apache > > COM+ Event System > > ... > > > > Icky, but works. > > > > --Mitch > > So, if you're ssh'd into a cygwin box, things like 'net start' don't > display anything, and if you use cygwin's perl to do a system call, it > still doesn't. Use Activestate while ssh'd in and it works as it should. > > Yet while on the console, all works as it should. Anyone have a clue why > this might be behaving like this? Well, Cygwin ptys are in reality pipes. Thus, Windows applications don't see them as consoles, and may not behave the same way as on the console. I suspect that looking at the differences between fhandler_tty.cc and fhandler_console.cc will at least provide a clue. 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/