From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199606160133.SAA06345@koala.azstarnet.com> Date: Sat, 15 Jun 1996 18:33:52 -0700 From: David Mosberger-Tang Subject: Re: Programs that use curses. >>>>> On Sun, 16 Jun 1996 11:19:24 +1000 (EST), Matthew Geier said: Matthew> I seem to have a problem where programs that use curses do Matthew> not work properly with keyboard input. Matthew> I downloaded the ncftp-2.3 from the redhat incoming and Matthew> found it it didnt work. I can type commands and exit the Matthew> command line, but pressing return is ignored. This _sounds_ like the infamous termio vs. termios problem. I'm not very familiar with curses/ncurses, but if a program attempts to mix termio and termios structures, it is calling for trouble. Due to OSF/1 compatibility (which, in turn is compatible with some old version of SysV), the termio structure for Linux/Alph is not compatible with termios. The best solution is to use termios only, IMHO. So, I'd suggest to grep for "termio" and check whether the program might declare "struct termio" and then use termios calls (or vice versa). Also, it's wrong to include and then use "struct termios" (the defines for the V* macros are different). Hmmh, independent of curses, this is a FAQ, I guess... --david