* Re: shell-mode garbles input [not found] <mailman.10476.1208423862.18990.bug-gnu-emacs@gnu.org> @ 2008-04-17 17:04 ` Sven Joachim 2008-04-18 11:38 ` Bug#476519: " jidanni 0 siblings, 1 reply; 3+ messages in thread From: Sven Joachim @ 2008-04-17 17:04 UTC (permalink / raw) To: jidanni; +Cc: bug-gnu-emacs On 2008-04-17 11:17 +0200, jidanni@jidanni.org wrote: > OK, I found a case of shell-mode line garbling that maybe you can > reproduce. > > # ENV= PS1=#\ HOME=/tmp emacs -Q > M-x shell > root@jidanni1:/root# su - nobody > No directory, logging in with HOME=/ > nobody@jidanni1:/$ exit > -su: e: command not found > nobody@jidanni1:/$ -su: xit: command not found > nobody@jidanni1:/$ exit > logout > root@jidanni1:/root# Interesting, but probably not a bug in Emacs. Please try the following: log in as root on the console, type su - nobody (getting the "No directory,..." message above) and type e. Without hitting return, I got the message: -su: e: command not found. It's also funny that subsequent invocations of `su -c nobody' don't show this behavior until I log out and in again. Sven ^ permalink raw reply [flat|nested] 3+ messages in thread
* Bug#476519: shell-mode garbles input 2008-04-17 17:04 ` shell-mode garbles input Sven Joachim @ 2008-04-18 11:38 ` jidanni 0 siblings, 0 replies; 3+ messages in thread From: jidanni @ 2008-04-18 11:38 UTC (permalink / raw) To: svenjoac, 476519; +Cc: bug-gnu-emacs, nicolas.francois SJ> Please try the following: SJ> log in as root on the console, type su - nobody (getting the "No SJ> directory,..." message above) and type e. Without hitting return, I got SJ> the message: -su: e: command not found. Holy moly, I can reproduce that. I apologize to emacs & co. It is a su bug. Dear http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476519 team: please see http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-04/msg00080.html First fix that and then maybe 476519 will get fixed in the process. Regarding 476519: NF> Could you reproduce it with another user? No, but yes with the "e" bug. NF> Could you reproduce it with another terminal (console)? tty1: no, but didn't try hard. "e" bug: yes. NF> Are you using special PAM modules? I don't know, I just installed vanilla sid several years ago and don't play around with the advanced parts. NF> You mentioned no messages in /var/log/auth.log, Just the normal ones I posted. On a different machine I get pam_env(su:session): Unable to open env file: /etc/environment: No such file or directory but that doesn't affect if the bug occurs or not. NF> are there messages in /var/log/syslog? No. NF> What's your probability of occurrence? (1 out of 3?) Seems to come in clumps... maybe 5 bads in a row, then good until close the shell window. But not always. Or bad to nobody, good to user2, then bad to nobody. NF> Can you try to get a systrace of su when it fails and compare it with a NF> successful session. If you mean strace, well, whenever I try it the bug doesn't occur, under strace. Anyway, fix the "e" bug and maybe 476519 will get fixed in the process. Actually, it's the first character typed, and not just "e". ^ permalink raw reply [flat|nested] 3+ messages in thread
* shell-mode garbles input @ 2008-04-17 9:17 jidanni 0 siblings, 0 replies; 3+ messages in thread From: jidanni @ 2008-04-17 9:17 UTC (permalink / raw) To: bug-gnu-emacs OK, I found a case of shell-mode line garbling that maybe you can reproduce. # ENV= PS1=#\ HOME=/tmp emacs -Q M-x shell root@jidanni1:/root# su - nobody No directory, logging in with HOME=/ nobody@jidanni1:/$ exit -su: e: command not found nobody@jidanni1:/$ -su: xit: command not found nobody@jidanni1:/$ exit logout root@jidanni1:/root# emacs-version "22.2.1" ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-18 11:38 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <mailman.10476.1208423862.18990.bug-gnu-emacs@gnu.org> 2008-04-17 17:04 ` shell-mode garbles input Sven Joachim 2008-04-18 11:38 ` Bug#476519: " jidanni 2008-04-17 9:17 jidanni
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.