This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Output suppressed with ssh or telnet

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?

* Peter Wohlers *

Peter Wohlers wrote:


Subject: Output suppressed with ssh or telnet
From: "Marco Marcantelli" <>
Date: Fri, 27 Jun 2003 17:35:53 +0200


when I'm in telnet or ssh and run Dos programs like Word Star, Norton
Commander or a Cobol run-time for dos, I do not receive any Output, but
the programs are running !! If i try in local the programs works well.
I have read the Email in Mail List, I would like to know if a solution exists.

[snip-snip cygcheck output>

Hmmm...I've just run into this myself...but it doesn't seem to be universal with all apps:
pwohlers@dc1 ~
$ which net

pwohlers@dc1 ~
$ net help

pwohlers@dc1 ~
$ ipconfig
Windows 2000 IP Configuration
Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . :
        Subnet Mask . . . . . . . . . . . :
        Default Gateway . . . . . . . . . :

So, you see from the above output, ipconfig spews forth as it should, but the net command's output seems suppressed.

These are pretty up-to-date installs:
pwohlers@dc1 ~
$ uname -a
CYGWIN_NT-5.0 dc1 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin
pwohlers@dc1 ~
$ ssh -V
OpenSSH_3.6.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090702f

Is there something in particular we should be looking at to help us diagnose the root cause of this?


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]