From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 26 05:01:34 2014 Received: (at submit) by debbugs.gnu.org; 26 Nov 2014 10:01:34 +0000 Received: from localhost ([127.0.0.1]:45562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtZPd-0006T5-KI for submit@debbugs.gnu.org; Wed, 26 Nov 2014 05:01:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41150) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtZPX-0006St-Kt for submit@debbugs.gnu.org; Wed, 26 Nov 2014 05:01:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtZPO-0005BM-9Z for submit@debbugs.gnu.org; Wed, 26 Nov 2014 05:01:23 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtZPO-0005BI-6m for submit@debbugs.gnu.org; Wed, 26 Nov 2014 05:01:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtZPF-0003Bk-3y for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 05:01:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtZP5-00056s-9P for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 05:01:05 -0500 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:33853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtZP5-00056X-2K for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 05:00:55 -0500 Received: by mail-pa0-f46.google.com with SMTP id lj1so2558965pab.5 for ; Wed, 26 Nov 2014 02:00:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version; bh=tOYLDesubXUzQSG6HKv+wioDf4tWbjwveoXGMiBNh5k=; b=f0pmQj3VdYSK86p7kfZQ5I0iw1InHto6GG/soiSYEYx0+63L8hXwGLQFyrlKFfBgBx x/jw+GYMALiF/OoNE1j3AbDYiy3wr2lEokA4kTbT+sf7pY/5z0JzItT4euEAeyW5yXH/ 8q8fAL14kTwKf2OjGazx3ciWT0H7QA/+uI5Fzyi0Eo46wGizdckgkADTgRAypFFA1ar5 oMp15rin4ZHKfb8YLQ4Ih2WU4WsQa7LzPebniDEFL+idsKN9SYNtaRlJst/9X8JvYkk8 OdOZ6vKUn49y4Sm9gp190qbDIWUGvnGxJWt2SZPfNk3K6/t0Onnr5LSsyYzfLFxSbQ8F aX+w== X-Received: by 10.68.202.1 with SMTP id ke1mr51200401pbc.139.1416996053211; Wed, 26 Nov 2014 02:00:53 -0800 (PST) Received: from [172.20.10.10] (pw126255015154.9.panda-world.ne.jp. [126.255.15.154]) by mx.google.com with ESMTPSA id yp8sm3841518pab.48.2014.11.26.02.00.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Nov 2014 02:00:52 -0800 (PST) From: =?utf-8?B?55m95LqV5b2w?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 24.4; su command in *shell* buffer does not work Date: Wed, 26 Nov 2014 19:00:48 +0900 Message-Id: <09A01C7C-6199-4883-84AC-2445080B3FBE@gmail.com> To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) X-Mailer: Apple Mail (2.1990.1) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: Akira Shirai X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) su command in *shell* buffer does not work. su does not ask for the password and exits with "su: Sorry". /* *shell* buffer (24.4) */ Warning: no access to tty; thus no job control in this shell... yokohama% su su: Sorry yokohama% su in *shell* buffer works well on emacs-24.3. /* *shell* buffer (24.3) */ yokohama% su Password:=20 # exit yokohama%=20 In GNU Emacs 24.4.1 (i386-pc-solaris2.10, X toolkit, Xaw scroll bars) of 2014-10-23 on yokohama Windowing system distributor `Sun Microsystems, Inc.', version 11.0.6410 Configured using: `configure --prefix=3D/Users/shiraiakira/i386/emacs-24.4 --with-x = --x-includes=3D/usr/dt/include:/usr/openwin/include:/Users/shiraiakira/xpm= /i386/include:/Users/shiraiakira/i386/jpeg/include:/Users/shiraiakira/i386= /zlib/include:/Users/shiraiakira/i386/libpng/include:/Users/shiraiakira/i3= 86/libungif/include:/Users/shiraiakira/i386/tiff/libtiff = --x-libraries=3D/usr/dt/lib:/usr/openwin/lib:/Users/shiraiakira/xpm/i386/l= ib:/Users/shiraiakira/i386/jpeg/lib:/Users/shiraiakira/i386/zlib/lib:/User= s/shiraiakira/i386/libpng/lib:/Users/shiraiakira/i386/libungif/lib:/Users/= shiraiakira/i386/tiff/libtiff --without-compress-install' Important settings: value of $LANG: C locale-coding-system: nil Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x s h e l l s u M-x r e p o r t=20 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils shell pcomplete comint ansi-color ring time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dynamic-setting x-toolkit x multi-tty emacs) Memory information: ((conses 8 77649 4073) (symbols 24 17821 0) (miscs 20 43 185) (strings 16 13260 3813) (string-bytes 1 362635) (vectors 8 9635) (vector-slots 4 388469 2228) (floats 8 61 197) (intervals 28 976 1434) (buffers 512 12)) From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 26 06:13:59 2014 Received: (at 19191) by debbugs.gnu.org; 26 Nov 2014 11:13:59 +0000 Received: from localhost ([127.0.0.1]:45621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtaXm-0008J2-TI for submit@debbugs.gnu.org; Wed, 26 Nov 2014 06:13:59 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:59648) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtaXk-0008Iq-Ng for 19191@debbugs.gnu.org; Wed, 26 Nov 2014 06:13:57 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3jnfcM5yR0z3hjxB; Wed, 26 Nov 2014 12:13:55 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3jnfcM4YfnzvdWF; Wed, 26 Nov 2014 12:13:55 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id hLpjB_7Mlznd; Wed, 26 Nov 2014 12:13:53 +0100 (CET) X-Auth-Info: IqWh48uuL9vQJkhbLV08biBv+aQ+eS3gfrjDSqpm0zgXg8Edzuh2tH/xMo/TcEvo Received: from igel.home (ppp-188-174-154-43.dynamic.mnet-online.de [188.174.154.43]) by mail.mnet-online.de (Postfix) with ESMTPA; Wed, 26 Nov 2014 12:13:53 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id D79F02C37EE; Wed, 26 Nov 2014 12:13:52 +0100 (CET) From: Andreas Schwab To: =?utf-8?B?55m95LqV5b2w?= Subject: Re: bug#19191: 24.4; su command in *shell* buffer does not work References: <09A01C7C-6199-4883-84AC-2445080B3FBE@gmail.com> X-Yow: Clear the laundromat!! This whirl-o-matic just had a nuclear meltdown!! Date: Wed, 26 Nov 2014 12:13:52 +0100 In-Reply-To: <09A01C7C-6199-4883-84AC-2445080B3FBE@gmail.com> (=?utf-8?B?IueZveS6leW9sCIncw==?= message of "Wed, 26 Nov 2014 19:00:48 +0900") Message-ID: <87wq6ip633.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19191 Cc: 19191@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 白井彰 writes: > /* *shell* buffer (24.4) */ > Warning: no access to tty; thus no job control in this shell... This is likely your problem. What do you get if you execute this command in this shell: ls -l $(tty) Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 27 11:33:17 2014 Received: (at 19191) by debbugs.gnu.org; 27 Nov 2014 16:33:18 +0000 Received: from localhost ([127.0.0.1]:47780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xu20L-0004Dw-Bl for submit@debbugs.gnu.org; Thu, 27 Nov 2014 11:33:17 -0500 Received: from mail-pa0-f53.google.com ([209.85.220.53]:58162) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xu20I-0004Dn-MF for 19191@debbugs.gnu.org; Thu, 27 Nov 2014 11:33:15 -0500 Received: by mail-pa0-f53.google.com with SMTP id kq14so5163176pab.26 for <19191@debbugs.gnu.org>; Thu, 27 Nov 2014 08:33:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=YlyHP+m9MUM36z9/GqjrgOOaKsVYZ0MmcEvK3aOQl1E=; b=UXRnRZDFsSYzZBrSGCi8oOs3mFSO5yLa3e/avTFZQMLReop5DlRyUeizf4bIbGJby7 yyvNZnPL5mCXm+DqhJ+cZNcOknxECEZGFcyXWNT/6Qn3ryJcoLEu4/0rwjHS2WYeBlB/ 6ZP6LvMxjsZcGuELB307cNmZ1KPWKARIS6BYIKdGfY8J8ajNjNq8HUwuBsnvyCb8/lPV xSXh0+Bmv3re9KeHN3Ynfm9C8Dd7crvL+d+/+CT+KyHLd4vmR1Mk4+kXjakkovLJ4WL4 uN/s5u/ZrFA53g2UCw/u2txEBZYLv3/IQqVMw+PasJzb8saQSo0v5n/DZMDGa2aA3vp4 QHjw== X-Received: by 10.70.33.106 with SMTP id q10mr14233434pdi.120.1417105993980; Thu, 27 Nov 2014 08:33:13 -0800 (PST) Received: from [172.20.10.10] (pw126255015154.9.panda-world.ne.jp. [126.255.15.154]) by mx.google.com with ESMTPSA id ra4sm7601471pab.33.2014.11.27.08.33.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Nov 2014 08:33:13 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: bug#19191: 24.4; su command in *shell* buffer does not work From: =?utf-8?B?55m95LqV5b2w?= In-Reply-To: <87wq6ip633.fsf@igel.home> Date: Fri, 28 Nov 2014 01:33:08 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: References: <09A01C7C-6199-4883-84AC-2445080B3FBE@gmail.com> <87wq6ip633.fsf@igel.home> To: Andreas Schwab X-Mailer: Apple Mail (2.1990.1) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19191 Cc: Akira Shirai , 19191@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) echo $(tty) says: not a tty /* 24.4 */ /dev/pts/15 /* 24.3 */ /* 24.4 */ oomiya% telnet yokohama yokohama% setenv DISPLAY oomiya:0.0 yokohama% i386/emacs-24.4/bin/emacs & M-x shell /* *shell* buffer (24.4) */ yokohama% ls -l $(tty) not: No such file or directory a: No such file or directory tty: No such file or directory yokohama% echo $(tty) not a tty yokohama% who am i Must be attached to terminal for 'am I' option yokohama% w 9:26am up 115 day(s), 32 min(s), 8 users, load average: 3.02, 3.04, = 3.06 User tty login@ idle JCPU PCPU what shirai pts/17 9:13am 13 38 38 w yokohama% ps -ef | grep emacs shirai 3308 3285 0 09:14:19 pts/17 0:39 = i386/emacs-24.4/bin/emacs shirai 3178 1 0 09:11:12 ? 0:15 = i386/emacs-24.3/src/emacs shirai 3670 3410 0 09:27:19 ? 0:00 grep emacs yokohama% ptree 3308 360 /usr/lib/inet/inetd start 3259 /usr/sbin/in.telnetd 3262 -csh 3285 csh 3308 i386/emacs-24.4/bin/emacs 3410 /bin/zsh -i 3672 ptree 3308 yokohama% ps -efl | sort | nawk '{if ($4 ~ = /360|3259|3262|3285|3308|3410|3672/) {print $0}}' 0 S root 360 1 0 40 20 ? 2183 ? Aug 04 ? = 0:49 /usr/lib/inet/inetd start 0 S root 3259 360 0 40 20 ? 936 ? 09:13:52 ? = 0:00 /usr/sbin/in.telnetd 0 S shirai 3262 3259 0 40 20 ? 1140 ? 09:13:52 = pts/17 0:00 -csh 0 S shirai 3285 3262 0 40 20 ? 597 ? 09:14:05 = pts/17 0:00 csh 0 O shirai 3308 3285 0 40 20 ? 18970 09:14:19 = pts/17 0:39 i386/emacs-24.4/bin/emacs 0 S shirai 3410 3308 0 70 20 ? 927 ? 09:17:45 ? = 0:00 /bin/zsh -i yokohama% tail -1 /var/adm/messages Nov 27 11:59:20 yokohama su: [ID 810491 auth.crit] 'su root' failed for = shirai on /dev/??? /* 24.3 */ oomiya% telnet yokohama yokohama% setenv DISPLAY oomiya:0.0 yokohama% i386/emacs-24.3/src/emacs & M-x shell /* *shell* buffer (24.3) */ yokohama% ls -l $(tty) lrwxrwxrwx 1 root root 29 Jul 26 2012 /dev/pts/15 -> = ../../devices/pseudo/pts@0:15 yokohama% echo $(tty) /dev/pts/15 yokohama% who am i shirai /dev/pts/15 Nov 27 09:29 yokohama% w 9:29am up 115 day(s), 35 min(s), 8 users, load average: 3.02, 3.03, = 3.05 User tty login@ idle JCPU PCPU what shirai pts/9 Tue 6pm 31:30 49:47 csh yokohama% ps -ef | grep emacs shirai 3308 3285 0 09:14:19 pts/17 0:39 = i386/emacs-24.4/bin/emacs shirai 3178 1 0 09:11:12 ? 0:15 = i386/emacs-24.3/src/emacs shirai 3727 3198 0 09:30:12 pts/15 0:00 grep emacs yokohama% ptree 3178 3178 i386/emacs-24.3/src/emacs 3198 /bin/zsh -i 3740 ptree 3178 yokohama% ps -efl | sort | nawk '{if ($4 ~ /3178|3198|3740/) {print = $0}}' 0 O shirai 3178 1 0 40 20 ? 19270 09:11:12 ? = 0:15 i386/emacs-24.3/src/emacs 0 S shirai 3198 3178 0 70 20 ? 927 ? 09:11:35 = pts/15 0:00 /bin/zsh -i From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 27 12:14:41 2014 Received: (at 19191) by debbugs.gnu.org; 27 Nov 2014 17:14:41 +0000 Received: from localhost ([127.0.0.1]:47808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xu2eO-0006el-LN for submit@debbugs.gnu.org; Thu, 27 Nov 2014 12:14:40 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:59388) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xu2eM-0006ed-CO for 19191@debbugs.gnu.org; Thu, 27 Nov 2014 12:14:39 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3jpQZ52xKSz3hmfs; Thu, 27 Nov 2014 18:14:37 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3jpQZ50hrmzvkFs; Thu, 27 Nov 2014 18:14:37 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 36wRuw-E5HwK; Thu, 27 Nov 2014 18:14:36 +0100 (CET) X-Auth-Info: mVj8hb1n/SJGuY135I7UTa7tnMVwhOm5CMlaUP8vEgTBvcdy8w+9Npot3zjLNKtw Received: from igel.home (ppp-188-174-148-81.dynamic.mnet-online.de [188.174.148.81]) by mail.mnet-online.de (Postfix) with ESMTPA; Thu, 27 Nov 2014 18:14:36 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 32C982C44C7; Thu, 27 Nov 2014 18:14:36 +0100 (CET) From: Andreas Schwab To: =?utf-8?B?55m95LqV5b2w?= Subject: Re: bug#19191: 24.4; su command in *shell* buffer does not work References: <09A01C7C-6199-4883-84AC-2445080B3FBE@gmail.com> <87wq6ip633.fsf@igel.home> X-Yow: I'm working under the direct orders of WAYNE NEWTON to deport consenting adults! Date: Thu, 27 Nov 2014 18:14:36 +0100 In-Reply-To: (=?utf-8?B?IueZveS6leW9sCIncw==?= message of "Fri, 28 Nov 2014 01:33:08 +0900") Message-ID: <871toova4j.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19191 Cc: 19191@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 白井彰 writes: > echo $(tty) says: > > not a tty /* 24.4 */ That's your problem. What is the value of the process-connection-type variable? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 28 04:25:09 2014 Received: (at 19191) by debbugs.gnu.org; 28 Nov 2014 09:25:09 +0000 Received: from localhost ([127.0.0.1]:48102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XuHnZ-0002sM-GA for submit@debbugs.gnu.org; Fri, 28 Nov 2014 04:25:09 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:45146) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XuHnX-0002sF-W1 for 19191@debbugs.gnu.org; Fri, 28 Nov 2014 04:25:08 -0500 Received: by mail-pa0-f52.google.com with SMTP id eu11so6447473pac.25 for <19191@debbugs.gnu.org>; Fri, 28 Nov 2014 01:25:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=JgDi7nRgchI3Wb4CloUAGkKS1Ye13QxvoMXVrp+ncBs=; b=VhPDYbVrpp3qSJOGHm6EKaSvy4H/GoDWQa2E6xLAkR/zTuhUHQ6EMEUrW0oQdat99J SeYeTf4ieY/CQcRwyDn42rbORc6xyP43cHbkfm2yDsQUsx3v+1nApEKMN0lHJVyHCcJg YTpxAVc0fM7CB+7WGToEw72W8/rn8S/c4N6TmlhG1JRZ1hURre/BYATdaf53uYVBu5wY rK6Y9grSt/5kLP3e0Bux1Qtm4Zswx0IYqueiHkpxBgSIX0nDp+qcWlCQx2jRWydTgVkO 6eoUnO87Jw1MHD70TIFvDQDBgONxH6/jFwZZ5YiqPKpTCYEO5pIy/0KBKI//YtPFo+rK 1bKA== X-Received: by 10.70.123.169 with SMTP id mb9mr71589533pdb.62.1417166707051; Fri, 28 Nov 2014 01:25:07 -0800 (PST) Received: from [172.20.10.11] (pw126255015154.9.panda-world.ne.jp. [126.255.15.154]) by mx.google.com with ESMTPSA id m5sm9362009pdi.24.2014.11.28.01.25.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Nov 2014 01:25:06 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: bug#19191: 24.4; su command in *shell* buffer does not work From: =?utf-8?B?55m95LqV5b2w?= In-Reply-To: <871toova4j.fsf@igel.home> Date: Fri, 28 Nov 2014 18:25:00 +0900 Content-Transfer-Encoding: 7bit Message-Id: References: <09A01C7C-6199-4883-84AC-2445080B3FBE@gmail.com> <87wq6ip633.fsf@igel.home> <871toova4j.fsf@igel.home> To: Andreas Schwab X-Mailer: Apple Mail (2.1990.1) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19191 Cc: Akira Shirai , 19191@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Its value is t From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 06 06:16:01 2014 Received: (at 19191) by debbugs.gnu.org; 6 Dec 2014 11:16:01 +0000 Received: from localhost ([127.0.0.1]:55211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XxDLF-0003TN-4w for submit@debbugs.gnu.org; Sat, 06 Dec 2014 06:16:01 -0500 Received: from mail-pd0-f178.google.com ([209.85.192.178]:45662) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XxDLD-0003TF-0v for 19191@debbugs.gnu.org; Sat, 06 Dec 2014 06:15:59 -0500 Received: by mail-pd0-f178.google.com with SMTP id g10so2262130pdj.23 for <19191@debbugs.gnu.org>; Sat, 06 Dec 2014 03:15:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version; bh=DMTnLDMTcMf0IO7x4+5Sn8ZCxabZVvzKsWxLTBnBo3k=; b=iBRXYvywvRVZWzWiykSQRqJVm54rrcYUmpK5lX998l2prvs9iBwqeb+fUZ55rWrPD3 dAIizAkr43aPAVN2QJzMuX17c3uOEW8zugFXBFmZke1MSOFMEOmc9nXL7p6L0wEfiX+q dCNN00yC2t2eYPrAaWkUJ8l+8w0ihfAVCfjmwqU/pZmZAcvCOfT1VRVa4udLNq20QKVM +E2kuwrb+Muwb0mPBhCGGokoswxaPhr+tmqzwsKdOI3gjPNjZ3hVQ/iVVrpG1+hETjN9 QaELFkrirLZt/wqPipWuUF/U+yG05nSbsCIG5ZD3CWkn89MkiuEDZuf5Oke49HvZqW0L kcjg== X-Received: by 10.66.171.37 with SMTP id ar5mr36839453pac.69.1417864558308; Sat, 06 Dec 2014 03:15:58 -0800 (PST) Received: from [172.20.10.11] (pw126255225224.9.panda-world.ne.jp. [126.255.225.224]) by mx.google.com with ESMTPSA id pl7sm31664201pac.11.2014.12.06.03.15.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 06 Dec 2014 03:15:57 -0800 (PST) From: =?utf-8?B?55m95LqV5b2w?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: bug#19191: 24.4; su command in *shell* buffer does not work Date: Sat, 6 Dec 2014 20:15:50 +0900 Message-Id: To: Andreas Schwab Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) X-Mailer: Apple Mail (2.1993) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19191 Cc: Akira Shirai , 19191@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) "su: Sorry" occurs on my Solaris 10 and Solaris 8 machine even when emacs -Q and zsh without .zshenv, .zprofile, .zshrc, .zlogin, and .zlogout, csh without .cshrc and .login. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 24 13:00:54 2015 Received: (at control) by debbugs.gnu.org; 24 Feb 2015 18:00:54 +0000 Received: from localhost ([127.0.0.1]:56970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YQJmw-0006mg-2W for submit@debbugs.gnu.org; Tue, 24 Feb 2015 13:00:54 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:34158 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YQJmt-0006mX-W7 for control@debbugs.gnu.org; Tue, 24 Feb 2015 13:00:52 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YQJmt-0004LE-P8 for control@debbugs.gnu.org; Tue, 24 Feb 2015 13:00:51 -0500 Date: Tue, 24 Feb 2015 13:00:51 -0500 Message-Id: Subject: control message for bug 19927 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) merge 19191 19927 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 16 12:36:14 2015 Received: (at 19191) by debbugs.gnu.org; 16 Mar 2015 16:36:14 +0000 Received: from localhost ([127.0.0.1]:48784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YXXzy-0001GU-68 for submit@debbugs.gnu.org; Mon, 16 Mar 2015 12:36:14 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:36457) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YXXzw-0001GL-Iq for 19191@debbugs.gnu.org; Mon, 16 Mar 2015 12:36:12 -0400 Received: by pdbcz9 with SMTP id cz9so62727136pdb.3 for <19191@debbugs.gnu.org>; Mon, 16 Mar 2015 09:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version; bh=mYlybdqCPDLmKGFcZBPs1dmSFjnf4vjANqSlTr5Wa6k=; b=WflkdXmhDDsS8H1YRfL2TI32nxtoVxx5ZWwpfzsJ19lH57kTrpBci6i/WRmHdoGj2/ C58AC2BiDpEKa1Zl69VGUuNMK7NL6SHbeZyvQFpxwc96qSABFRK8/Qyuhjv3oQL2+bP9 AFnTQJarJlFiWEf4xoqUV+o+zAMnLa6QAKVEQ0aJsaIr3bG67l9UkjjO4fjw32KpX1jh JcqUleYhEDOCXa7/K5IpZbYGz0C1z0ipBmcbQ7Aa+U8zKn1d0S9Ef/DiayW/vfb9hBM1 stG4PGXFk3w/AiejWJTlxghz8VeU+UtmUDFQC6lCD2FlSgvo+rQiEnlFtx+ZvyPK4eim 6/WA== X-Received: by 10.70.91.5 with SMTP id ca5mr51646107pdb.99.1426523771731; Mon, 16 Mar 2015 09:36:11 -0700 (PDT) Received: from [172.20.10.11] (pw126255076008.9.panda-world.ne.jp. [126.255.76.8]) by mx.google.com with ESMTPSA id b12sm18101555pdl.62.2015.03.16.09.36.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Mar 2015 09:36:10 -0700 (PDT) From: =?utf-8?B?55m95LqV5b2w?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: bug#19191: 24.4; su command in *shell* buffer does not work Date: Tue, 17 Mar 2015 01:36:07 +0900 Message-Id: <213CA70E-8FF9-451F-8B48-D6F2A176428F@gmail.com> To: 19191@debbugs.gnu.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19191 Cc: Akira Shirai X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) "su: Sorry" also occurs on Emacs 24.4.91. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 13:09:07 2015 Received: (at 19191) by debbugs.gnu.org; 30 Mar 2015 17:09:07 +0000 Received: from localhost ([127.0.0.1]:40646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcdBT-0005Uo-3k for submit@debbugs.gnu.org; Mon, 30 Mar 2015 13:09:07 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:35177) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcdBQ-0005U8-HL for 19191@debbugs.gnu.org; Mon, 30 Mar 2015 13:09:04 -0400 Received: by patj18 with SMTP id j18so16709922pat.2 for <19191@debbugs.gnu.org>; Mon, 30 Mar 2015 10:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version; bh=5N/lGseXRgfFFYhDqW9WN3tHdML3iudYrHGWUnugWd8=; b=OOq7tlnT97k1Z0VBOYFLXsZHNJwW9/0KYttO4ys1TE1IL0MNRyO1QzSKprTtrGEGZX R1iIA0fda/AbiVHDquyOcRezx0Q/pgYkFmkXvPnm9Y5rcwoskRmxVSggDzzNMpNepZOK /8A6L32C3DhWbsPUMGG21pMIxcMIT73Rm71zOCAB8dMTh8pQsmyH3NjFCtxYf58Iu8w8 daR4SaiH+3aRiCAzELXWZ9GZ9JwHEb/nu1Y9WI/60ch73PJrHecvZBSWlKQgoSkju2yV 3ewq02sHOwRvAERMF5tLKd+c9MEam98Qd9R1KNYCfv7bvAY2NMI/pekfr0HWfqBA+hPf XAbA== X-Received: by 10.68.246.38 with SMTP id xt6mr59880396pbc.20.1427735338609; Mon, 30 Mar 2015 10:08:58 -0700 (PDT) Received: from [172.20.10.11] (pw126254008089.8.panda-world.ne.jp. [126.254.8.89]) by mx.google.com with ESMTPSA id q3sm8599018pdi.74.2015.03.30.10.08.55 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Mar 2015 10:08:57 -0700 (PDT) From: =?utf-8?B?55m95LqV5b2w?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: bug#19191: 24.4; su command in *shell* buffer does not work Date: Tue, 31 Mar 2015 02:08:51 +0900 Message-Id: <019535E2-98FE-4BD1-891A-1A1DB287AEB6@gmail.com> To: 19191@debbugs.gnu.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19191 Cc: Akira Shirai X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) "su: Sorry" also occurs on emacs-24.5-rc1. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 13:22:48 2015 Received: (at 19191) by debbugs.gnu.org; 30 Mar 2015 17:22:48 +0000 Received: from localhost ([127.0.0.1]:40682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcdOh-0005pv-WE for submit@debbugs.gnu.org; Mon, 30 Mar 2015 13:22:48 -0400 Received: from mtaout25.012.net.il ([80.179.55.181]:54793) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YcdOe-0005ph-Uz for 19191@debbugs.gnu.org; Mon, 30 Mar 2015 13:22:46 -0400 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NM100600BPT9E00@mtaout25.012.net.il> for 19191@debbugs.gnu.org; Mon, 30 Mar 2015 20:17:50 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NM100P5VC1Q2070@mtaout25.012.net.il>; Mon, 30 Mar 2015 20:17:50 +0300 (IDT) Date: Mon, 30 Mar 2015 20:22:24 +0300 From: Eli Zaretskii Subject: Re: bug#19191: 24.4; su command in *shell* buffer does not work In-reply-to: <019535E2-98FE-4BD1-891A-1A1DB287AEB6@gmail.com> X-012-Sender: halo1@inter.net.il To: =?utf-8?B?55m95LqV5b2w?= Message-id: <83wq1yxuwf.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <09A01C7C-6199-4883-84AC-2445080B3FBE@gmail.com> <019535E2-98FE-4BD1-891A-1A1DB287AEB6@gmail.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19191 Cc: 19191@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: 白井彰 > Date: Tue, 31 Mar 2015 02:08:51 +0900 > Cc: Akira Shirai > > "su: Sorry" also occurs on emacs-24.5-rc1. You need to find out why the shell's TTY is not a PTY device on your system. As Andreas pointed out, this is the reason for the problem. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 01 07:54:26 2015 Received: (at 19191) by debbugs.gnu.org; 1 Apr 2015 11:54:26 +0000 Received: from localhost ([127.0.0.1]:42147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdHE1-0006Nc-Vw for submit@debbugs.gnu.org; Wed, 01 Apr 2015 07:54:26 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:36308) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdHDz-0006NM-B6 for 19191@debbugs.gnu.org; Wed, 01 Apr 2015 07:54:24 -0400 Received: by pdea3 with SMTP id a3so1424788pde.3 for <19191@debbugs.gnu.org>; Wed, 01 Apr 2015 04:54:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=By6ANXRylFH6JXbwbC+61p5LUcu9ef8NdgR6Q7iWWxQ=; b=vY4OJq4G2AmKHqdML9nxg9CsaJttfMYHaN3WPKquBfVDbExPAo1yTwi02/l5mRPtaL zGX9pw9npnUp8t445/s+78pSzLbZEy9CytqrxeihrfUsXvlQ5OAPkFHIBOdy+Jm+P9Cm 7ZLVlqrZis08jF88R08ENfG2P9QsqSk3aMTagziSBQGm5ImCBlqNUxlvG9qx00iQtxSV NyF5LWeF+OBTL07Axn9JYEu7KNtsrIvfV6B84USPUiljDwsQ4ZO8bEa43P65l6yzzkqm 5Lzkq0OKZ4XT/6A1Tzoye3YhZex/ZZMHCoWDjiZrDvA2hOqZKogikFTFO5KMjzLixhtg HAAw== X-Received: by 10.70.45.227 with SMTP id q3mr19812864pdm.22.1427889257006; Wed, 01 Apr 2015 04:54:17 -0700 (PDT) Received: from [172.20.10.11] (pw126253007049.6.panda-world.ne.jp. [126.253.7.49]) by mx.google.com with ESMTPSA id li10sm1927385pbc.33.2015.04.01.04.54.13 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 01 Apr 2015 04:54:15 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: bug#19191: 24.4; su command in *shell* buffer does not work From: =?utf-8?B?55m95LqV5b2w?= In-Reply-To: <83wq1yxuwf.fsf@gnu.org> Date: Wed, 1 Apr 2015 20:54:09 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: References: <09A01C7C-6199-4883-84AC-2445080B3FBE@gmail.com> <019535E2-98FE-4BD1-891A-1A1DB287AEB6@gmail.com> <83wq1yxuwf.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19191 Cc: Akira Shirai , 19191@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Today I tried to find out why the shell's TTY is not a PTY device on my system. I tried the following: 1. Remove my .cshrc and .login. 2. Logout and login, and launch a terminal emulator (dtterm) on X Window System in my Solaris 10 system (i386-pc-solaris2.10). 3. On the terminal emulator, I type the following: set path =3D (/usr/bin . /usr/ccs/bin) gzcat emacs-24.3.tar.gz | tar xfp - (cd emacs-24.3; ./configure --with-jpeg=3Dno --with-gif=3Dno; make) (cd emacs-24.3/src; ./emacs -Q) M-x shell % su Password: ******** # =3D> su command in *shell* buffer works well. C-x C-c 4. Then I type the following on the same terminal emulator: gzcat emacs-24.4.tar.gz | tar xfp - (cd emacs-24.4; ./configure --with-jpeg=3Dno --with-gif=3Dno; make) (cd emacs-24.4/src; ./emacs -Q) M-x shell Warning: no access to tty; thus no job control in this shell... % su su: Sorry % =3D> su command in *shell* buffer does not work. su does not ask for the password and exits with "su: Sorry". I would like to know how I can proceed. Thanks. > 2015/03/31 2:22=E3=80=81Eli Zaretskii =E3=81=AE=E3=83=A1=E3= =83=BC=E3=83=AB=EF=BC=9A >=20 >> From: =E7=99=BD=E4=BA=95=E5=BD=B0 >> Date: Tue, 31 Mar 2015 02:08:51 +0900 >> Cc: Akira Shirai >>=20 >> "su: Sorry" also occurs on emacs-24.5-rc1. >=20 > You need to find out why the shell's TTY is not a PTY device on your > system. As Andreas pointed out, this is the reason for the problem. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 01 09:51:24 2015 Received: (at 19191) by debbugs.gnu.org; 1 Apr 2015 13:51:24 +0000 Received: from localhost ([127.0.0.1]:42176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdJ3D-0000oO-Ks for submit@debbugs.gnu.org; Wed, 01 Apr 2015 09:51:24 -0400 Received: from b2bfep13.mx.upcmail.net ([62.179.121.58]:34196) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdJ3B-0000oA-Dr for 19191@debbugs.gnu.org; Wed, 01 Apr 2015 09:51:22 -0400 Received: from edge11.upcmail.net ([192.168.13.81]) by b2bfep13.mx.upcmail.net (InterMail vM.8.01.05.11 201-2260-151-128-20120928) with ESMTP id <20150401135114.OOUR20529.b2bfep13-int.chello.at@edge11.upcmail.net> for <19191@debbugs.gnu.org>; Wed, 1 Apr 2015 15:51:14 +0200 Received: from iznogoud.viz ([85.127.9.39]) by edge11.upcmail.net with edge id AdrE1q00X0qY6450BdrEEq; Wed, 01 Apr 2015 15:51:14 +0200 X-SourceIP: 85.127.9.39 Received: from wolfgang by iznogoud.viz with local (Exim 4.85 (FreeBSD)) (envelope-from ) id 1YdJ33-0000UB-VV; Wed, 01 Apr 2015 15:51:14 +0200 From: Wolfgang Jenkner To: =?utf-8?B?55m95LqV5b2w?= Subject: Re: bug#19191: 24.4; su command in *shell* buffer does not work Date: Wed, 01 Apr 2015 15:49:59 +0200 References: <09A01C7C-6199-4883-84AC-2445080B3FBE@gmail.com> <019535E2-98FE-4BD1-891A-1A1DB287AEB6@gmail.com> <83wq1yxuwf.fsf@gnu.org> Message-ID: <85k2xw7y9a.fsf@iznogoud.viz> User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19191 Cc: Eli Zaretskii , 19191@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Wed, Apr 01 2015, =E7=99=BD=E4=BA=95=E5=BD=B0 wrote: > (cd emacs-24.3; ./configure --with-jpeg=3Dno --with-gif=3Dno; make) [...] > (cd emacs-24.4; ./configure --with-jpeg=3Dno --with-gif=3Dno; make) Perhaps the output of the following two commands shows significant differences? grep '#.*PTY' emacs-24.3/src/config.h grep '#.*PTY' emacs-24.4/src/config.h From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 12:57:17 2015 Received: (at 19191) by debbugs.gnu.org; 2 Apr 2015 16:57:17 +0000 Received: from localhost ([127.0.0.1]:43460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdiQe-0001W1-8J for submit@debbugs.gnu.org; Thu, 02 Apr 2015 12:57:17 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:33414) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YdiQa-0001Vm-Ve for 19191@debbugs.gnu.org; Thu, 02 Apr 2015 12:57:14 -0400 Received: by pdbnk13 with SMTP id nk13so14755613pdb.0 for <19191@debbugs.gnu.org>; Thu, 02 Apr 2015 09:57:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=4EUwoumwbyDCPLrbjP47Q601ABv04XjCfNqeMXDjXTs=; b=yPeZIejZjv64eg0RxGK+USP7h0UJxdrFLpHjkSyI5glOvANZQWot1U/W+ZcB0mUr6S cMmwwhRa/eKbZhO6TpKbHXrxguHlNBcra7FcOGGUANr5L7ZonPYGvKlrO5iAKQPnUpo2 LAKRRhkxzVWdCKx0+kSR9Sx6dnmLx3J39giOgvr26sv/SkiM/T+X0Hm5zQQ/DM41OtJx 6QLnSTanMJkltt4A+fAxV4xEkDgRAT6uA3HmNmWRY3hx1KjDuMH7p2o2nZ4csMjluVeK 7Pasd028jjkyyVGLcAEFWZAF8I2vxQNtsx173r4lHxTkj5vRk+ctzkD25epDjKw5IAXB B4Jg== X-Received: by 10.68.94.197 with SMTP id de5mr88800010pbb.57.1427993826946; Thu, 02 Apr 2015 09:57:06 -0700 (PDT) Received: from [172.20.10.11] (pw126254214105.8.panda-world.ne.jp. [126.254.214.105]) by mx.google.com with ESMTPSA id ed5sm5732602pbd.19.2015.04.02.09.57.03 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 Apr 2015 09:57:05 -0700 (PDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_74B91DB6-E938-4382-A153-61ECAB95B270" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: bug#19191: 24.4; su command in *shell* buffer does not work From: =?utf-8?B?55m95LqV5b2w?= In-Reply-To: <85k2xw7y9a.fsf@iznogoud.viz> Date: Fri, 3 Apr 2015 01:56:57 +0900 Message-Id: References: <09A01C7C-6199-4883-84AC-2445080B3FBE@gmail.com> <019535E2-98FE-4BD1-891A-1A1DB287AEB6@gmail.com> <83wq1yxuwf.fsf@gnu.org> <85k2xw7y9a.fsf@iznogoud.viz> To: Wolfgang Jenkner X-Mailer: Apple Mail (2.2070.6) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19191 Cc: Akira Shirai , Eli Zaretskii , 19191@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --Apple-Mail=_74B91DB6-E938-4382-A153-61ECAB95B270 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Today I tried what you had suggested, but I could not find significant differences. % grep '#.*PTY' emacs-24.3/src/config.h > /tmp/config.h_PTY_emacs-24.3 % grep '#.*PTY' emacs-24.4/src/config.h > /tmp/config.h_PTY_emacs-24.4 % cat /tmp/config.h_PTY_emacs-24.3 /* #undef BROKEN_PTY_READ_AFTER_EAGAIN */ /* #undef DONT_REOPEN_PTY */ #define FIRST_PTY_LETTER 'z' #define HAVE_PTYS 1 /* #undef HAVE_PTY_H */ /* #undef PTY_ITERATION */ #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptmx"); /* #undef PTY_OPEN */ #define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int = grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset = (&blocked, SIGCLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); = grantpt_result =3D grantpt (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, = 0); if (grantpt_result =3D=3D -1 || unlockpt (fd) =3D=3D -1 || !(ptyname = =3D ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, = sizeof pty_name, "%s", ptyname); } #define SETUP_SLAVE_PTY if (ioctl (xforkin, I_PUSH, "ptem") =3D=3D -1) = fatal ("ioctl I_PUSH ptem"); if (ioctl (xforkin, I_PUSH, "ldterm") =3D=3D = -1) fatal ("ioctl I_PUSH ldterm"); if (ioctl (xforkin, I_PUSH, = "ttcompat") =3D=3D -1) fatal ("ioctl I_PUSH ttcompat"); /* #undef UNIX98_PTYS */ % cat /tmp/config.h_PTY_emacs-24.4 /* #undef BROKEN_PTY_READ_AFTER_EAGAIN */ /* #undef DONT_REOPEN_PTY */ #define FIRST_PTY_LETTER 'z' #define HAVE_PTYS 1 /* #undef HAVE_PTY_H */ /* #undef PTY_ITERATION */ #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptmx"); /* #undef PTY_OPEN */ #define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int = grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset = (&blocked, SIGCHLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); = grantpt_result =3D grantpt (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, = 0); if (grantpt_result =3D=3D -1 || unlockpt (fd) =3D=3D -1 || !(ptyname = =3D ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, = PTY_NAME_SIZE, "%s", ptyname); } #define SETUP_SLAVE_PTY if (ioctl (xforkin, I_PUSH, "ptem") =3D=3D -1) = fatal ("ioctl I_PUSH ptem"); if (ioctl (xforkin, I_PUSH, "ldterm") =3D=3D = -1) fatal ("ioctl I_PUSH ldterm"); if (ioctl (xforkin, I_PUSH, = "ttcompat") =3D=3D -1) fatal ("ioctl I_PUSH ttcompat"); /* #undef UNIX98_PTYS */ % diff /tmp/config.h_PTY_emacs-24.3 /tmp/config.h_PTY_emacs-24.4 9c9 < #define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int = grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset = (&blocked, SIGCLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); = grantpt_result =3D grantpt (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, = 0); if (grantpt_result =3D=3D -1 || unlockpt (fd) =3D=3D -1 || !(ptyname = =3D ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, = sizeof pty_name, "%s", ptyname); } --- > #define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int = grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset = (&blocked, SIGCHLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); = grantpt_result =3D grantpt (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, = 0); if (grantpt_result =3D=3D -1 || unlockpt (fd) =3D=3D -1 || !(ptyname = =3D ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, = PTY_NAME_SIZE, "%s", ptyname); } % cat /tmp/config.h_PTY_emacs-24.3 | grep PTY_TTY_NAME_SPRINTF | sed = 's/#define//' | indent -st > /tmp/config.h_PTY_emacs-24.3_indent-st % cat /tmp/config.h_PTY_emacs-24.4 | grep PTY_TTY_NAME_SPRINTF | sed = 's/#define//' | indent -st > /tmp/config.h_PTY_emacs-24.4_indent-st % diff /tmp/config.h_PTY_emacs-24.3_indent-st = /tmp/config.h_PTY_emacs-24.4_indent-st 6c6 < sigaddset(&blocked, SIGCLD); --- > sigaddset(&blocked, SIGCHLD); 13c13 < } snprintf(pty_name, sizeof pty_name, "%s", ptyname); --- > } snprintf(pty_name, PTY_NAME_SIZE, "%s", ptyname); And I replaced the definition of PTY_TTY_NAME_SPRINTF in emacs-24.4/src/config.h with the definition of PTY_TTY_NAME_SPRINTF in emacs-24.3/src/config.h and typed "make" and "emacs -Q", the emacs (almost emacs-24.4 except PTY_TTY_NAME_SPRINTF) still said "Warning: no access to tty; thus no job control in this shell...". > 2015/04/01 22:49=E3=80=81Wolfgang Jenkner = =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF=BC=9A >=20 >=20 --Apple-Mail=_74B91DB6-E938-4382-A153-61ECAB95B270 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Today I tried what you had suggested, but I = could not find significant
differences.

