From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28332 invoked from network); 5 Jan 2000 17:07:11 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 Jan 2000 17:07:11 -0000 Received: (qmail 29833 invoked by alias); 5 Jan 2000 17:07:06 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9223 Received: (qmail 29826 invoked from network); 5 Jan 2000 17:07:05 -0000 To: "Zsh workers" Subject: Re: help with command completion References: <000001bf579b$e6e4b980$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 06 Jan 2000 02:07:02 +0900 In-Reply-To: "Andrej Borsenkow"'s message of "Wed, 5 Jan 2000 19:42:49 +0300" Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) In article <000001bf579b$e6e4b980$21c9ca95@mow.siemens.ru>, "Andrej Borsenkow" writes: > I do not use systems with printcap myself, but termcap (and terminfo, BTW) > description states, that terminal aliases are separated by | with the last one > being the "long, user friendly, name". I believe, printcap behaves the same way. I tested it on SunOS 4.1. I wonder that a last entry can be used as printer name. Of course spaces must be quoted in a shell. > So, the last entry should probably be ignored. Better yet, it is the one that > should be presented in verbose mode :-) I think only first entries should be completed at first since latter entries are aliases and they are not so important. But they should be completed if first entries are not matched. -- Tanaka Akira