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

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

Re: Tramp handling of customized prompts


From: address@hidden
Subject: Re: Tramp handling of customized prompts
Date: Tue, 05 Jun 2007 09:08:27 -0700
User-agent: G2/1.0

I'm in an environment where I don't have a choice. I don't have an
individual user account on the database servers I'm connecting to, and
therefore, do not have control over the profiles there.

Any other advice with this in mind?

Thanks very much.

Stewart



On Jun 5, 10:22 am, Michael Albinus <michael.albi...@gmx.de> wrote:
> "stewartbry...@gmail.com" <stewartbry...@gmail.com> writes:
> > What is the best approach for handling customized input prompts from
> > remote shells? I tried writing a coupled regexp and function to handle
> > it, and put the couple in the variable tramp-actions-before-shell, but
> > I am not able to successfully pull the correct buffer/process, as the
> > required tramp functions are not available to me.
>
> Best would be to avoid customized prompts. Usually, $TERM is set to
> "dumb" when Tramp connects to a remote host. You shall check this
> value in your .profile/.login on the remote host, and set the prompt
> to "$ " or something like this if it matches.
>
> > Thanks very much.
>
> > Stewart
>
> Best regards, Michael.




reply via email to

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