From: pinkiesOut <nemo1211@gmail.com>
To: gnu.emacs.help@googlegroups.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: Broken eshell tab completion (pcomplete) over ssh
Date: Wed, 25 Apr 2012 10:10:54 -0700 (PDT) [thread overview]
Message-ID: <23008251.409.1335373854347.JavaMail.geo-discussion-forums@yncb7> (raw)
In-Reply-To: <mailman.609.1335333153.751.help-gnu-emacs@gnu.org>
On Wednesday, April 25, 2012 1:52:22 AM UTC-4, XeCycle wrote:
> pinkiesOut <nemo1211@gmail.com> writes:
>
> > Although tab completion in eshell works on my local system,
> > pressing tab when connected to another machine over ssh results
> > in the insertion of a literal tab character. Running pcomplete
> > manually with M-x produces the same result, confirming that the
> > function is properly bound to my tab key. Some friendly folks at
> > #emacs point out that tab completion in eshell should just work
> > over ssh.
> >
> > Oddly, I do not have this problem when connecting to the same
> > server using term or ansi-term mode. Does anyone have an idea of
> > what might be breaking this functionality?
>
> It doesn't know which program you're running. It simply assumes
> a command-line program, which is true --- you are talking to your
> login shell. Since Eshell doesn't have a `char-mode' like term
> does, it sends your input line by line, so it ends up as a
> literal tab.
>
> Use `cd /ssh:user@host:'.
>
> --
> Carl Lei (XeCycle)
> Department of Physics, Shanghai Jiao Tong University
> OpenPGP public key: 7795E591
> Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591
XeCycle,
This works. Thanks for the tip!
prev parent reply other threads:[~2012-04-25 17:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-24 20:15 Broken eshell tab completion (pcomplete) over ssh pinkiesOut
2012-04-25 5:52 ` XeCycle
[not found] ` <mailman.609.1335333153.751.help-gnu-emacs@gnu.org>
2012-04-25 17:10 ` pinkiesOut [this message]
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=23008251.409.1335373854347.JavaMail.geo-discussion-forums@yncb7 \
--to=nemo1211@gmail.com \
--cc=gnu.emacs.help@googlegroups.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).