This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Console input in xterm from NT program?
- From: Christopher Faylor <cgf-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 5 Jan 2003 12:13:33 -0500
- Subject: Re: Console input in xterm from NT program?
- References: <200301051752.46106.giesler@ira.uka.de>
- Reply-to: cygwin at cygwin dot com
On Sun, Jan 05, 2003 at 05:52:45PM +0100, Bj?rn Giesler wrote:
>since nobody has answered me yet, and I haven't been able to fix the problem
>so far, I'll repost it in a slightly different way:
>
>I'm looking for a way to get one-char-at-a-time stdin input in an xterm, using
>only the Win32 APIs (e.g. from wincon.h). It works in the XP console, but in
>XFree86/xterm my program doesn't get any input at all, and all input I type
>stays in the buffer and goes to the shell when I kill my program with Ctrl-C.
>
>Can anybody tell me how to get xterm to talk to me?
xterm is a pure UNIX-like environment. You can't use Windows APIs to control
it. You need to use tcsetattr.
cgf
--
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/