emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs 24.2 vs 24.4 on Solaris: M-x shell and "tty => not a tty"


From: Georges Ko
Subject: Emacs 24.2 vs 24.4 on Solaris: M-x shell and "tty => not a tty"
Date: Mon, 11 May 2015 22:16:27 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) Hamster/2.0.0.1

Hello,

What were the changes done on Emacs 24.4 regarding subshells (or
processes), compared to version 24.2?

When compiled in the same environment, "tty" in a subshell
(M-x shell) has different outputs:

  - in Emacs 24.2, "tty" outputs the tty,
  - in Emacs 24.4, "tty" outputs "not a tty".

That is, if I run the command below to spawn a shell:

  (apply 'start-process "shell" "*shell*" "/bin/ksh" '("-i"))

  - in Emacs 24.2, "ps" shows the shell has a normal tty,
  - in Emacs 24.4, "ps" shows the shell has a tty with "?".

I couldn't compile 24.3 due to some errors, so I don't know its behavior.

Thanks!

Georges
-- 
 Georges Ko                     address@hidden                      2015-05-11




reply via email to

[Prev in Thread] Current Thread [Next in Thread]