aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1999-07-30 15:39:42 +0000
committerKarl Heuer1999-07-30 15:39:42 +0000
commit9fcc68f7d7d52590a8346d05f3d10b75a83cfd5e (patch)
treed6bc82052d8be19ed7ad33bf21722cb276707a94
parentc121260611ead7c1da416fd425357438cb34f160 (diff)
downloademacs-9fcc68f7d7d52590a8346d05f3d10b75a83cfd5e.tar.gz
emacs-9fcc68f7d7d52590a8346d05f3d10b75a83cfd5e.zip
(finger): Don't do indirect fingering.
-rw-r--r--lisp/net-utils.el18
1 files changed, 6 insertions, 12 deletions
diff --git a/lisp/net-utils.el b/lisp/net-utils.el
index 48698db99bf..08aab61f6c8 100644
--- a/lisp/net-utils.el
+++ b/lisp/net-utils.el
@@ -560,7 +560,7 @@ This list in not complete.")
560 (interactive 560 (interactive
561 (let* ((answer (read-from-minibuffer "Finger User: " 561 (let* ((answer (read-from-minibuffer "Finger User: "
562 (net-utils-url-at-point))) 562 (net-utils-url-at-point)))
563 (index (string-match (regexp-quote "@") answer))) 563 (index (string-match "@" answer)))
564 (if index 564 (if index
565 (list 565 (list
566 (substring answer 0 index) 566 (substring answer 0 index)
@@ -568,17 +568,11 @@ This list in not complete.")
568 (list 568 (list
569 answer 569 answer
570 (read-from-minibuffer "At Host: " (net-utils-machine-at-point)))))) 570 (read-from-minibuffer "At Host: " (net-utils-machine-at-point))))))
571 (let* ( 571 (run-network-program
572 (user-and-host (concat user "@" host)) 572 (concat "Finger [" user "@" host "]")
573 (process-name 573 host
574 (concat "Finger [" user-and-host "]")) 574 (cdr (assoc 'finger network-connection-service-alist))
575 ) 575 user))
576 (run-network-program
577 process-name
578 host
579 (cdr (assoc 'finger network-connection-service-alist))
580 user-and-host
581 )))
582 576
583(defcustom whois-server-name "whois.arin.net" 577(defcustom whois-server-name "whois.arin.net"
584 "Default host name for the whois service." 578 "Default host name for the whois service."