Console input in xterm from NT program?

Christopher Faylor cgf-cygwin@cygwin.com
Mon Jan 13 03:04:00 GMT 2003


On Mon, Jan 06, 2003 at 12:14:58PM +0100, Bj?rn Giesler wrote:
>On Sunday 05 January 2003 18:13, Christopher Faylor wrote:
>>xterm is a pure UNIX-like environment.  You can't use Windows APIs to
>>control it.  You need to use tcsetattr.
>
>Right.  That's what I thought.  OTOH, what does tcsetattr on Cygwin do?
>W32 just doesn't have it, so I need to emulate it somehow.

If you're porting your application to cygwin, use tcsetattr.  It doesn't
matter if you are in rxvt or on the console.  If you are asking how it
works, use the source.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam@sources.redhat.com
and be permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list