bug-ncurses
[Top][All Lists]
Advanced

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

Re: messed up input (possible ncurses crash?)


From: Thomas Dickey
Subject: Re: messed up input (possible ncurses crash?)
Date: Sun, 16 Sep 2012 20:46:43 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, Sep 13, 2012 at 07:27:39AM -0700, Ali MoghaddasZadeh wrote:
> Hi,
> 
> I used ncurses library in freebsd 8.2 to implement a customized CLI. Every 
> thing works fine most of the time, but sometimes I get this error:
> Suddenly anything I type doesn't show in terminal (all my input gets 
> invisible), even newlines are not showing.
> Does anyone know if this is because of ncurses crash or a possible bug in 
> ncurses library?

If your application crashes (not specifically the ncurses library), then
ncurses will not be able to restore the terminal settings, giving that
type of behavior.

To get your input back, you can type

        stty sane

and follow that with a control/J (newline).  Long ago I used to keep a shell 
alias
for that, to save typing :-)

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

Attachment: signature.asc
Description: Digital signature


reply via email to

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