unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: 白井彰 <okshirai@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Akira Shirai <okshirai@gmail.com>, 19191@debbugs.gnu.org
Subject: bug#19191: 24.4; su command in *shell* buffer does not work
Date: Wed, 1 Apr 2015 20:54:09 +0900	[thread overview]
Message-ID: <E299A2DE-B639-4BA8-9B10-0B7F6F80870A@gmail.com> (raw)
In-Reply-To: <83wq1yxuwf.fsf@gnu.org>

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 = (/usr/bin . /usr/ccs/bin)
   gzcat emacs-24.3.tar.gz | tar xfp -
   (cd emacs-24.3; ./configure --with-jpeg=no --with-gif=no; make)
   (cd emacs-24.3/src; ./emacs -Q)
   M-x shell
   % su
   Password: ********
   #
   => 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=no --with-gif=no; 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
   %
   => 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、Eli Zaretskii <eliz@gnu.org> のメール:
> 
>> From: 白井彰 <okshirai@gmail.com>
>> Date: Tue, 31 Mar 2015 02:08:51 +0900
>> Cc: Akira Shirai <okshirai@gmail.com>
>> 
>> "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.






  reply	other threads:[~2015-04-01 11:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-26 10:00 bug#19191: 24.4; su command in *shell* buffer does not work 白井彰
2014-11-26 11:13 ` Andreas Schwab
2014-11-27 16:33   ` 白井彰
2014-11-27 17:14     ` Andreas Schwab
2014-11-28  9:25       ` 白井彰
2014-12-06 11:15 ` 白井彰
2015-03-16 16:36 ` 白井彰
2015-03-30 17:08 ` 白井彰
2015-03-30 17:22   ` Eli Zaretskii
2015-04-01 11:54     ` 白井彰 [this message]
2015-04-01 13:49       ` Wolfgang Jenkner
2015-04-02 16:56         ` 白井彰
2015-04-13 16:43 ` 白井彰

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E299A2DE-B639-4BA8-9B10-0B7F6F80870A@gmail.com \
    --to=okshirai@gmail.com \
    --cc=19191@debbugs.gnu.org \
    --cc=eliz@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).