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: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ros-kernel] Re: Shell enhancements Thread-Index: AcDMZY7hUUfNvP0kSPWrTfwB/5NSEQAAANBw From: "Robert Collins" To: Cc: Content-Transfer-Encoding: 8bit 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