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: jon wackley
Subject: Re: getch always returns -1 after shell
Date: Mon, 27 Jan 2003 22:26:38 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

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.

Thanks,
jonw


Thomas Dickey wrote:
On Mon, Jan 27, 2003 at 09:57:29PM -0500, jon wackley wrote:
  
Hi,

This unfortunately did nothing.  It does seem that something is wrong 
with stdin.  Is there a reset command or something similar?
    

nothing comes to mind.  Does my simple example not work for you, as well?

  


reply via email to

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