From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#20555: Emacs 24.2 vs 24.4 on Solaris: M-x shell and "tty => not a tty" Date: Mon, 11 May 2015 23:08:34 -0700 Organization: UCLA Computer Science Department Message-ID: <555198E2.30809@cs.ucla.edu> References: <86twvjjj2c.fsf@gko.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1431410966 26399 80.91.229.3 (12 May 2015 06:09:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 May 2015 06:09:26 +0000 (UTC) To: gko@gko.net, 20555@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 12 08:09:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Ys3NS-0007ej-9u for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 May 2015 08:09:14 +0200 Original-Received: from localhost ([::1]:40987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys3NR-0002D6-JF for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 May 2015 02:09:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys3NK-0002Cz-Fb for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 02:09:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ys3NH-0007Jb-AD for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 02:09:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys3NH-0007JR-6S for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 02:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ys3NG-0000G9-OX for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 02:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 May 2015 06:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20555 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Georges Ko , Emacs bug reports and feature requests Original-Received: via spool by submit@debbugs.gnu.org id=B.1431410938985 (code B ref -1); Tue, 12 May 2015 06:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 May 2015 06:08:58 +0000 Original-Received: from localhost ([127.0.0.1]:41451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ys3NB-0000Fo-2P for submit@debbugs.gnu.org; Tue, 12 May 2015 02:08:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33069) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ys3N9-0000FZ-1t for submit@debbugs.gnu.org; Tue, 12 May 2015 02:08:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ys3N2-0007G1-Li for submit@debbugs.gnu.org; Tue, 12 May 2015 02:08:49 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys3N2-0007Fx-IO for submit@debbugs.gnu.org; Tue, 12 May 2015 02:08:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys3N1-0002BG-Dc for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 02:08:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ys3My-0007DN-2e for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 02:08:47 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:58390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys3Mx-0007CK-Sw for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 02:08:44 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 06761A6000D; Mon, 11 May 2015 23:08:36 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mXhajxLxlkKT; Mon, 11 May 2015 23:08:35 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id EE6A1A6000C; Mon, 11 May 2015 23:08:34 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: <86twvjjj2c.fsf@gko.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102688 Archived-At: [moving this to bug-gnu-emacs, so that it gets a proper bug number] Georges Ko wrote: > What were the changes done on Emacs 24.4 regarding subshells (or > processes), compared to version 24.2? Quite a few, I suspect. You can use 'diff' to find out the details.... > 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 don't observe either problem when running Emacs 24.5 under Solaris 11 x86-64 compiled with the bundled GCC (4.5.2). However, I do observe them when running Emacs 24.5 under Solaris 10 sparc compiled with Sun C 5.13. > I couldn't compile 24.3 due to some errors, so I don't know its behavior. Emacs 24.3 is bundled within Solaris 11.2, for what it's worth. If you're still running into problems, I suggest replying with details of how you built Emacs (version of OS and compiler, 'configure' arguments, log from 'configure' and 'make', etc.). PS. This looks a bit like Bug#9150 , but that bug was in an older Emacs, which probably means it's independent.