[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-mode garbles input
From: |
Sven Joachim |
Subject: |
Re: shell-mode garbles input |
Date: |
Thu, 17 Apr 2008 19:04:38 +0200 |
User-agent: |
Gnus/5.110008 (No Gnus v0.8) Emacs/22.2.50 (gnu/linux) |
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