tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting shell prompt of remote /bin/sh


From: Kai Großjohann
Subject: Setting shell prompt of remote /bin/sh
Date: Tue, 10 Sep 2002 15:29:13 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

After asking in comp.unix.shell I got the following nifty suggestion:
after Tramp has sent "exec /bin/sh" to the remote host, we send
"PS1='$ '" after a short pause.  Then we wait a couple of seconds for
an answer.  If nothing appears, then we send "PS1='$ '" again, and
then we wait again, and so on.

Do you think that might work?

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)




reply via email to

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