kala-tamin Emacs 23 on OS X - pseudo terminal will not be allocated because stdin is not a terminal


Emacs 23 on OS X - pseudo terminal will not be allocated because stdin is not a terminal



I installed Emacs 23 on OS X (the NS/Cocoa variant) and I got the following error when I tried to run ssh from a shell inside emacs.

"pseudo terminal will not be allocated because stdin is not a terminal".

Searching around the web tells me that it is because stdin is somehow a pipe instead of a real tty. I confirmed that by running stty.

Unfortunately, no one really seems to know how to fix it. There were suggestions to try and modify process-connection-type (some said set it to nil while others said t) but unfortunately, neither seems to work.

How do I fix this and get back usage of ssh (and I guess other tools like ftp, latex and anything that needs a tty) inside emacs's shell?

[update: I know of M-x term but that isn't a solution for me. I have confirmed that this works for me on Carbon Emacs 22.3 so this might be something specific about the NS post)




Mac OS replace ';' with new line on text file

1:



New Qt Directory is not valid
I figured this out.


creating setup for mac application
I had some piece of elisp in my .emacs which was setting process-connection-type to nil.


Qt4 QGraphicsScene mac ppc 10.4 rendering bug, rects hide later lines?
Though this was needed for Carbon Emacs, it doesn't seem to be needed for NS Emacs 23.


How to determine what URL a closed source piece of software is connecting to? (OSX)
Setting it to t fixes it.
Apple Automater URL selection,


Measuring bluetooth signal strength via AppleScript on Mac OS X


Where to find volume mount icon on Leopard

2:


are you using M-x shell or M-x term, term is a full blown terminal emulator that will allow you to run any console application you want..


3:


M-x ansi-term. Character to defy 15 char limit.

.



95 out of 100 based on 65 user ratings 965 reviews