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

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

Re: Help with Emacs 22.2.1 using TRAMP and PuTTY/plink


From: lyallp
Subject: Re: Help with Emacs 22.2.1 using TRAMP and PuTTY/plink
Date: Mon, 5 May 2008 17:05:55 -0700 (PDT)
User-agent: G2/1.0

Using a Redhat enterprise Virtual Machine as my testbed.

Can't set TERM to dumb, as plink is not considered a dumb terminal.
Thus, can't create a simple prompt string based on TERM.

Instead, I changed, using Customize -> Files -> Tramp, "Tramp Shell
Prompt Pattern" to (excluding quotes)

[#$%>]+ *$

Basically, looking for # or $ or % or > followed by zero or more
spaces followed by end of search buffer.

Works fine.

I have no idea why the prompt pattern is so complicated, by default.
The above pattern, quite nicely, skips over echoed commands, bypasses /
etc/issues (unless the banner is boxed in # symbols)

>From the initial C-F /thehost~/ RET
to displaying my home directory, takes 7 seconds.

And, I still have my fancy prompt string which includes escape
sequences to update the terminal window title, which works with both
PuTTY and xterm.

...Lyall

On May 5, 6:33 pm, lyallp <address@hidden> wrote:
> Looks like the consensus is I should keep a simple Prompt string.
>
> I will report back when I give it a whack.
>
> ...Lyall
>
> On May 5, 5:19 pm, Livin Stephen <address@hidden> wrote:
>
> > I'll second that! I was facing tramp problems [albeit with 'sudo' on
> > my Mac], and I found that the problems [endless 'waiting 60s for ...']
> > went away when I switched back to a simple setting for 'PS1'
>
> > Now,
> > PS1: "\W\$ "
> > and tramp works fine.



reply via email to

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