Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcvax!ukc!mupsy!mucs!miw From: miw@mucs.UX.CS.MAN.AC.UK (Mario Wolczko) Newsgroups: comp.windows.x Subject: signals being ignored by xterm Message-ID: <1256@mucs.UX.CS.MAN.AC.UK> Date: Thu, 3-Sep-87 07:40:26 EDT Article-I.D.: mucs.1256 Posted: Thu Sep 3 07:40:26 1987 Date-Received: Sun, 6-Sep-87 02:29:00 EDT Reply-To: miw@mucs.UUCP (Mario Wolczko) Organization: Computer Science, University of Manchester, UK Lines: 29 I've just finished installing X 10.4 on a SUN-3 system (SunOS3.2), and everything was fine, but: whenever I open an xterm window within uwm or menuwm, either from a menu or by something like "xterm &", the INT and QUIT signals are ignored within that window. More specifically, I can't stop anything with ^C or ^\. These still work OK within the login window, and ^Z works fine everywhere, so I can do something like ^Z-k-i-l-l- -% to kill things. After checking the setting of the terminal, and lots of other obsure things, the only thing I can conclude from looking at the code is that INT and QUIT are being set to SIG_IGN when I start either xterm or the window manager with an &, and nothing is re-enabling them. To prove this, I added two lines to both xterm and menuwm, namely signal(SIGINT, SIG_DFL); signal(SIGQUIT, SIG_DFL); just before each execs a program. This seems to cure the problem. Has anyone else encountered this? Surely everybody who uses X doesn't put up with this behaviour! Mario Wolczko ------------------------------------------------------------------------ Dept. of Computer Science ARPA: miw%ux.cs.man.ac.uk The University USENET: mcvax!ukc!man.cs.ux!miw Manchester M13 9PL JANET: miw@uk.ac.man.cs.ux U.K. +44-61-273 7121 x 5699 ------------------------------------------------------------------------