[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Path problems.
From: |
Lars Bungum |
Subject: |
Re: Path problems. |
Date: |
12 Sep 2003 20:55:53 +0200 |
On Fri, 2003-09-12 at 18:43, address@hidden wrote:
> My suggestion is that you don't set tramp-shell-prompt-pattern,
> but that instead you set the prompt. Tramp sets $TERM to dumb,
> and fancy stuff like the stuff above won't work for dumb terminals
> anyway, so my suggestion is to do like
> if [ x$TERM != xdumb ]; then
> PS1=your.fancy.value.goes.here
> else
> PS1='\$ ' #or another simple value
> fi
> What do you think?
I thought it was a fantastic solution. In fact all I had to do was do
commit these few lines to my /etc/profile, as I was running distenv on
the server. This way, distenv is instructed to set a modest prompt for
dumb terminals.
if [ x$TERM == xdumb ]; then
export DE_MONO=1
export DE_SHORT_PROMPT=1
export DE_NO_TITLEBAR
fi
However, I am still left with this little, uncolored prompt, that I
can't get tramp to swallow:
[~]
Just a couple of brackets and a tilde. I tried to set this in the
shell-prompt-pattern as well, but couldn't hack it. :,(
--
Mvh.
Lars Bungum <address@hidden> <OpenPGP: E2C5C0A2>