From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=99=BD=E4=BA=95=E5=BD=B0?= Newsgroups: gmane.emacs.bugs Subject: bug#19191: 24.4; su command in *shell* buffer does not work Date: Wed, 1 Apr 2015 20:54:09 +0900 Message-ID: References: <09A01C7C-6199-4883-84AC-2445080B3FBE@gmail.com> <019535E2-98FE-4BD1-891A-1A1DB287AEB6@gmail.com> <83wq1yxuwf.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1427889324 6712 80.91.229.3 (1 Apr 2015 11:55:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Apr 2015 11:55:24 +0000 (UTC) Cc: Akira Shirai , 19191@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 01 13:55: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 1YdHEo-0001qb-Ae for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Apr 2015 13:55:14 +0200 Original-Received: from localhost ([::1]:51506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdHEn-0005Bv-QU for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Apr 2015 07:55:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdHEg-00058K-Dx for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2015 07:55:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdHEc-0002kT-TZ for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2015 07:55:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdHEc-0002kC-Qi for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2015 07:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YdHEc-0006Ob-Ha for bug-gnu-emacs@gnu.org; Wed, 01 Apr 2015 07:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=99=BD=E4=BA=95=E5=BD=B0?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Apr 2015 11:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19191 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19191-submit@debbugs.gnu.org id=B19191.142788926624533 (code B ref 19191); Wed, 01 Apr 2015 11:55:02 +0000 Original-Received: (at 19191) by debbugs.gnu.org; 1 Apr 2015 11:54:26 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <83wq1yxuwf.fsf@gnu.org> X-Mailer: Apple Mail (2.2070.6) 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:101106 Archived-At: 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.