* Broken eshell tab completion (pcomplete) over ssh
@ 2012-04-24 20:15 pinkiesOut
2012-04-25 5:52 ` XeCycle
[not found] ` <mailman.609.1335333153.751.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: pinkiesOut @ 2012-04-24 20:15 UTC (permalink / raw)
To: help-gnu-emacs
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?
For the record, I am running emacs 23.3.50.1, yet I see a similar unanswered question regarding eshell in emacs 24.0.94 at the following URL:
http://superuser.com/questions/402747/emacs-eshell-over-ssh-not-obeying-key-commands-or-elisp
Thanks
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Broken eshell tab completion (pcomplete) over ssh
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>
1 sibling, 0 replies; 3+ messages in thread
From: XeCycle @ 2012-04-25 5:52 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1114 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Broken eshell tab completion (pcomplete) over ssh
[not found] ` <mailman.609.1335333153.751.help-gnu-emacs@gnu.org>
@ 2012-04-25 17:10 ` pinkiesOut
0 siblings, 0 replies; 3+ messages in thread
From: pinkiesOut @ 2012-04-25 17:10 UTC (permalink / raw)
To: gnu.emacs.help; +Cc: help-gnu-emacs
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!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-25 17:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).