sasdjb@dev.sas.com (David Biesack) (10/07/90)
I am running GNU Emacs 18.55.0 of Wed May 9 1990 on tempest (Domain/OS) on DOMAIN/IX BSD4.2 (SR9.7) on an Apollo 3500. When I do M-x shell or run a CMU shell, the csh (my default shell) comes up with the following: Warning: no access to tty; thus no job control in this shell... If I try to query the tty, I get: javelin:~/ % tty not a tty If I try C-c C-c (interrupt-shell-subjob) or C-c C-z (stop-shell-subjob), nothing happens: the shell and any subjob keep chugging along. Anyone know a way around this? I seem to remember using this on the Apollo with no problem before, but I can't remember when it stopped working. I would really like to use shell mode more often... I get this running % gnuemacs -q which means I am loading vanilla shell.elc, or if I load cmushell instead. (I would have posted this to gnu.emacs.bug, but I don't think this is a bug in GNU Emacs, it's probably local configuration problem.) djb -- David J. Biesack SAS Institute, Inc. Object Programming Technology SAS Campus Drive sasdjb@dev.sas.com Cary, NC 27513-2414 rti!sas!sasdjb (919) 677-8000 ext. 7771
hj412fr@duc220.uni-duisburg.de (Frik) (10/07/90)
You need pseudo-ttys. You get those with the command crpty. Martin Anantharaman FB7, FG7 (Mechanik) Work: +49 (203) 379-3336 Universitaet -GH- Duisburg Home: +49 (203) 37 65 89 Lotharstr. 1 FAX: +49 (203) 379-3052 4100 Duisburg 1 E-Mail: hj412fr@duc220.uni-duisburg.de West Germany
sasdjb@unx.sas.com (David Biesack) (10/08/90)
In article <1990Oct06.211049.22169@unx.sas.com> I write: > I am running GNU Emacs 18.55.0 of Wed May 9 1990 on tempest (Domain/OS) > on DOMAIN/IX BSD4.2 (SR9.7) on an Apollo 3500. When I do M-x shell > or run a CMU shell, the csh (my default shell) comes up with the following: > > Warning: no access to tty; thus no job control in this shell... > > If I try to query the tty, I get: > > javelin:~/ % tty > not a tty Thanks to suggestions by Alan Bishop (agb@cs.washington.edu) and Pajarre Eero (eero@lehtori.tut.fi), I rebuilt my pty's in /dev, and now Emacs shells respond to signals (shells were running via pipes, not tty's) If anyone else gets this problem, here's the solution: % cd /dev % ls pty* # shows how many pty's you have. I had 8, named pty0 to pty7) % /etc/crpty 8 # creates eight new pty's djb -- David J. Biesack SAS Institute, Inc. Object Programming Technology SAS Campus Drive sasdjb@dev.sas.com Cary, NC 27513-2414 rti!sas!sasdjb (919) 677-8000 ext. 7771