Xref: utzoo comp.unix.wizards:14400 comp.unix.questions:11374 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!bbn.com!rsalz From: rsalz@bbn.com (Rich Salz) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Bad tty modes when calling emacs from curses and CTRL/Z hits Message-ID: <1431@papaya.bbn.com> Date: 29 Jan 89 16:41:42 GMT Followup-To: poster Distribution: usa Organization: BBN Laboratories Inc., Cambridge MA Lines: 10 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@uunet.uu.net.