From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2662 invoked from network); 13 Aug 1999 08:40:56 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 13 Aug 1999 08:40:56 -0000 Received: (qmail 7010 invoked by alias); 13 Aug 1999 08:40:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7429 Received: (qmail 7003 invoked from network); 13 Aug 1999 08:40:43 -0000 Date: Fri, 13 Aug 1999 10:40:41 +0200 (MET DST) Message-Id: <199908130840.KAA04668@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Tanaka Akira's message of 13 Aug 1999 09:35:55 +0900 Subject: Re: PATCH: _ps, _pdf and _pspdf. Tanaka Akira wrote: > I found small problems in _pbm and _colors. Thanks for the fixes. I forgot to handle all those *p[bgpn]m commands. Some day I'd like to enhance _complete_opts (isn't there a better name?) to be able to handle the stuff for _pbm, too. Maybe even by giving only some kind of command line description, so that it can automatically display descriptions of what is expected at a certain position. Bye Sven diff -u -r oc/User/_pbm Completion/User/_pbm --- oc/User/_pbm Fri Aug 13 09:21:01 1999 +++ Completion/User/_pbm Fri Aug 13 09:39:23 1999 @@ -1,4 +1,4 @@ -#compdef -p p[bgpn]m* +#compdef -p (p[bgpn]m*|*top[bgpn]m) local pat opts ret=1 @@ -51,6 +51,15 @@ pnmtosgi 'imagename' pnmtotiff 'predictor rowsperstrip' pnmtoxwd 'pseudodepth' + asciitopgm 'd' + fitstopgm 'image' + fitstopnm 'image min max' + giftopnm 'image' + macptopbm 'extraskip' + pstopnm 'llx lly urx ury xborder xmax xsize yborder ymax ysize' + rawtopgm 'headerskip rowskip' + rawtoppm 'headerskip rowskip' + sldtoppm 'height ysize lib Lib scale width xsize' ) # Options without arguments. @@ -99,6 +108,17 @@ pnmtosgi 'verbatim rle' pnmtotiff 'none packbits lzw g3 g4 2d fill msb2lsb lsb2msb' pnmtoxwd 'directcolor' + fitstopnm 'noraw scanmax printmax' + g3topbm 'kludge reversebits stretch' + giftopnm 'verbose comments' + picttoppm 'verbose' + pstopnm 'forceplain help landscape portrait nocrop pbm pgm ppm verbose' + rawtoppm 'rgb rbg grb gbr brg bgr interpixel interrow' + sgitopnm 'verbose' + sldtoppm 'adjust dir info verbose' + tgatoppm 'debug' + tifftopnm 'headerdump' + zeisstopnm 'pgm ppm' ) fi -- Sven Wischnowsky wischnow@informatik.hu-berlin.de