all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Georges Ko <gko@gko.net>
To: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <86twvjjj2c.fsf@gko.net> (raw)

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                     gko@gko.net                      2015-05-11




             reply	other threads:[~2015-05-11 14:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-11 14:16 Georges Ko [this message]
2015-05-12  6:08 ` bug#20555: Emacs 24.2 vs 24.4 on Solaris: M-x shell and "tty => not a tty" Paul Eggert
2015-05-12  6:36   ` Glenn Morris
2015-05-13  7:12     ` Georges Ko
2015-06-01 16:53   ` 白井彰
2015-06-07 18:11     ` Glenn Morris
2015-06-02 16:45   ` 白井彰
2015-06-11 23:48   ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86twvjjj2c.fsf@gko.net \
    --to=gko@gko.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.