From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: clemens fischer Newsgroups: gmane.emacs.help Subject: eshell completer for openssl(1)/gpg(1) commands? Date: Mon, 09 Dec 2002 19:01:27 +0100 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039471430 28692 80.91.224.249 (9 Dec 2002 22:03:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Dec 2002 22:03:50 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18LVzj-0007QI-01 for ; Mon, 09 Dec 2002 23:03:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LVxp-00052P-04 for gnu-help-gnu-emacs@m.gmane.org; Mon, 09 Dec 2002 17:01:21 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18LVxd-000527-00 for help-gnu-emacs@gnu.org; Mon, 09 Dec 2002 17:01:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18LVxb-00051w-00 for help-gnu-emacs@gnu.org; Mon, 09 Dec 2002 17:01:08 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LVxb-00051f-00 for help-gnu-emacs@gnu.org; Mon, 09 Dec 2002 17:01:07 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18LVx1-0007CT-00 for ; Mon, 09 Dec 2002 23:00:31 +0100 Original-To: help-gnu-emacs@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18LSE5-00063Y-00 for ; Mon, 09 Dec 2002 19:01:53 +0100 Original-Path: ID-23066.news.dfncis.de!not-for-mail Original-Lines: 12 Original-NNTP-Posting-Host: p3e9baadf.dip.t-dialin.net Original-X-Trace: main.gmane.org 1039456913 23189 62.155.170.223 (9 Dec 2002 18:01:53 GMT) Original-X-Complaints-To: usenet@main.gmane.org Original-NNTP-Posting-Date: Mon, 9 Dec 2002 18:01:53 +0000 (UTC) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i386-unknown-freebsd4.3) Cancel-Lock: sha1:STUmI4gdyIY4f/3mEdfN4dxGUsI= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4446 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4446 i still don't know how to write completers for some external commands to eshell. i have them ready for bash, though. for that, i massage the output of ` --help' or `openssl list-standard-commands' and present their output as the possible results. when the user types something, i just grep for it to reduce the possible matches in number. same goes for the many `./configure' scripts included in many packages. could somebody give a skeleton or a FAQ or TFM? the eshell documentation and the one for pcomplete is not enough for me. clemens