Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _iwconfig modu
- X-seq: zsh-workers 23568
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: _iwconfig modu
- Date: Mon, 18 Jun 2007 17:03:11 -0400
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author