This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
SSHD and win32 console apps - was RE: [ros-kernel] Re: Shell enhancements
- To: <ros-kernel at reactos dot com>
- Subject: SSHD and win32 console apps - was RE: [ros-kernel] Re: Shell enhancements
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Tue, 24 Apr 2001 13:05:40 +1000
- Cc: <cygwin-apps at cygwin dot com>
- Thread-Index: AcDMZY7hUUfNvP0kSPWrTfwB/5NSEQAAANBw
- Thread-Topic: [ros-kernel] Re: Shell enhancements
> -----Original Message-----
> From: Phillip Susi [mailto:phreak@iag.net]
> Sent: Tuesday, April 24, 2001 12:27 PM
> To: ros-kernel@reactos.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@cygwin.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