all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* shell-mode garbles input
@ 2008-04-17  9:17 jidanni
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

* Re: shell-mode garbles input
       [not found] <mailman.10476.1208423862.18990.bug-gnu-emacs@gnu.org>
@ 2008-04-17 17:04 ` Sven Joachim
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

end of thread, other threads:[~2008-04-17 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-17  9:17 shell-mode garbles input jidanni
     [not found] <mailman.10476.1208423862.18990.bug-gnu-emacs@gnu.org>
2008-04-17 17:04 ` Sven Joachim

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.