From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Cisco Router Tab Completion in SSH from Emacs
Date: Sat, 30 Nov 2013 19:04:47 -0700 [thread overview]
Message-ID: <20131201020447.GA24800@hysteria.proulx.com> (raw)
In-Reply-To: <87wqjqh621.fsf@quasar.esben-stien.name>
Esben Stien wrote:
> Barry Margolin writes:
> > he should use M-x terminal-emulator if he wants special keys to be
> > sent to the remote host.
>
> This is something different than M-x term?
>
> I don't have M-x terminal-emulator in my emacs-24.3.50.1, but I guess
> it's the same as M-x term.
>
> M-x term captures everything it seems, so it kind of defeats the purpose
> of running this inside emacs.
You misunderstand. In term mode C-c is the key prefix when in the
default character mode. And you can toggle between character mode and
line mode easily with C-c C-j and C-c C-k. When in line mode C-c C-j
then you don't need a prefix. I use term quite a bit.
> Is there no prefix or something I can use in eshell to transmit a simple
> TAB?
The problem with eshell and then using ssh within it to log onto a
remote machine is that it is always in line mode.
Try using TRAMP. This is fully documented in the tramp manual.
5.5.4 Running `eshell' on a remote host
---------------------------------------
TRAMP is integrated into `eshell.el'. That is, you can open an
interactive shell on your remote host, and run commands there.
Try this:
M-x eshell
cd /user@remote:
Or just remote if the user is the same:
cd /remote:
I think that will do what you want.
Bob
next prev parent reply other threads:[~2013-12-01 2:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-28 4:47 Cisco Router Tab Completion in SSH from Emacs Esben Stien
2013-11-28 4:13 ` Stefan Monnier
[not found] ` <mailman.7311.1385612120.10748.help-gnu-emacs@gnu.org>
2013-11-28 4:41 ` Barry Margolin
2013-11-30 4:22 ` Esben Stien
2013-11-30 10:00 ` Peter Dyballa
2013-12-01 2:04 ` Bob Proulx [this message]
[not found] ` <mailman.7602.1385778203.10748.help-gnu-emacs@gnu.org>
2013-11-30 8:05 ` Barry Margolin
2013-11-30 11:54 ` Rustom Mody
2013-12-01 1:36 ` Esben Stien
2013-12-01 14:56 ` ISHIKAWA,chiaki
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=20131201020447.GA24800@hysteria.proulx.com \
--to=bob@proulx.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.