231 |
;;- :group 'tramp |
;;- :group 'tramp |
232 |
;;- :type '(repeat character)) |
;;- :type '(repeat character)) |
233 |
|
|
234 |
|
;; There are two approaches here. One is to check for the system |
235 |
|
;; type. The other approach is to search for a remsh executable and |
236 |
|
;; use it if found. It seems that the former approach is faster, and |
237 |
|
;; experience shows that it works, so that's what we do. |
238 |
(defconst tramp-real-rsh-program |
(defconst tramp-real-rsh-program |
239 |
(if (memq system-type '(hpux cray-unix-v)) |
(if (memq system-type '(hpux cray-unix-v)) |
240 |
"remsh" "rsh") |
"remsh" "rsh") |
241 |
"Name of the remote shell command. |
"Name of the remote shell command. |
242 |
Under HP-UX and Cray it is \"remsh\" instead of \"rsh\".") |
Under HP-UX and Cray it is \"remsh\" instead of \"rsh\". (\"rsh\" |
243 |
|
is the restricted shell on those systems.)") |
244 |
|
|
245 |
(defcustom tramp-methods |
(defcustom tramp-methods |
246 |
`( ("rcp" (tramp-connection-function tramp-open-connection-rsh) |
`( ("rcp" (tramp-connection-function tramp-open-connection-rsh) |