help-gnu-emacs
[Top][All Lists]
Advanced

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

trump "shell-prompt-pattern"


From: chenyu
Subject: trump "shell-prompt-pattern"
Date: Wed, 08 Dec 2010 15:11:21 -0000

Hello,
The remote host's common user's prompt is "username@hostname:~$", and root's 
prompt is "username@hostname:/currentdirectory#".

I have modified the emacs's init file for adding
(setq shell-prompt-pattern "^[^>$][~$][^>#])

Now for common user, tramp can work well, but for root user, tramp hang for 
no response.


Due to little experience in elisp for emacs extension, could you help me?




Thank you very much. 




reply via email to

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