Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!MITVMA.MIT.EDU!ABK24%DK0RRZK0.BITNET From: ABK24%DK0RRZK0.BITNET@MITVMA.MIT.EDU Newsgroups: gnu.emacs.bug Subject: Jobcontrol problem with 18.54 on HP 835 Message-ID: <8905091827.AA26409@AENEAS.MIT.EDU> Date: 9 May 89 18:32:10 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 35 X-Unparsable-Date: Tue, 9 May 89 17:24:11 mes Hi, we are running emacs 18.54 on our HP 9000/835 under HPUX 3.01. With 18.54 emacs should also work with c-shell jobcontrol. Unfortunately, things don't work right. Emacs doesn't change susp and dsusp chars, therefore or will bring you back to the starting shell, but there is no way to reenter a suspended emacs. The bug is in sysdep.c . For hp-ux HAVE_TERMIO is defined. If HAVE_TERMIO is set, the ioctl's (marked with #ifdef TIOCGLTC) to save, change and re- store susp and dsusp will never be executed. I moved the #ifdef TIOCGLTC 's outside the HAVE_TERMIO's , now it works fine. Here are the diffs for sysdep.c: diff -rc2N dist-18.54/src/sysdep.c /usr/local/gemacs/src/sysdep.c 848d847 < #ifndef HAVE_TERMIO 851a851 > #ifndef HAVE_TERMIO 877a878 > #endif /* not HAVE_TERMIO */ 881d881 < #endif /* not HAVE_TERMIO */ 1003d1002 < #ifndef HAVE_TERMIO 1006a1006 > #ifndef HAVE_TERMIO Greetings, Axel -- Axel Clauberg, Institut fuer Kernphysik der Universitaet zu Koeln Zuelpicher Str. 77, D-5000 KOELN 41, West-Germany BITNET: abk24@dk0rrzk0 Phone : +49 (221) 470 3617