On Fri, 2003-09-12 at 18:43, [EMAIL PROTECTED] 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                            <[EMAIL PROTECTED]> <OpenPGP: E2C5C0A2>






_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to