[gnu.emacs.bug] Jobcontrol problem with 18.54 on HP 835

ABK24%DK0RRZK0.BITNET@MITVMA.MIT.EDU (05/10/89)

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 <ctrl/y> or <ctrl/z>
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