zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: PATCH: _iwconfig modu
Date: Mon, 18 Jun 2007 17:03:11 -0400	[thread overview]
Message-ID: <20070618210311.GA28079@scowler.net> (raw)

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


                 reply	other threads:[~2007-06-18 21:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070618210311.GA28079@scowler.net \
    --to=clint@zsh.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).