[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding M-x iwconfig to net-utils.el
From: |
Yoni Rabkin |
Subject: |
Re: Adding M-x iwconfig to net-utils.el |
Date: |
Fri, 08 Feb 2008 06:42:02 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) |
Miles Bader <address@hidden> writes:
> Yoni Rabkin <address@hidden> writes:
>>> 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")
>
> Yuck... Emacs shouldn't be using windows-influenced names, I think.
That can be added to my proposed patch easily enough, or as an
additional trivial patch.
It would also probably change the name of the buffer and the current
net-utils.el alias:
;; This is the normal name on most Unixes.
;;;###autoload
(defalias 'ifconfig 'ipconfig)
...to:
;; This is the the name of the command on Windows NT.
;;;###autoload
(defalias 'ipconfig 'ifconfig)
--
"Cut your own wood and it will warm you twice"
- Adding M-x iwconfig to net-utils.el, Yoni Rabkin, 2008/02/07
- Re: Adding M-x iwconfig to net-utils.el, Miles Bader, 2008/02/07
- Re: Adding M-x iwconfig to net-utils.el, Yoni Rabkin, 2008/02/07
- Re: Adding M-x iwconfig to net-utils.el, Richard Stallman, 2008/02/08
- Re: Adding M-x iwconfig to net-utils.el, Glenn Morris, 2008/02/08
- Re: Adding M-x iwconfig to net-utils.el, Miles Bader, 2008/02/08
- Re: Adding M-x iwconfig to net-utils.el, Glenn Morris, 2008/02/08
- Re: Adding M-x iwconfig to net-utils.el, Stefan Monnier, 2008/02/08
- Re: Adding M-x iwconfig to net-utils.el, Miles Bader, 2008/02/08
- Re: Adding M-x iwconfig to net-utils.el, Stephen J. Turnbull, 2008/02/08
- Re: Adding M-x iwconfig to net-utils.el, Juanma Barranquero, 2008/02/09
- Re: Adding M-x iwconfig to net-utils.el, Richard Stallman, 2008/02/09
- Re: Adding M-x iwconfig to net-utils.el, Glenn Morris, 2008/02/09