% grep '#.*PTY' = emacs-24.3/src/config.h > /tmp/config.h_PTY_emacs-24.3
% grep '#.*PTY' emacs-24.4/src/config.h > = /tmp/config.h_PTY_emacs-24.4

% cat = /tmp/config.h_PTY_emacs-24.3
/* #undef = BROKEN_PTY_READ_AFTER_EAGAIN */
/* #undef = DONT_REOPEN_PTY */
#define FIRST_PTY_LETTER = 'z'
#define HAVE_PTYS 1
/* = #undef HAVE_PTY_H */
/* #undef PTY_ITERATION = */
#define PTY_NAME_SPRINTF strcpy (pty_name, = "/dev/ptmx");
/* #undef PTY_OPEN */
#define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; = int grantpt_result; sigset_t blocked; sigemptyset (&blocked); = sigaddset (&blocked, SIGCLD); pthread_sigmask (SIG_BLOCK, = &blocked, 0); grantpt_result =3D grantpt (fd); pthread_sigmask = (SIG_UNBLOCK, &blocked, 0); if (grantpt_result =3D=3D -1 || unlockpt = (fd) =3D=3D -1 || !(ptyname =3D ptsname (fd))) { emacs_close (fd); = return -1; } snprintf (pty_name, sizeof pty_name, "%s", ptyname); = }
#define SETUP_SLAVE_PTY if (ioctl (xforkin, = I_PUSH, "ptem") =3D=3D -1) fatal ("ioctl I_PUSH ptem"); if (ioctl = (xforkin, I_PUSH, "ldterm") =3D=3D -1) fatal ("ioctl I_PUSH ldterm"); if = (ioctl (xforkin, I_PUSH, "ttcompat") =3D=3D -1) fatal ("ioctl I_PUSH = ttcompat");
/* #undef UNIX98_PTYS */

