delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Sun, 5 Jan 2003 12:13:33 -0500 |
From: | Christopher Faylor <cgf-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Console input in xterm from NT program? |
Message-ID: | <20030105171333.GC16706@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <200301051752 DOT 46106 DOT giesler AT ira DOT uka DOT de> |
Mime-Version: | 1.0 |
In-Reply-To: | <200301051752.46106.giesler@ira.uka.de> |
User-Agent: | Mutt/1.5.1i |
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 AT sources DOT redhat DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |