emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/net/net-utils.el,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/net/net-utils.el,v
Date: Sat, 23 Feb 2008 20:01:44 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       08/02/23 20:01:44

Index: net-utils.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/net/net-utils.el,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- net-utils.el        8 Jan 2008 20:45:56 -0000       1.27
+++ net-utils.el        23 Feb 2008 20:01:44 -0000      1.28
@@ -109,6 +109,16 @@
   :group 'net-utils
   :type  '(repeat string))
 
+(defcustom iwconfig-program "iwconfig"
+  "Program to print wireless network configuration information."
+  :group 'net-utils
+  :type 'string)
+
+(defcustom iwconfig-program-options nil
+ "Options for `iwconfig-program'."
+ :group 'net-utils
+ :type '(repeat string))
+
 (defcustom netstat-program  "netstat"
   "Program to print network statistics."
   :group 'net-utils
@@ -366,6 +376,16 @@
 (defalias 'ifconfig 'ipconfig)
 
 ;;;###autoload
+(defun iwconfig ()
+  "Run iwconfig program."
+  (interactive)
+  (net-utils-run-program
+   "Iwconfig"
+   (concat "** Iwconfig ** " iwconfig-program " ** ")
+   iwconfig-program
+   iwconfig-program-options))
+
+;;;###autoload
 (defun netstat ()
   "Run netstat program."
   (interactive)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]