From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27181 invoked from network); 18 Jun 2007 21:03:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Jun 2007 21:03:28 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 11898 invoked from network); 18 Jun 2007 21:03:22 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Jun 2007 21:03:22 -0000 Received: (qmail 19685 invoked by alias); 18 Jun 2007 21:03:20 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23568 Received: (qmail 19676 invoked from network); 18 Jun 2007 21:03:19 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 18 Jun 2007 21:03:19 -0000 Received: (qmail 11585 invoked from network); 18 Jun 2007 21:03:18 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 18 Jun 2007 21:03:13 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id C83AB5C3C6; Mon, 18 Jun 2007 17:03:11 -0400 (EDT) Date: Mon, 18 Jun 2007 17:03:11 -0400 From: Clint Adams To: zsh-workers@sunsite.dk Subject: PATCH: _iwconfig modu Message-ID: <20070618210311.GA28079@scowler.net> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) This should try to parse iwlist modulation but my driver isn't giving anything for that so I can't help. Index: Completion/Linux/Command/_iwconfig =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Linux/Command/_iwconfig,v retrieving revision 1.2 diff -u -r1.2 _iwconfig --- Completion/Linux/Command/_iwconfig 24 Jun 2005 14:49:04 -0000 1.2 +++ Completion/Linux/Command/_iwconfig 18 Jun 2007 20:55:35 -0000 @@ -44,6 +44,7 @@ period|timeout) _message -e timeouts 'timeout' ;; txpower) _message -e power 'transmit power' ;; retry) _message -e retries 'retries' ;; + (modu) _wanted -x names expl 'modulation' compadd 11g CCK OFDMa auto ;; *) _values -S ' ' -w 'option' \ 'essid[set the network name]' \ @@ -60,6 +61,7 @@ '*power[manipulate power management scheme parameters]' \ 'txpower[set transmit power]' \ 'retry[set number of retries]' \ + 'modu[force a specific set of modulations]' \ 'commit[apply changes imediately]' && ret=0 ;; esac