bug-ncurses
[Top][All Lists]
Advanced

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

getch always returns -1 after shell


From: jon wackley
Subject: getch always returns -1 after shell
Date: Mon, 27 Jan 2003 20:13:34 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

Hi,

I have a problem with ncurses-5.3, I use the following pseudo-code;

  def_prog_mode();
  endwin();
  /* spawn some shell processing */
  refresh();

Everything seems fine until the next execution of getch(). getch always returns -1, (ERR). Is there something special I have to do to ensure the input state is consistent before and after spawning shell commands? Any suggestions where to look to track down this problem? The term is a "sun-cmd".

Thanks,
jonw






reply via email to

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