Re: [Mac-emacs-users] different *shell* behavior between 21.1 and 21.2
Brought to you by:
akochoi
From: Andrew C. <ak...@sh...> - 2002-05-09 16:55:02
|
> I compiled 21.2 with both cc and gcc3 and I got the same results. > When I'm in a *shell* buffer, I can't run ssh because it complains > that stdin is not a tty (or was it pty?). In any case, 21.1 > (compiled with cc) works fine with ssh. I know there are some > issues with dropped characters (I haven't seen it myself), but this > appears to be different behavior rather than a bug. Any ideas? Hi Rodney, The change has to do with the use of ptys and pipes to communicate with subprocesses. Because people were not able to use ange-ftp with pipes, the current setting compiles with ptys (and pipe, which is always on) support but set process-connection-type to nil. This allows ange-ftp and tramp to work (since they set process-connection-type to t locally) and other packages that use IPC not to lose characters. It seems ssh also needs a pty to work so all you need to do is set process-connection-type to t before using it. There's documentation of this variable in the `Processes' section in the Emacs Lisp manual. Andrew. |