summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/telnet.el13
1 files changed, 7 insertions, 6 deletions
diff --git a/lisp/net/telnet.el b/lisp/net/telnet.el
index 802e7bc0a28..bea79e89331 100644
--- a/lisp/net/telnet.el
+++ b/lisp/net/telnet.el
@@ -23,11 +23,11 @@
;;; Commentary:
-;; This mode is intended to be used for telnet or rsh to a remote host;
-;; `telnet' and `rsh' are the two entry points. Multiple telnet or rsh
-;; sessions are supported.
+;; This mode is intended to be used for telnet to a remote host;
+;; `telnet' is the entry point. Multiple telnet sessions are
+;; supported.
;;
-;; Normally, input is sent to the remote telnet/rsh line-by-line, as you
+;; Normally, input is sent to the remote telnet line-by-line, as you
;; type RET or LFD. C-c C-c sends a C-c to the remote immediately;
;; C-c C-z sends C-z immediately. C-c C-q followed by any character
;; sends that character immediately.
@@ -93,7 +93,7 @@ Should be set to the number of terminal writes telnet will make
rejecting one login and prompting again for a username and password.")
(defvar telnet-connect-command nil
- "Command used to start the `telnet' (or `rsh') connection.")
+ "Command used to start the `telnet' connection.")
(defun telnet-interrupt-subjob ()
"Interrupt the program running through telnet on the remote host."
@@ -244,7 +244,7 @@ Normally input is edited in Emacs and sent a line at a time."
(put 'telnet-mode 'mode-class 'special)
(define-derived-mode telnet-mode comint-mode "Telnet"
- "This mode is for using telnet (or rsh) from a buffer to another host.
+ "This mode is for using telnet from a buffer to another host.
It has most of the same commands as `comint-mode'.
There is a variable `telnet-interrupt-string' which is the character
sent to try to stop execution of a job on the remote host.
@@ -259,6 +259,7 @@ Data is sent to the remote host when RET is typed."
"Open a network login connection to host named HOST (a string).
Communication with HOST is recorded in a buffer `*rsh-HOST*'.
Normally input is edited in Emacs and sent a line at a time."
+ (declare (obsolete nil "29.1"))
(interactive "sOpen rsh connection to host: ")
(require 'shell)
(let ((name (concat "rsh-" host )))