From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Allfrey Newsgroups: gmane.emacs.bugs Subject: how to persuade shell/ssh mode to use remote dynamic completion. Date: Fri, 26 Jul 2002 11:39:13 +0200 Organization: EPFL Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <3D4118C1.6AABE580@epfl.ch> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1027676399 26080 127.0.0.1 (26 Jul 2002 09:39:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 26 Jul 2002 09:39:59 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Y1Zm-0006mX-00 for ; Fri, 26 Jul 2002 11:39:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17Y1a5-00087u-00; Fri, 26 Jul 2002 05:40:17 -0400 Original-Received: from sicinfo.epfl.ch ([128.178.50.84]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17Y1ZI-00086t-00 for ; Fri, 26 Jul 2002 05:39:28 -0400 Original-Received: from epflnews.epfl.ch (news@localhost [127.0.0.1]) by sicinfo.epfl.ch (8.8.X/EPFL-8.1a) with SMTP id LAA13026 for ; Fri, 26 Jul 2002 11:39:21 +0200 (MET DST) Original-To: gnu-emacs-bug@gnu.org X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.16170702a i686) X-Accept-Language: en Original-Newsgroups: gnu.emacs.bug Original-NNTP-Posting-Host: crpppc138.epfl.ch Original-X-Trace: epflnews.epfl.ch 1027676354 crpppc138.epfl.ch (26 Jul 2002 11:39:14 +0200) Original-Lines: 20 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2915 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2915 Most machines I connect to will only accept secure connections. Under ssh remote directory tracking (via tramp/ssh), while possible can be very slow. In the case of gateway scenario where the remote machines do not support the inline tramp methods, directory tracking becomes impossible. Thus I look to the remote shell to support command/filename completion but I want to avoid if at all possible using the unfriendly term mode. I have been hacking into shell.el/comint.el to try to pass a literal TAB(remotely bound to completion) to the remote shell and read the resulting completion. However, even after attempting to remove all output-filter-functions I get nothing back. Any chance of some code which will replace the current input line with the remote shell's idea of it's completion? Tanks, simon.allfrey@epfl.ch