all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "stewartbryson@gmail.com" <stewartbryson@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Tramp handling of customized prompts
Date: Tue, 05 Jun 2007 09:08:27 -0700	[thread overview]
Message-ID: <1181059707.081933.315290@h2g2000hsg.googlegroups.com> (raw)
In-Reply-To: <nqwsyi8orz.fsf@alcatel-lucent.de>

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.

  parent reply	other threads:[~2007-06-05 16:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-05 13:28 Tramp handling of customized prompts stewartbryson
     [not found] ` <nqwsyi8orz.fsf@alcatel-lucent.de>
2007-06-05 16:08   ` stewartbryson [this message]
2007-06-07 21:08     ` Michael Albinus
     [not found]     ` <mailman.1752.1181250520.32220.help-gnu-emacs@gnu.org>
2007-06-12 16:19       ` stewartbryson
2007-06-12 19:55         ` Michael Albinus
     [not found]         ` <mailman.2049.1181678147.32220.help-gnu-emacs@gnu.org>
2007-06-12 20:22           ` stewartbryson
2007-06-13  4:53             ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1181059707.081933.315290@h2g2000hsg.googlegroups.com \
    --to=stewartbryson@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.