From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Georges Ko Newsgroups: gmane.emacs.devel 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 Organization: gko.net Message-ID: <86twvjjj2c.fsf@gko.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1431407732 8683 80.91.229.3 (12 May 2015 05:15:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 May 2015 05:15:32 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 12 07:15:24 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ys2XM-0005di-1v for ged-emacs-devel@m.gmane.org; Tue, 12 May 2015 07:15:24 +0200 Original-Received: from localhost ([::1]:40841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys2XL-0006xW-CS for ged-emacs-devel@m.gmane.org; Tue, 12 May 2015 01:15:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys2X9-0006xR-D4 for emacs-devel@gnu.org; Tue, 12 May 2015 01:15:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ys2X5-00073A-An for emacs-devel@gnu.org; Tue, 12 May 2015 01:15:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:52277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys2X5-000704-4i for emacs-devel@gnu.org; Tue, 12 May 2015 01:15:07 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ys2X2-0005Wm-Gb for emacs-devel@gnu.org; Tue, 12 May 2015 07:15:04 +0200 Original-Received: from 114-32-172-194.hinet-ip.hinet.net ([114.32.172.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 May 2015 07:15:04 +0200 Original-Received: from gko by 114-32-172-194.hinet-ip.hinet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 May 2015 07:15:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114-32-172-194.hinet-ip.hinet.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) Hamster/2.0.0.1 Cancel-Lock: sha1:FvhQBoxf6XX2w11a2Sd6gf23rAc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186446 Archived-At: 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