unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "stewartbryson@gmail.com" <stewartbryson@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Tramp handling of customized prompts
Date: Tue, 05 Jun 2007 06:28:11 -0700	[thread overview]
Message-ID: <1181050091.976357.240580@q75g2000hsh.googlegroups.com> (raw)

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.

Basically, I have a screen that asks me to select a database profile
from a list. Ultimately, I would like to see that output and choose
one, but I know that's probably not possible. Always responding with a
"0" (zero) would be a viable solution, and then one I tried coding.

Thanks very much.

Stewart

             reply	other threads:[~2007-06-05 13:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-05 13:28 stewartbryson [this message]
     [not found] ` <nqwsyi8orz.fsf@alcatel-lucent.de>
2007-06-05 16:08   ` Tramp handling of customized prompts stewartbryson
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1181050091.976357.240580@q75g2000hsh.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).