% cat = /tmp/config.h_PTY_emacs-24.4
/* #undef = BROKEN_PTY_READ_AFTER_EAGAIN */
/* #undef = DONT_REOPEN_PTY */
#define FIRST_PTY_LETTER = 'z'
#define HAVE_PTYS 1
/* = #undef HAVE_PTY_H */
/* #undef PTY_ITERATION = */
#define PTY_NAME_SPRINTF strcpy (pty_name, = "/dev/ptmx");
/* #undef PTY_OPEN */
#define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; = int grantpt_result; sigset_t blocked; sigemptyset (&blocked); = sigaddset (&blocked, SIGCHLD); pthread_sigmask (SIG_BLOCK, = &blocked, 0); grantpt_result =3D grantpt (fd); pthread_sigmask = (SIG_UNBLOCK, &blocked, 0); if (grantpt_result =3D=3D -1 || unlockpt = (fd) =3D=3D -1 || !(ptyname =3D ptsname (fd))) { emacs_close (fd); = return -1; } snprintf (pty_name, PTY_NAME_SIZE, "%s", ptyname); = }
#define SETUP_SLAVE_PTY if (ioctl (xforkin, = I_PUSH, "ptem") =3D=3D -1) fatal ("ioctl I_PUSH ptem"); if (ioctl = (xforkin, I_PUSH, "ldterm") =3D=3D -1) fatal ("ioctl I_PUSH ldterm"); if = (ioctl (xforkin, I_PUSH, "ttcompat") =3D=3D -1) fatal ("ioctl I_PUSH = ttcompat");
/* #undef UNIX98_PTYS */

