delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-apps-owner AT sourceware DOT cygnus DOT com |
List-Subscribe: | <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
List-Post: | <mailto:cygwin-apps AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs> |
Delivered-To: | mailing list cygwin-apps AT sources DOT redhat DOT com |
MIME-Version: | 1.0 |
Subject: | SSHD and win32 console apps - was RE: [ros-kernel] Re: Shell enhancements |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.4417.0 |
content-class: | urn:content-classes:message |
Date: | Tue, 24 Apr 2001 13:05:40 +1000 |
Message-ID: | <EA18B9FA0FE4194AA2B4CDB91F73C0EF79C9@itdomain002.itdomain.net.au> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
Thread-Topic: | [ros-kernel] Re: Shell enhancements |
Thread-Index: | AcDMZY7hUUfNvP0kSPWrTfwB/5NSEQAAANBw |
From: | "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au> |
To: | <ros-kernel AT reactos DOT com> |
Cc: | <cygwin-apps AT cygwin DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id XAA04155 |
> -----Original Message----- > From: Phillip Susi [mailto:phreak AT iag DOT net] > Sent: Tuesday, April 24, 2001 12:27 PM > To: ros-kernel AT reactos DOT com > Subject: [ros-kernel] Re: Shell enhancements > > > At 10:13 PM 4/23/01, you wrote: > > >This makes much more sense. I suggest you do look at cygwins pty > >implementation. I know that you are working a level deeper > than cygwin > >does... but it might be instructive (as the cygwin telnet server and > >sshd server do work :] ). > > > >Rob > Can you run win32 console apps from the cygwin sshd? If so, > I'd sure like Like net.exe? I believe a fix for the output of net.exe was committed recently. I don't have a handy URL though, So I'll cross post this to cygwin-apps AT cygwin DOT com and hopefully you'll get an authoritative answer :] > to know how. If not, then yea, I can see cygwin kludging pty > support from > one cygwin app to another. The only way I can possibly see > for a process > to monitor the output to a console in win32 is to > periodically poll the > frame buffer with ReadConsoleOutput(), as I said before... but that's > inefficient, and complicated, not to mention that it assumes > that the app > does not create a new frame buffer and use that. > > As a test, maybe you could try running our notevil.exe from > the rosapps > module in an ssh session. > I don't actually have sshd running on my machines... but it's relatively easy to setup - why not grab it and see :] Rob
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |