craig@ncrcpx.UUCP (09/23/87)
I'm running GNU Emacs 18.47 on a SYSVR2 machine. I've installed the pty driver that was on the net into my os, and have put the HAVE_PTYS, and the FIRST_PTY_LETTER defines into my include file. I'm able to compile emacs just fine, however when I spawn off a shell (w/M-x shell) it doesn't use a pty. The same is true when I try and use the shell-command function. Maybe I'm mistaken, but I thought that the pty stuff was going to go out to /etc/utmp and create an entry and do all the wonderful switching that would make everybody think that they were talking to a real terminal. Could someone explain what should be happening, and potentially what I am doing wrong? I'd sure appreciate it! -- R. Craig Peterson "Next time someone asks you if you're a god ncrlnk!ncrcam!ncrcpx!craig say YES!!" N8INO Ghost Busters E Pluribus Unum (NSA stuff - terrorist, DES, cipher, secret, NRO, CIA)
sid@chinet.UUCP (Sid Grange) (09/27/87)
In article <1821585@ncrcpx.UUCP> craig@ncrcpx.UUCP (R. Craig Peterson) writes: > >I'm running GNU Emacs 18.47 on a SYSVR2 machine. I've installed the >pty driver that was on the net into my os, and have put the HAVE_PTYS, >and the FIRST_PTY_LETTER defines into my include file. > >I'm able to compile emacs just fine, however when I spawn off a shell >(w/M-x shell) it doesn't use a pty. The same is true when I try and >use the shell-command function. I had the very same problem with version 18.37 (yes, I should have the new version) on my 3b1 (running 3.51). I would run a shell and it would dogmatically use a pipe. I went back and checked things. I'd simply made a pretty dumb mistake (I switched from m-usg5-2.h to s-usg5-2-2.h and made my pty define in there. But I FORGOT to change config.h to reflect the intended change in include files. Needless to say, it compiled with the old include file. After I fixed config.h the pty's worked flawlessly. Are you sure you didn't make a dumb mistake like me? :-) What kind of machine are you running it on specifically? The lisp variable process-connection-type must be set to t if emacs is to use a pty. If it is nil a pipe will be used. Your emacs should default to t, I believe. -- Sid Grange sid@chinet ihnp4!chinet!sid
neves@ai.WISC.EDU (David M. Neves) (10/16/87)
In article <1821585@ncrcpx.UUCP> craig@ncrcpx.UUCP (R. Craig Peterson) writes: > >I'm running GNU Emacs 18.47 on a SYSVR2 machine. I've installed the >pty driver that was on the net into my os, and have put the HAVE_PTYS, >and the FIRST_PTY_LETTER defines into my include file. > >I'm able to compile emacs just fine, however when I spawn off a shell >(w/M-x shell) it doesn't use a pty. The same is true when I try and >use the shell-command function. I had this problem. I fixed it by giving write access (chmod +w) to the ptys on /dev. I don't know why it works but I stopped getting pipes after that. David Neves, Computer Sciences Department, University of Wisconsin-Madison Usenet: {rutgers,ucbvax,ihnp4}!uwvax!neves Arpanet: neves@cs.wisc.edu