From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yoni Rabkin Newsgroups: gmane.emacs.devel Subject: Re: Adding M-x iwconfig to net-utils.el Date: Fri, 08 Feb 2008 06:21:02 +0200 Message-ID: <87hcgkjcy9.fsf@rabkins.net> References: <87lk5wkh1c.fsf@rabkins.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202444587 27132 80.91.229.12 (8 Feb 2008 04:23:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2008 04:23:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 08 05:23:28 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JNKln-0001l2-Im for ged-emacs-devel@m.gmane.org; Fri, 08 Feb 2008 05:23:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNKlK-0008KO-Me for ged-emacs-devel@m.gmane.org; Thu, 07 Feb 2008 23:22:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNKlH-0008KG-1S for emacs-devel@gnu.org; Thu, 07 Feb 2008 23:22:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNKlE-0008Js-Ae for emacs-devel@gnu.org; Thu, 07 Feb 2008 23:22:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNKlE-0008Jp-4q for emacs-devel@gnu.org; Thu, 07 Feb 2008 23:22:48 -0500 Original-Received: from mailgw.comm.net.il ([193.238.208.251]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JNKlD-0006x8-Jf for emacs-devel@gnu.org; Thu, 07 Feb 2008 23:22:48 -0500 Original-Received: from rabkins.net (www.rabkins.net [193.238.208.83]) by mailgw.comm.net.il (8.12.8/8.12.8) with ESMTP id m183FhOp027142 for ; Fri, 8 Feb 2008 05:15:44 +0200 Original-Received: from ardbeg.rabkins.net [62.56.252.178] by rabkins.net with ESMTP (SMTPD32-8.15) id A9478D0128; Fri, 08 Feb 2008 06:23:35 +0200 X-Ethics: Use GNU In-Reply-To: (Miles Bader's message of "Fri, 08 Feb 2008 11:43:08 +0900") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88496 Archived-At: Miles Bader writes: > Yoni Rabkin writes: >> I've added to wireless.el (a small library of mine) the ability to call >> iwconfig diagnostically via "M-x iwconfig", as per the interface >> net-utils.el provides to ifconfig, netstat etc. > > BTW, why does net-utils.el constantly refer to it as "ipconfig", when > clearly it's running "ifconfig"? Every system I've ever used has called > it "ifconfig", so it seems very weird... It must be a Microsoft Windows thing, since the net-utils.el code says: (defcustom ipconfig-program (if (eq system-type 'windows-nt) "ipconfig" "ifconfig") ... -- "Cut your own wood and it will warm you twice"