% diff = /tmp/config.h_PTY_emacs-24.3 /tmp/config.h_PTY_emacs-24.4
9c9
< #define PTY_TTY_NAME_SPRINTF { = char *ptsname (int), *ptyname; int grantpt_result; sigset_t blocked; = sigemptyset (&blocked); sigaddset (&blocked, SIGCLD); = pthread_sigmask (SIG_BLOCK, &blocked, 0); grantpt_result =3D grantpt = (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, 0); if (grantpt_result = =3D=3D -1 || unlockpt (fd) =3D=3D -1 || !(ptyname =3D ptsname (fd))) { = emacs_close (fd); return -1; } snprintf (pty_name, sizeof pty_name, = "%s", ptyname); }
---
> = #define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int = grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset = (&blocked, SIGCHLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); = grantpt_result =3D grantpt (fd); pthread_sigmask (SIG_UNBLOCK, = &blocked, 0); if (grantpt_result =3D=3D -1 || unlockpt (fd) =3D=3D = -1 || !(ptyname =3D ptsname (fd))) { emacs_close (fd); return -1; } = snprintf (pty_name, PTY_NAME_SIZE, "%s", ptyname); }

% cat = /tmp/config.h_PTY_emacs-24.3 | grep PTY_TTY_NAME_SPRINTF | sed = 's/#define//' | indent -st > = /tmp/config.h_PTY_emacs-24.3_indent-st
% cat = /tmp/config.h_PTY_emacs-24.4 | grep PTY_TTY_NAME_SPRINTF | sed = 's/#define//' | indent -st > = /tmp/config.h_PTY_emacs-24.4_indent-st
% diff = /tmp/config.h_PTY_emacs-24.3_indent-st = /tmp/config.h_PTY_emacs-24.4_indent-st
6c6
<       sigaddset(&blocked, = SIGCLD);
---
>   =     sigaddset(&blocked, SIGCHLD);
13c13
<       } = snprintf(pty_name, sizeof pty_name, "%s", ptyname);
---
>       } = snprintf(pty_name, PTY_NAME_SIZE, "%s", ptyname);
And I replaced the definition of = PTY_TTY_NAME_SPRINTF in
emacs-24.4/src/config.h = with the definition of PTY_TTY_NAME_SPRINTF in
emacs-24.3/src/config.h and typed "make" and "emacs -Q", the = emacs
(almost emacs-24.4 except = PTY_TTY_NAME_SPRINTF) still said "Warning:
no = access to tty; thus no job control in this shell...".

