Drop obsolete rsh/rlogin from two user options
authorStefan Kangas <stefan@marxist.se>
Tue, 12 Jul 2022 14:32:50 +0000 (16:32 +0200)
committerStefan Kangas <stefan@marxist.se>
Tue, 12 Jul 2022 14:56:36 +0000 (16:56 +0200)
* lisp/net/ange-ftp.el (ange-ftp-gateway-program):
* lisp/net/imap.el (imap-shell-program): Drop obsolete "rsh"/"rlogin".

lisp/net/ange-ftp.el
lisp/net/imap.el

index 9937c022d9fe6d238ad293dad4066859f644d5e4..8355ca4838e193e970ec2923c762f1f8c08e4077 100644 (file)
@@ -1,7 +1,6 @@
 ;;; ange-ftp.el --- transparent FTP support for GNU Emacs  -*- lexical-binding:t -*-
 
-;; Copyright (C) 1989-1996, 1998, 2000-2022 Free Software Foundation,
-;; Inc.
+;; Copyright (C) 1989-2022 Free Software Foundation, Inc.
 
 ;; Author: Andy Norman (ange@hplb.hpl.hp.com)
 ;; Maintainer: emacs-devel@gnu.org
@@ -870,13 +869,10 @@ Both telnet and rlogin do something like this."
 (defcustom ange-ftp-gateway-program remote-shell-program
   "Name of program to spawn a shell on the gateway machine.
 
-Valid candidates are rsh (remsh on some systems), telnet and rlogin.
 See also the gateway variable above."
   :group 'ange-ftp
-  :type '(choice (const "rsh")
-                (const "telnet")
-                (const "rlogin")
-                string))
+  :type 'string
+  :version "29.1")
 
 (defcustom ange-ftp-gateway-prompt-pattern "^[^#$%>;\n]*[#$%>;] *"
   "Regexp matching prompt after complete login sequence on gateway machine.
index ac24efdccbf9b0e76522c6741504e5644247dc3b..0b6488292deef291020bdc4824bccf1e7e80b497 100644 (file)
@@ -175,16 +175,15 @@ the list is tried until a successful connection is made."
   :type '(repeat string))
 
 (defcustom imap-shell-program '("ssh %s imapd"
-                               "rsh %s imapd"
-                               "ssh %g ssh %s imapd"
-                               "rsh %g rsh %s imapd")
+                                "ssh %g ssh %s imapd")
   "A list of strings, containing commands for IMAP connection.
 Within a string, %s is replaced with the server address, %p with port
 number on server, %g with `imap-shell-host', and %l with
 `imap-default-user'.  The program should read IMAP commands from stdin
 and write IMAP response to stdout.  Each entry in the list is tried
 until a successful connection is made."
-  :type '(repeat string))
+  :type '(repeat string)
+  :version "29.1")
 
 (defcustom imap-process-connection-type nil
   "Value for `process-connection-type' to use for Kerberos4, GSSAPI, shell and SSL.