From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: Editing a file as root
Date: Wed, 17 Dec 2003 18:06:26 +0000 [thread overview]
Message-ID: <87ptenb9p9.fsf@emptyhost.emptydomain.de> (raw)
In-Reply-To: m2vfoiw7bo.fsf@sage.com
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
next prev parent reply other threads:[~2003-12-17 18:06 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.83.1071495859.868.help-gnu-emacs@gnu.org>
2003-12-15 13:15 ` Editing a file as root Sébastien Kirche
2003-12-15 16:17 ` gebser
2003-12-17 18:06 ` Kai Grossjohann [this message]
[not found] <mailman.97.1071509004.868.help-gnu-emacs@gnu.org>
2003-12-17 10:07 ` Sébastien Kirche
2003-12-17 13:19 ` gebser
2003-12-17 18:08 ` Kai Grossjohann
[not found] <E1AT5y2-0002EZ-OF@monty-python.gnu.org>
2003-12-14 18:54 ` bhiker
[not found] ` <mailman.62.1071431778.868.help-gnu-emacs@gnu.org>
2003-12-14 21:09 ` Dan Anderson
2003-12-14 21:25 ` David Kastrup
2003-12-15 0:12 ` Micha Feigin
[not found] ` <mailman.65.1071450890.868.help-gnu-emacs@gnu.org>
2003-12-15 0:50 ` David Kastrup
2003-12-15 17:22 ` Micha Feigin
[not found] ` <mailman.105.1071513681.868.help-gnu-emacs@gnu.org>
2003-12-15 21:57 ` Benjamin Rutt
2003-12-16 12:41 ` Micha Feigin
[not found] ` <mailman.136.1071582719.868.help-gnu-emacs@gnu.org>
2003-12-16 15:36 ` Benjamin Rutt
2003-12-17 18:01 ` Kai Grossjohann
2003-12-15 10:47 ` Sébastien Kirche
2003-12-15 12:40 ` gebser
2003-12-17 15:51 ` Piet van Oostrum
2003-12-17 18:04 ` Kai Grossjohann
2003-12-18 17:28 ` Kevin Rodgers
2003-12-18 18:28 ` Kai Grossjohann
2003-12-19 11:16 ` Piet van Oostrum
2003-12-21 13:52 ` Kai Grossjohann
2003-12-15 18:39 ` kgold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ptenb9p9.fsf@emptyhost.emptydomain.de \
--to=kai@emptydomain.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).