Path: utzoo!attcan!uunet!samsung!uakari.primate.wisc.edu!sdd.hp.com!decwrl!orc!inews!cmdnfs!bhoughto From: bhoughto@cmdnfs.intel.com (Blair P. Houghton) Newsgroups: comp.unix.shell Subject: Bad trap (Re: Questions about rewriting the History function.) Message-ID: <650@inews.intel.com> Date: 27 Oct 90 06:01:42 GMT References: <1990Oct19.170143.7674@polyof.poly.edu> <32120001@hpfcdc.HP.COM> Sender: news@inews.intel.com Organization: Intel Corp, Chandler, AZ Lines: 17 In article <32120001@hpfcdc.HP.COM> pbm@hpfcdc.HP.COM (Peter McLain) writes: > You can get asynch job notification in ksh88 by doing: > > trap "jobs -n" CHLD Which reminds me; why, in sh(1), does trap 'echo foo' 18 (where signal 18 is SIGTSTP) give a '18: bad trap' message? The manual page (Ultrix 3.1) says that SIGCONT, SIGSTOP, and SIGKILL are the only untrappable signals. Dang it! I _want_ to do some massaging on a ^Z! --Blair "Gadzooks! I _asked_ one... :-/"