[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getting input not working
From: |
Thomas E. Dickey |
Subject: |
Re: getting input not working |
Date: |
Tue, 4 Mar 2003 06:52:03 -0500 (EST) |
On Mon, 3 Mar 2003, Peter Jay Salzman wrote:
> ok, after thinking about it, i realized the answer to my question is
> "yes, stdin is redirected away from the keyboard and to a file".
>
> that's why getch() is failing. it's reading from the wrong stream.
>
> if i'm on the right track, is there a way to reconnect stdin to the
> keyboard?
yes - using newterm. I did that in dialog, for instance.
--
T.E.Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net