From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: XeCycle Newsgroups: gmane.emacs.help Subject: Re: Broken eshell tab completion (pcomplete) over ssh Date: Wed, 25 Apr 2012 13:52:22 +0800 Message-ID: <87wr54tl2h.fsf@Gmail.com> References: <9375722.1784.1335298519900.JavaMail.geo-discussion-forums@ynee1> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1335333157 20900 80.91.229.3 (25 Apr 2012 05:52:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2012 05:52:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 25 07:52:37 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SMv9Y-00080t-Go for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Apr 2012 07:52:36 +0200 Original-Received: from localhost ([::1]:40834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMv9X-0002MQ-Ur for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Apr 2012 01:52:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMv9S-0002ML-AZ for help-gnu-emacs@gnu.org; Wed, 25 Apr 2012 01:52:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMv9Q-0006Dc-IN for help-gnu-emacs@gnu.org; Wed, 25 Apr 2012 01:52:29 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:50466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMv9Q-0006DY-BU for help-gnu-emacs@gnu.org; Wed, 25 Apr 2012 01:52:28 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SMv9M-0007s5-LG for help-gnu-emacs@gnu.org; Wed, 25 Apr 2012 07:52:24 +0200 Original-Received: from 59.78.37.25 ([59.78.37.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Apr 2012 07:52:24 +0200 Original-Received: from XeCycle by 59.78.37.25 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Apr 2012 07:52:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 59.78.37.25 User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:zKSdbsX8sDXXG5TzvO/YXtTgw+o= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84621 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable pinkiesOut 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:'. =2D-=20 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 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQEcBAEBAgAGBQJPl5EZAAoJEI1xjsR3leWRz+8H/2Mf5CVX84s80pQrNyjOPFYc MeAyJVyps5BGJKPXK8pPI58RKq7OKTMmDXh28NgBK6e3Lx+KEFIA4Wr8K45MO+3d /PuL1m0AE9rAoxmxzL8cxR9+W8xrLg4kAz+CDHEKYtaas0yj1eoo8gAWd/Xi+mY+ Zeevy8edVlzmkAptRV4U/UAWSKh+/9MO6hxO8WWs9129YIiwIySqY+7XEvjcG2Ai 2uUHemj3VO86BY5I4seV+8mb/jb89j401nNSXtAuAR0Cr1jwpaa6ma7lBVmzcTNA CwFc0/ocBWWGg7IP42XvAPPdLg5W88QDqEdw9fqAFZZdKUuo0xxMDGI4HpHjdXw= =d6WM -----END PGP SIGNATURE----- --=-=-=--