summaryrefslogtreecommitdiff
path: root/lisp/net/net-utils.el
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2018Paul Eggert2018-01-011-1/+1
| | | | Run admin/update-copyright.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-131-1/+1
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* Improve doc strings in net-utils.elEli Zaretskii2017-05-121-15/+24
| | | | | | | | * lisp/net/net-utils.el (ifconfig, iwconfig, netstat, arp) (route, traceroute, nslookup, ftp, smbclient) (smbclient-list-shares, finger, whois) (network-connection-to-service, network-service-connection) (network-connection-reconnect): Improve doc strings.
* Extend DNS lookup commands to allow specifying the name serverAndrew Robbins2017-05-121-21/+42
| | | | | | | | | | | | * lisp/net/net-utils.el (ffap-string-at-point): Removed due to 'net-utils-machine-at-point' obviating this autoloaded function (Bug#25426). (dig-program-options): New customization variable. (nslookup-host, dns-lookup-host, run-dig): Can now specify optional name server argument interactively (by prefix arg) and non-interactively. * etc/NEWS: Mention the extension of DNS lookup commands.
* Merge from origin/emacs-25Paul Eggert2017-01-011-1/+1
|\ | | | | | | | | 2e2a806 Fix copyright years by hand 5badc81 Update copyright year to 2017
| * Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | | | | | Run admin/update-copyright.
* | Update parameter :version to 26.1 in several defcustomTino Calancha2016-11-171-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following defcustom where added or modified for 25.2 release. In fact all these changes belong to 26.1 release. * lisp/battery.el (battery-linux-sysfs-regexp) * lisp/comint.el (comint-password-prompt-regexp) * lisp/dired.el (dired-always-read-filesystem) * lisp/image.el (image-scaling-factor) * lisp/ibuf-ext.el (ibuffer-never-search-content-name) (ibuffer-never-search-content-mode) * lisp/mouse.el (mouse-select-region-move-to-beginning) * lisp/net/net-utils.el (iwconfig-program, iwconfig-program-options) (netstat-program, route-program, route-program-options) * lisp/net/sieve-manage.el (sieve-manage-default-stream) * lisp/progmodes/grep.el (grep-save-buffers) * lisp/vc/add-log.el (change-log-directory-files) * lisp/url/url-vars.el (url-user-agent) * lisp/vc/vc-hg.el (vc-hg-symbolic-revision-styles) (vc-hg-use-file-version-for-mode-line-version) (vc-hg-parse-hg-data-structures) * lisp/wdired.el (wdired-create-parent-directories) * lisp/faces.el (homoglyph, nobreak-hyphen, read-multiple-choice-face) * lisp/gnus/gnus-art.el (gnus-article-encrypt-protocol) (gnus-button-url-regexp) * lisp/window.el (switch-to-buffer-preserve-window-point) * lisp/ibuffer.el (ibuffer-formats, ibuffer-locked-char) (ibuffer-locked-buffer) * lisp/textmodes/flyspell.el (flyspell-sort-corrections-function) * lisp/emacs-lisp/edebug.el (edebug-sit-on-break) * lisp/gnus/message.el (message-user-fqdn) * lisp/simple.el (shell-command-dont-erase-buffer) (extended-command-suggest-shorter) * lisp/net/shr.el (shr-use-fonts) * lisp/files.el (mounted-file-systems, kill-emacs-query-functions)
* | Teach net-utils more iproute2 and nl80211 toolsMark Oteiza2016-06-251-14/+28
| | | | | | | | | | | | | | | | | | * lisp/net/net-utils.el (iwconfig-program): Add iw(8). (iwconfig-program-options): Add "dev" argument for iw. Another useful option is "phy"; beyond that one needs to know the interface name. (netstat-program): Add ss(8). (route-program): Add ip(8). (route-program-options): Add "route" argument for ip.
* | Remove support for IRIXPaul Eggert2016-03-071-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | The IRIX port wasn’t really working anyway, and the code was getting in the way of other changes (e.g., getaddrinfo fixes). IRIX’s supplier dropped support for IRIX in 2013. * admin/CPP-DEFINES: * configure.ac (opsys): * doc/lispref/os.texi (System Environment): * etc/MACHINES, etc/PROBLEMS: * lisp/find-dired.el (find-grep-options): * lisp/lpr.el (lpr-lp-system): * lisp/ls-lisp.el (ls-lisp-emulation): * lisp/mail/rmail.el (rmail-spool-directory): * lisp/net/net-utils.el (ping-program-options): * lisp/progmodes/gud.el (gud-irix-p, gud-dbx-use-stopformat-p): * lisp/progmodes/ps-mode.el (ps-mode-print-function): * src/conf_post.h [IRIX6_5]: * src/emacs.c (Vsystem_type): * src/filelock.c (get_boot_time_1): * src/process.c (process_send_signal): * src/unexelf.c (unexec): Omit IRIX-specific code and/or documentation. * configure.ac (NON_GCC_TEST_OPTIONS, IRIX6_5, PREFER_VSUSP): Remove. All uses removed. * etc/NEWS: Document the change.
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* ; * lisp/net/net-utils.el: Fix comment typo in previous.Glenn Morris2015-12-041-1/+1
|
* * lisp/net/net-utils.el: Small improvements.Glenn Morris2015-12-041-13/+22
| | | | | | | | (net-utils--executable-find-sbin): New function. (ifconfig-program): Check sbin directories. Fallback to "ip". (Bug#22091) (ifconfig-program-options): Check the actual program in use. (arp-program): Check sbin directories.
* Backslash cleanup in Elisp source filesPaul Eggert2015-09-171-1/+1
| | | | | | | | | | | This patch should not change behavior. It typically omits backslashes where they are redundant (e.g., in the string literal "^\$"). In a few places, insert backslashes where they make regular expressions clearer: e.g., replace "^\*" (equivalent to "^*") with "^\\*", which has the same effect as a regular expression. Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs, and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with RCS IDs, as that makes it clearer that the backslash is intended.
* Silence some compilation warningsGlenn Morris2015-04-301-0/+2
| | | | | | | | | | * lisp/emacs-lisp/check-declare.el (compilation-forget-errors): * lisp/emulation/cua-base.el (delete-active-region): * lisp/net/net-utils.el (w32-get-console-output-codepage): * lisp/term/ns-win.el (ns-own-selection-internal) (ns-disown-selection-internal, ns-selection-owner-p) (ns-selection-exists-p, ns-get-selection): Declare for compiler..
* Fix encoding of I/O in net-utils.el for MS-Windows. (Bug#19458)Eli Zaretskii2015-01-091-2/+18
| | | | | | lisp/net/net-utils.el (net-utils-run-program, net-utils-run-simple): On MS-Windows, bind coding-system-for-read to the console output codepage.
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Use completion-at-point rather than obsolete alias.Glenn Morris2013-05-291-2/+2
| | | | | | * net/net-utils.el (nslookup-mode-map, ftp-mode-map): * progmodes/tcl.el (inferior-tcl-mode-map): Use completion-at-point rather than obsolete alias.
* * lisp/net/net-utils.el (net-utils-remove-ctrl-m-filter):Thierry Volpiatto2013-03-111-25/+11
| | | | | | Use with-current-buffer and don't move point. (net-utils-run-simple): Remove useless code. (net-utils-remove-ctl-m): Remove unused custom.
* * lisp/net/net-utils.el (net-utils-run-simple): Don't display-bufferThierry Volpiatto2013-03-011-3/+4
| | | | | | when reverting. Fixes: debbugs:13831
* * lisp/net/net-utils.el (net-utils--revert-function): New fun.Thierry Volpiatto2013-02-281-14/+32
| | | | | | | | | (net-utils-mode): Use it. (net-utils--revert-cmd): New var. (net-utils-run-simple): Set it, and remove bogus interactive spec. (traceroute): Use net-utils-run-simple. Fixes: debbugs:13831
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Move keymap initialization into declaration.Stefan Monnier2011-02-101-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/enriched.el (enriched-mode-map): * lisp/textmodes/bib-mode.el (bib-mode-map): * lisp/term/lk201.el (lk201-function-map): * lisp/tar-mode.el (tar-mode-map): * lisp/replace.el (occur-mode-map): * lisp/progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map): * lisp/progmodes/idlw-help.el (idlwave-help-mode-map): * lisp/progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu): * lisp/play/solitaire.el (solitaire-mode-map): * lisp/play/snake.el (snake-mode-map, snake-null-map): * lisp/play/pong.el (pong-mode-map): * lisp/play/handwrite.el (menu-bar-handwrite-map): * lisp/play/gametree.el (gametree-mode-map): * lisp/net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map): * lisp/net/newst-plainview.el (newsticker-menu, newsticker-mode-map) (newsticker--url-keymap): * lisp/net/net-utils.el (nslookup-mode-map, ftp-mode-map): * lisp/menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu) (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu) (menu-bar-edit-menu, menu-bar-custom-menu) (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu) (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu) (menu-bar-line-wrapping-menu, menu-bar-options-menu) (menu-bar-games-menu, menu-bar-encryption-decryption-menu) (menu-bar-tools-menu, menu-bar-describe-menu) (menu-bar-search-documentation-menu, menu-bar-manuals-menu) (menu-bar-help-menu): * lisp/mail/rmailsum.el (rmail-summary-mode-map): * lisp/kmacro.el (kmacro-step-edit-map): * lisp/ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map) (ibuffer-mode-operate-map): * lisp/hi-lock.el (hi-lock-menu, hi-lock-map): * lisp/emulation/vip.el (vip-mode-map): * lisp/emacs-lisp/re-builder.el (reb-lisp-mode-map): * lisp/bookmark.el (bookmark-bmenu-mode-map): * lisp/help-mode.el (help-mode-map): * lisp/erc/erc-list.el (erc-list-menu-mode-map): * lisp/org/org-remember.el (org-remember-mode-map): * lisp/org/org-src.el (org-src-mode-map): Move initialization into declaration.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | net-utils system-type trivia.Glenn Morris2010-11-091-4/+2
|/ | | | | * lisp/net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types. (ping-program-options): Remove non-existent `linux' system-type.
* Move some aliases to options before the associated definitions.Glenn Morris2010-09-231-3/+3
| | | | | | | | | * isearch.el (isearch-lazy-highlight-cleanup) (isearch-lazy-highlight-initial-delay) (isearch-lazy-highlight-interval) (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face): * net/net-utils.el (ipconfig-program-options): Move aliases to options before the associated definitions.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Fix typos.Juanma Barranquero2009-09-241-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allout.el * dired-aux.el * dired-x.el * epa-file.el * ps-print.el * shell.el * vc-hooks.el * vc-rcs.el * vc-sccs.el * vc.el * view.el * wdired.el * emacs-lisp/authors.el * net/dig.el * net/socks.el * net/zeroconf.el * obsolete/vc-mcvs.el * progmodes/gdb-mi.el * progmodes/grep.el * progmodes/idlw-help.el * progmodes/idlw-shell.el * progmodes/idlwave.el * progmodes/inf-lisp.el * textmodes/bibtex.el * textmodes/ispell.el * textmodes/reftex-toc.el
* (nslookup): Use make-comint rather than comint-run.Glenn Morris2009-09-011-3/+3
|
* * net/net-utils.el (net-utils-font-lock-keywords): New var.Chong Yidong2009-08-081-67/+109
| | | | | | | | (nslookup-font-lock-keywords): Make it a variable. (net-utils-mode): New mode for viewing diagnostic network output. (net-utils-remove-ctrl-m-filter): Set inhibit-read-only. (net-utils-run-simple): New function. (ifconfig, iwconfig, netstat, arp, route): Use it.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* Move non-autoloaded define-obsolete-variable-alias calls forGlenn Morris2008-04-121-5/+5
| | | | defcustoms not in dumped files before the associated defcustom.
* Fix up comment convention on the arch-tag lines.Stefan Monnier2008-04-101-1/+1
|
* (iwconfig-program-options): Doc fix.Juanma Barranquero2008-03-111-25/+20
| | | | (net-utils-run-program, run-network-program): Define as functions.
* Merge from emacs--rel--22Miles Bader2008-03-011-22/+20
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1090
| * (ftp-program): Fix typo in docstring.Juanma Barranquero2008-02-261-24/+21
| | | | | | | | | | | | (ifconfig-program-options, netstat-program-options, arp-program-options, route-program-options, nslookup-program-options, ftp-program-options, smbclient-program-options, dns-lookup-program-options, arp, route): Doc fixes.
* | (top-level): Don't require comint when compiling.Glenn Morris2008-02-261-39/+34
| | | | | | | | | | | | | | | | | | | | | | (nslookup-font-lock-keywords): Don't require font-lock. Use font-lock faces rather than variables. (nslookup, ftp, smbclient, network-service-connection): Don't require comint. (comint-prompt-regexp, comint-input-autoexpand) (comint-input-ring): Declare for compiler. (comint-mode, ffap-string-at-point, comint-exec): Autoload. (dns-lookup-host): Don't require ffap. Remove `with-no-warnings'.
* | Merge from emacs--rel--22Miles Bader2008-02-241-11/+16
|\| | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
| * (ipconfig-program, ipconfig-program-options): Add obsolete aliases toGlenn Morris2008-02-091-0/+5
| | | | | | | | the old names.
| * (ifconfig): Renamed from ipconfig.Richard M. Stallman2008-02-081-11/+11
| | | | | | | | | | | | (ipconfig): Alas to ifconfig. (ifconfig-program): Renamed from ipconfig-program. (ifconfig-program-options): Renamed from ipconfig-program-options.
* | (iwconfig-program, iwconfig-program-options): Add :version.Glenn Morris2008-02-231-2/+4
| |
* | Yoni Rabkin <yoni at rabkins.net> (tiny change)Glenn Morris2008-02-231-0/+20
|/ | | | | (iwconfig-program, iwconfig-program-options): New variables. (iwconfig): New function.
* Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (whois-server-tld): Update server for .org.Romain Francoise2007-02-261-2/+6
| | | | | (whois-server-list): Add whois.publicinterestregistry.net. (whois-guess-server): Fix formatting in docstring.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|