[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editing a file as root
From: |
Kai Grossjohann |
Subject: |
Re: Editing a file as root |
Date: |
Wed, 17 Dec 2003 18:06:26 +0000 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) |
sebastien.kirche.no@spam.free.fr ( Sébastien Kirche) writes:
> As a test i just tried the same commands from within eshell : i
> seems that sudo works flawlessly, but i found that i lost the prompt
> when suing.
eshell is not a real shell. It is just elisp code. So eshell uses
magic to recognize prompts: it prints them itself, so it knows what is
a prompt. For su/sudo, the program prints a prompt, so eshell doesn't
recognize those as prompts.
"sudo bash -i" might give you a prompt from within eshell. Not that
eshell will recognize it, but at least you can see it.
Use "cd" to have eshell cooperate with Tramp.
Kai
- Re: Editing a file as root, (continued)
- Re: Editing a file as root, Sébastien Kirche, 2003/12/15
- Re: Editing a file as root, gebser, 2003/12/15
- Re: Editing a file as root, Piet van Oostrum, 2003/12/17
- Re: Editing a file as root, Kai Grossjohann, 2003/12/17
- Re: Editing a file as root, Kevin Rodgers, 2003/12/18
- Re: Editing a file as root, Kai Grossjohann, 2003/12/18
- Re: Editing a file as root, Piet van Oostrum, 2003/12/19
- Re: Editing a file as root, Kai Grossjohann, 2003/12/21
Re: Editing a file as root, Sébastien Kirche, 2003/12/15
Re: Editing a file as root, kgold, 2003/12/15
Re: Editing a file as root, Sébastien Kirche, 2003/12/17