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
New Qt Directory is not valid
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