From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id VAA13420 for ; Mon, 26 Jun 1995 21:44:23 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA24109 (5.65c/Gatech-10.0-IDA for ); Mon, 26 Jun 1995 07:26:20 -0400 Received: by math (5.x/SMI-SVR4) id AA07194; Mon, 26 Jun 1995 07:23:46 -0400 Resent-Date: Mon, 26 Jun 1995 13:23:16 +0200 (MET DST) Old-Return-Path: Message-Id: From: leitner@inf.fu-berlin.de (Felix von Leitner) Subject: proposal: GDBM completion To: zsh-list@sterling.com (Z-Shell Liste) Date: Mon, 26 Jun 1995 13:23:16 +0200 (MET DST) X-Url: http://www.inf.fu-berlin.de/~leitner X-Shell: zsh (ftp://ftp.fu-berlin.de/unix/shells/zsh/) X-Editor: vim (ftp://ftp.fu-berlin.de/unix/editors/vim/) X-Nickname: Fefe X-Mailer: ELM [version 2.5 PL0a1] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Resent-Message-Id: <"Cd_DL.0.Gm1.1Zfxl"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/114 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hi folks ! I wonder whether we could implement some data base completion. What I want to have is man page completion, but reading all the man pages from an NFS server is very slow, and we have so many man pages installed that I don't want zsh to keep the list in memory. The newer Berkeley db library has a B-tree database type, which can be searched the way we need to implement completion. Wouldn't it be possible to implement some database lookup completion ? I'd like to write a new man(1) which uses the database to find the man pages, and I'd like to have zsh complete my man pages ;) Felix -- (------------------------------------------------------------------) Good programmers write good code; great programmers 'borrow' good code. "Who is General Failure and why is he reading my hard disk ?" PGP public key available (mail me with the subject "send key") PGP public key fingerprint 05 B9 C9 43 3C 96 C5 1E FD E4 EF 45 E1 A0 09 4D