From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: Disabling command completion in eshell? Date: Sat, 25 Sep 2004 19:02:08 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <86mzze1dv3.fsf@ketchup.de.uu.net> References: <5eok6ui8sgb.fsf@dsplindt038.i-did-not-set--mail-host-address--so-shoot-me> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096135944 31246 80.91.229.6 (25 Sep 2004 18:12:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Sep 2004 18:12:24 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 25 20:12:17 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CBH1s-00076z-00 for ; Sat, 25 Sep 2004 20:12:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CBH7z-0000CZ-Jr for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Sep 2004 14:18:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CBH7o-0000CJ-H0 for help-gnu-emacs@gnu.org; Sat, 25 Sep 2004 14:18:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CBH7n-0000Bp-JD for help-gnu-emacs@gnu.org; Sat, 25 Sep 2004 14:18:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CBH7n-0000Bm-HF for help-gnu-emacs@gnu.org; Sat, 25 Sep 2004 14:18:23 -0400 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CBH1I-0006io-5g for help-gnu-emacs@gnu.org; Sat, 25 Sep 2004 14:11:40 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CBGye-0001lf-00 for ; Sat, 25 Sep 2004 20:08:56 +0200 Original-Received: from pd9e1e11e.dip.t-dialin.net ([217.225.225.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Sep 2004 20:08:56 +0200 Original-Received: from kai by pd9e1e11e.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Sep 2004 20:08:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd9e1e11e.dip.t-dialin.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:r80Gcu1ao44ftZiVcjmsKO9a0bQ= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 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 Xref: main.gmane.org gmane.emacs.help:20887 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20887 bgm-rao@ieee.org writes: > How do I disable completion on a eshell prompt? This won't work for the question you have. > If I launch an interactive program from within eshell, > I find that program's command completion is disabled. Is there a way to > work-around to ensure that programs started out of eshell behave the > way they do from within a normal tcsh xterm? The problem is that eshell is not a normal terminal. In a normal terminal, every keypress, including TAB, is sent to the application right away. In eshell, however, stuff you type is sent to the application en bloc when you hit RET. But you can run your program with M-x term RET. That sends every keypress directly to the application. Eshell also knows to invoke M-x term RET automatically for some programs, such as vi. So you could hook into that mechanism to invoke term for your program, too. Kai