diff options
| author | Miles Bader | 2008-03-01 01:28:31 +0000 |
|---|---|---|
| committer | Miles Bader | 2008-03-01 01:28:31 +0000 |
| commit | 51fb064bc72968e739e8dea580e58796c1a87f4c (patch) | |
| tree | 80c29b96dbb547a7c8db57a6d57ae4c6d2bfc1ca /lisp/net | |
| parent | 14e8de0c3f87a228c05902be66c5bcf953636611 (diff) | |
| parent | 613f60eeb171e5ad881f52d9e7c0ffce2e182fcb (diff) | |
| download | emacs-51fb064bc72968e739e8dea580e58796c1a87f4c.tar.gz emacs-51fb064bc72968e739e8dea580e58796c1a87f4c.zip | |
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1090
Diffstat (limited to 'lisp/net')
| -rw-r--r-- | lisp/net/net-utils.el | 42 |
1 files changed, 20 insertions, 22 deletions
diff --git a/lisp/net/net-utils.el b/lisp/net/net-utils.el index 8492fa2912d..910dd322b6f 100644 --- a/lisp/net/net-utils.el +++ b/lisp/net/net-utils.el | |||
| @@ -105,7 +105,7 @@ These options can be used to limit how many ICMP packets are emitted." | |||
| 105 | (list | 105 | (list |
| 106 | (if (eq system-type 'windows-nt) | 106 | (if (eq system-type 'windows-nt) |
| 107 | "/all" "-a")) | 107 | "/all" "-a")) |
| 108 | "Options for `ifconfig-program'." | 108 | "Options for the ifconfig program." |
| 109 | :group 'net-utils | 109 | :group 'net-utils |
| 110 | :type '(repeat string)) | 110 | :type '(repeat string)) |
| 111 | 111 | ||
| @@ -124,25 +124,25 @@ These options can be used to limit how many ICMP packets are emitted." | |||
| 124 | (define-obsolete-variable-alias 'ipconfig-program-options | 124 | (define-obsolete-variable-alias 'ipconfig-program-options |
| 125 | 'ifconfig-program-options "22.2") | 125 | 'ifconfig-program-options "22.2") |
| 126 | 126 | ||
| 127 | (defcustom netstat-program "netstat" | 127 | (defcustom netstat-program "netstat" |
| 128 | "Program to print network statistics." | 128 | "Program to print network statistics." |
| 129 | :group 'net-utils | 129 | :group 'net-utils |
| 130 | :type 'string) | 130 | :type 'string) |
| 131 | 131 | ||
| 132 | (defcustom netstat-program-options | 132 | (defcustom netstat-program-options |
| 133 | (list "-a") | 133 | (list "-a") |
| 134 | "Options for netstat-program." | 134 | "Options for the netstat program." |
| 135 | :group 'net-utils | 135 | :group 'net-utils |
| 136 | :type '(repeat string)) | 136 | :type '(repeat string)) |
| 137 | 137 | ||
| 138 | (defcustom arp-program "arp" | 138 | (defcustom arp-program "arp" |
| 139 | "Program to print IP to address translation tables." | 139 | "Program to print IP to address translation tables." |
| 140 | :group 'net-utils | 140 | :group 'net-utils |
| 141 | :type 'string) | 141 | :type 'string) |
| 142 | 142 | ||
| 143 | (defcustom arp-program-options | 143 | (defcustom arp-program-options |
| 144 | (list "-a") | 144 | (list "-a") |
| 145 | "Options for arp-program." | 145 | "Options for the arp program." |
| 146 | :group 'net-utils | 146 | :group 'net-utils |
| 147 | :type '(repeat string)) | 147 | :type '(repeat string)) |
| 148 | 148 | ||
| @@ -158,17 +158,17 @@ These options can be used to limit how many ICMP packets are emitted." | |||
| 158 | (if (eq system-type 'windows-nt) | 158 | (if (eq system-type 'windows-nt) |
| 159 | (list "print") | 159 | (list "print") |
| 160 | (list "-r")) | 160 | (list "-r")) |
| 161 | "Options for route-program." | 161 | "Options for the route program." |
| 162 | :group 'net-utils | 162 | :group 'net-utils |
| 163 | :type '(repeat string)) | 163 | :type '(repeat string)) |
| 164 | 164 | ||
| 165 | (defcustom nslookup-program "nslookup" | 165 | (defcustom nslookup-program "nslookup" |
| 166 | "Program to interactively query DNS information." | 166 | "Program to interactively query DNS information." |
| 167 | :group 'net-utils | 167 | :group 'net-utils |
| 168 | :type 'string) | 168 | :type 'string) |
| 169 | 169 | ||
| 170 | (defcustom nslookup-program-options nil | 170 | (defcustom nslookup-program-options nil |
| 171 | "List of options to pass to the nslookup program." | 171 | "Options for the nslookup program." |
| 172 | :group 'net-utils | 172 | :group 'net-utils |
| 173 | :type '(repeat string)) | 173 | :type '(repeat string)) |
| 174 | 174 | ||
| @@ -180,18 +180,18 @@ This variable is only used if the variable | |||
| 180 | :group 'net-utils | 180 | :group 'net-utils |
| 181 | :type 'regexp) | 181 | :type 'regexp) |
| 182 | 182 | ||
| 183 | (defcustom dig-program "dig" | 183 | (defcustom dig-program "dig" |
| 184 | "Program to query DNS information." | 184 | "Program to query DNS information." |
| 185 | :group 'net-utils | 185 | :group 'net-utils |
| 186 | :type 'string) | 186 | :type 'string) |
| 187 | 187 | ||
| 188 | (defcustom ftp-program "ftp" | 188 | (defcustom ftp-program "ftp" |
| 189 | "Progam to run to do FTP transfers." | 189 | "Program to run to do FTP transfers." |
| 190 | :group 'net-utils | 190 | :group 'net-utils |
| 191 | :type 'string) | 191 | :type 'string) |
| 192 | 192 | ||
| 193 | (defcustom ftp-program-options nil | 193 | (defcustom ftp-program-options nil |
| 194 | "List of options to pass to the FTP program." | 194 | "Options for the ftp program." |
| 195 | :group 'net-utils | 195 | :group 'net-utils |
| 196 | :type '(repeat string)) | 196 | :type '(repeat string)) |
| 197 | 197 | ||
| @@ -209,7 +209,7 @@ This variable is only used if the variable | |||
| 209 | :type 'string) | 209 | :type 'string) |
| 210 | 210 | ||
| 211 | (defcustom smbclient-program-options nil | 211 | (defcustom smbclient-program-options nil |
| 212 | "List of options to pass to the smbclient program." | 212 | "Options for the smbclient program." |
| 213 | :group 'net-utils | 213 | :group 'net-utils |
| 214 | :type '(repeat string)) | 214 | :type '(repeat string)) |
| 215 | 215 | ||
| @@ -221,17 +221,15 @@ This variable is only used if the variable | |||
| 221 | :group 'net-utils | 221 | :group 'net-utils |
| 222 | :type 'regexp) | 222 | :type 'regexp) |
| 223 | 223 | ||
| 224 | (defcustom dns-lookup-program "host" | 224 | (defcustom dns-lookup-program "host" |
| 225 | "Program to interactively query DNS information." | 225 | "Program to interactively query DNS information." |
| 226 | :group 'net-utils | 226 | :group 'net-utils |
| 227 | :type 'string | 227 | :type 'string) |
| 228 | ) | ||
| 229 | 228 | ||
| 230 | (defcustom dns-lookup-program-options nil | 229 | (defcustom dns-lookup-program-options nil |
| 231 | "List of options to pass to the dns-lookup program." | 230 | "Options for the dns-lookup program." |
| 232 | :group 'net-utils | 231 | :group 'net-utils |
| 233 | :type '(repeat string) | 232 | :type '(repeat string)) |
| 234 | ) | ||
| 235 | 233 | ||
| 236 | ;; Internal variables | 234 | ;; Internal variables |
| 237 | (defvar network-connection-service nil) | 235 | (defvar network-connection-service nil) |
| @@ -397,7 +395,7 @@ If your system's ping continues until interrupted, you can try setting | |||
| 397 | 395 | ||
| 398 | ;;;###autoload | 396 | ;;;###autoload |
| 399 | (defun arp () | 397 | (defun arp () |
| 400 | "Run the arp program." | 398 | "Run arp program." |
| 401 | (interactive) | 399 | (interactive) |
| 402 | (net-utils-run-program | 400 | (net-utils-run-program |
| 403 | "Arp" | 401 | "Arp" |
| @@ -407,7 +405,7 @@ If your system's ping continues until interrupted, you can try setting | |||
| 407 | 405 | ||
| 408 | ;;;###autoload | 406 | ;;;###autoload |
| 409 | (defun route () | 407 | (defun route () |
| 410 | "Run the route program." | 408 | "Run route program." |
| 411 | (interactive) | 409 | (interactive) |
| 412 | (net-utils-run-program | 410 | (net-utils-run-program |
| 413 | "Route" | 411 | "Route" |