GNU bug report logs -
#20555
Emacs 24.2 vs 24.4 on Solaris: M-x shell and "tty => not a tty"
Previous Next
Reported by: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Tue, 12 May 2015 06:09:02 UTC
Severity: normal
Merged with 19191,
19927,
20686
Found in versions 24.4, 24.4.90
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#20555: 24.4.90; su command in *shell* buffer does not work
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 19927 <at> debbugs.gnu.org.
--
20555: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20555
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Akira Shirai, thanks for the info about grantpt and its internal setuid program;
that made the problem obvious. I installed the attached patch into the Emacs
master sources and am (perhaps optimistically) marking this bug as done.
[0001-Fix-not-a-tty-bug-on-Solaris-10.patch (text/x-diff, attachment)]
[Message part 5 (message/rfc822, inline)]
su command in *shell* buffer does not work.
su does not ask for the password and exits with "su: Sorry".
The value of process-connection-type variable is t.
There are no .zshenv, .zprofile, .zshrc, .zlogin, .zlogout, .cshrc and .login.
1. emacs -Q
2. M-x shell
/* *shell* buffer (24.4.90) */
Warning: no access to tty; thus no job control in this shell...
yokohama% su
su: Sorry
yokohama%
In GNU Emacs 24.4.90.1 (i386-pc-solaris2.10, X toolkit, Xaw scroll bars)
of 2015-02-23 on yokohama
Windowing system distributor `Colin Harrison', version 11.0.60900031
Configured using:
`configure --prefix=/Users/shiraiakira/emacs-24.4.90 --with-x
--x-includes=/usr/dt/include:/usr/openwin/include:/Users/shiraiakira/xpm/include:/Users/shiraiakira/jpeg/include:/Users/shiraiakira/zlib/include:/Users/shiraiakira/libpng/include:/Users/shiraiakira/libungif/include:/Users/shiraiakira/tiff/include
--x-libraries=/usr/dt/lib:/usr/openwin/lib:/Users/shiraiakira/xpm/lib:/Users/shiraiakira/jpeg/lib:/Users/shiraiakira/zlib/lib:/Users/shiraiakira/libpng/lib:/Users/shiraiakira/libungif/lib:/Users/shiraiakira/tiff/lib
--with-tiff=no --with-jpeg=no --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 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 77824 7776)
(symbols 24 17811 0)
(miscs 20 47 178)
(strings 16 12096 3717)
(string-bytes 1 330512)
(vectors 8 9639)
(vector-slots 4 388894 5895)
(floats 8 61 263)
(intervals 28 986 1632)
(buffers 512 12))
This bug report was last modified 10 years and 41 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.