2015/04/01 22:49=E3=80=81Wolfgang Jenkner = <wjenkner@inode.at> =E3=81=AE=E3=83=A1=E3=83=BC=E3=83=AB=EF= =BC=9A



= --Apple-Mail=_74B91DB6-E938-4382-A153-61ECAB95B270-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 13 12:43:45 2015 Received: (at 19191) by debbugs.gnu.org; 13 Apr 2015 16:43:45 +0000 Received: from localhost ([127.0.0.1]:55144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YhhSa-0007WD-NG for submit@debbugs.gnu.org; Mon, 13 Apr 2015 12:43:45 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:35782) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YhhSY-0007W0-DT for 19191@debbugs.gnu.org; Mon, 13 Apr 2015 12:43:43 -0400 Received: by pabtp1 with SMTP id tp1so107517241pab.2 for <19191@debbugs.gnu.org>; Mon, 13 Apr 2015 09:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version; bh=WhMAsrG9HyCEPGlNUOuzpHpzJK2+fBs81w1z4hJHiww=; b=sPRlvUPgKPOxK50YWWTLHbN/hVah3Srw9kAz9dBmD47DUuJ3+1av1/8j6KY4otg/CF dxmS55GxDn/KaFycO19gafRXlWj0mc+97H4Yr5abPQIk+hYkklsHiSp0+eeijfq/kHUT TbFKQydcaiQn9DZGyKNySSv+IzRtVFOdFpd5It/xu7/pjNAPh2K8DvH7lhttRZSS4DWG RzXCGQnyNXMJm4F3WVx2ff84JFzp87nfgEBUGN7odqSVHnGlN4rcXmKyVQxa0zCf/8qt j8VE6OQ4n3CVKIQ4RAidItNLwt5JP6w82fBhHtmb9P5qm952uH2sheMQ9vGDsOBA9yGH hQ4g== X-Received: by 10.70.88.203 with SMTP id bi11mr27283957pdb.121.1428943416333; Mon, 13 Apr 2015 09:43:36 -0700 (PDT) Received: from [172.20.10.11] (pw126205207089.3.panda-world.ne.jp. [126.205.207.89]) by mx.google.com with ESMTPSA id nb10sm7791967pdb.76.2015.04.13.09.43.33 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 13 Apr 2015 09:43:35 -0700 (PDT) From: =?utf-8?B?55m95LqV5b2w?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Re: bug#19191: 24.4; su command in *shell* buffer does not work Date: Tue, 14 Apr 2015 01:43:30 +0900 Message-Id: <0624CCFB-D3BA-42DA-B2C8-FC755C3269AB@gmail.com> To: 19191@debbugs.gnu.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) X-Mailer: Apple Mail (2.2098) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19191 Cc: Akira Shirai X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) "su: Sorry" also occurs on Emacs 24.5. % gzcat emacs-24.3.tar.gz | tar xfp - % (cd emacs-24.3; ./configure --with-jpeg=3Dno --with-gif=3Dno; make) % gzcat emacs-24.5.tar.gz | tar xfp - % (cd emacs-24.5; ./configure --with-jpeg=3Dno --with-gif=3Dno; make) % grep '#.*PTY' emacs-24.3/src/config.h > /tmp/config.h_PTY_emacs-24.3 % grep '#.*PTY' emacs-24.5/src/config.h > /tmp/config.h_PTY_emacs-24.5 % diff /tmp/config.h_PTY_emacs-24.3 /tmp/config.h_PTY_emacs-24.5 9c9 < #define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int = grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset = (&blocked, SIGCLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); = grantpt_result =3D grantpt (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, = 0); if (grantpt_result =3D=3D -1 || unlockpt (fd) =3D=3D -1 || !(ptyname = =3D ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, = sizeof pty_name, "%s", ptyname); } --- > #define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; int = grantpt_result; sigset_t blocked; sigemptyset (&blocked); sigaddset = (&blocked, SIGCHLD); pthread_sigmask (SIG_BLOCK, &blocked, 0); = grantpt_result =3D grantpt (fd); pthread_sigmask (SIG_UNBLOCK, &blocked, = 0); if (grantpt_result =3D=3D -1 || unlockpt (fd) =3D=3D -1 || !(ptyname = =3D ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, = PTY_NAME_SIZE, "%s", ptyname); } % cat /tmp/config.h_PTY_emacs-24.3 | grep PTY_TTY_NAME_SPRINTF | sed = 's/#define//' | indent -st > /tmp/config.h_PTY_emacs-24.3_indent-st % cat /tmp/config.h_PTY_emacs-24.5 | grep PTY_TTY_NAME_SPRINTF | sed = 's/#define//' | indent -st > /tmp/config.h_PTY_emacs-24.5_indent-st % diff /tmp/config.h_PTY_emacs-24.3_indent-st = /tmp/config.h_PTY_emacs-24.5_indent-st 6c6 < sigaddset(&blocked, SIGCLD); --- > sigaddset(&blocked, SIGCHLD); 13c13 < } snprintf(pty_name, sizeof pty_name, "%s", ptyname); --- > } snprintf(pty_name, PTY_NAME_SIZE, "%s", ptyname); % (cd emacs-24.5/src; ./emacs -Q) M-x shell Warning: no access to tty; thus no job control in this shell... % su su: Sorry % =3D> su command in *shell* buffer does not work. su does not ask for the password and exits with "su: Sorry". From debbugs-submit-bounces@debbugs.gnu.org Tue May 12 02:37:13 2015 Received: (at control) by debbugs.gnu.org; 12 May 2015 06:37:13 +0000 Received: from localhost ([127.0.0.1]:41473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ys3oX-0000zA-5O for submit@debbugs.gnu.org; Tue, 12 May 2015 02:37:13 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:45609 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ys3oV-0000z1-Dm for control@debbugs.gnu.org; Tue, 12 May 2015 02:37:11 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Ys3oV-00035F-7m for control@debbugs.gnu.org; Tue, 12 May 2015 02:37:11 -0400 Date: Tue, 12 May 2015 02:37:11 -0400 Message-Id: Subject: control message for bug 20555 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) merge 19191 20555 From debbugs-submit-bounces@debbugs.gnu.org Thu May 28 16:16:17 2015 Received: (at control) by debbugs.gnu.org; 28 May 2015 20:16:17 +0000 Received: from localhost ([127.0.0.1]:59824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yy4Dx-0006es-2L for submit@debbugs.gnu.org; Thu, 28 May 2015 16:16:17 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:35210 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yy4Du-0006ek-Jx for control@debbugs.gnu.org; Thu, 28 May 2015 16:16:14 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Yy4Du-0007bZ-5j for control@debbugs.gnu.org; Thu, 28 May 2015 16:16:14 -0400 Date: Thu, 28 May 2015 16:16:14 -0400 Message-Id: Subject: control message for bug 20686 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) merge 19191 20686 From debbugs-submit-bounces@debbugs.gnu.org Thu May 28 16:17:30 2015 Received: (at control) by debbugs.gnu.org; 28 May 2015 20:17:30 +0000 Received: from localhost ([127.0.0.1]:59828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yy4F7-0006h2-Jf for submit@debbugs.gnu.org; Thu, 28 May 2015 16:17:29 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:35252 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yy4F6-0006gv-51 for control@debbugs.gnu.org; Thu, 28 May 2015 16:17:28 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Yy4F5-00080z-VS for control@debbugs.gnu.org; Thu, 28 May 2015 16:17:28 -0400 Date: Thu, 28 May 2015 16:17:27 -0400 Message-Id: Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) block 19759 by 20555 From unknown Mon Jun 23 18:28:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Jul 2015 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator