all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: XeCycle <XeCycle@Gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Broken eshell tab completion (pcomplete) over ssh
Date: Wed, 25 Apr 2012 13:52:22 +0800	[thread overview]
Message-ID: <87wr54tl2h.fsf@Gmail.com> (raw)
In-Reply-To: 9375722.1784.1335298519900.JavaMail.geo-discussion-forums@ynee1

[-- 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 --]

  reply	other threads:[~2012-04-25  5:52 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 [this message]
     [not found] ` <mailman.609.1335333153.751.help-gnu-emacs@gnu.org>
2012-04-25 17:10   ` pinkiesOut

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=87wr54tl2h.fsf@Gmail.com \
    --to=xecycle@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.