This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |