diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-01-18 19:47:32 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-01-18 19:47:32 +0000 |
commit | 0463f27b613dba0f1f6d1c20b568a707d54ab507 (patch) | |
tree | 86c4f516edafe9800160dc1e63eb1f388c83cc58 /lisp/telnet.el | |
parent | 83bc445fbd9f3af75b2c1fd80c5989669cc201e1 (diff) | |
download | emacs-0463f27b613dba0f1f6d1c20b568a707d54ab507.tar.gz |
(rsh): Use new global remote-shell-program.
Diffstat (limited to 'lisp/telnet.el')
-rw-r--r-- | lisp/telnet.el | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/telnet.el b/lisp/telnet.el index 27de4ffbb24..7e97b406c52 100644 --- a/lisp/telnet.el +++ b/lisp/telnet.el @@ -66,11 +66,6 @@ (defvar telnet-program "telnet" "Program to run to open a telnet connection.") -(defvar rsh-program - (if (memq system-type '(hpux usg-unix-v)) - "remsh" "rsh") - "Program to run for opening a remote shell.") - (defvar telnet-initial-count -50 "Initial value of `telnet-count'. Should be set to the negative of the number of terminal writes telnet will make setting up the host connection.") @@ -227,7 +222,7 @@ Normally input is edited in Emacs and sent a line at a time." (interactive "sOpen rsh connection to host: ") (require 'shell) (let ((name (concat host "-rsh" ))) - (switch-to-buffer (make-comint name rsh-program nil host)) + (switch-to-buffer (make-comint name remote-shell-program nil host)) (set-process-filter (get-process name) 'telnet-initial-filter) (telnet-mode) (setq telnet-count -16))) |