Bad tty modes when calling emacs from curses and CTRL/Z hits

Rich Salz rsalz at bbn.com
Mon Jan 30 02:41:42 AEST 1989


I have a curses program that puts the TTY into cbreak mode, and I
sometimes do system("$EDITOR").  If the user does a CTRL/Z,
upon return the TTY modes are all screwed up.  My guess is that
curses and emacs are playing dueling ioctl's.  What should I
do?  This happens on Sun3.5 and Ultrix2.1.

Thanks; replies to me will get summarized.
	/rich $alz
-- 
Please send comp.sources.unix-related mail to rsalz at uunet.uu.net.



More information about the Comp.unix.wizards mailing list