bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getch always returns -1 after shell


From: Thomas Dickey
Subject: Re: getch always returns -1 after shell
Date: Tue, 28 Jan 2003 05:45:47 -0500
User-agent: Mutt/1.3.27i

On Mon, Jan 27, 2003 at 10:26:38PM -0500, jon wackley wrote:
> Hi Thomas,
> 
> I tried something similar and it worked. When system commands are issued 
> then the problem occurs. I'm wondering how I could reset the input 
> stream as I'm thinking that the system commands changed the state of the 
> input stream.

hmm - ncurses supposedly does reset the terminal modes.  If you can built
a debug-version of ncurses for that system, you should be able to produce
a trace which shows this.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]