[Top][All Lists]

[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, address@hidden 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
> address@hidden:/root# su - nobody
> No directory, logging in with HOME=/
> address@hidden:/$ exit
> -su: e: command not found
> address@hidden:/$ -su: xit: command not found
> address@hidden:/$ exit
> logout
> address@hidden:/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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]