Function: url-open-rlogin
url-open-rlogin is a byte-compiled function defined in url-gw.el.gz.
Signature
(url-open-rlogin NAME BUFFER HOST SERVICE)
Documentation
Open a connection using rsh.
Source Code
;; Defined in /usr/src/emacs/lisp/url/url-gw.el.gz
;; Stolen from red gnus nntp.el
(defun url-open-rlogin (name buffer host service)
"Open a connection using rsh."
(if (not (stringp service))
(setq service (int-to-string service)))
(let ((proc (if url-gateway-rlogin-user-name
(start-process
name buffer "rsh"
url-gateway-rlogin-host "-l" url-gateway-rlogin-user-name
(mapconcat 'identity
(append url-gateway-rlogin-parameters
(list host service)) " "))
(start-process
name buffer "rsh" url-gateway-rlogin-host
(mapconcat 'identity
(append url-gateway-rlogin-parameters
(list host service))
" ")))))
(set-buffer buffer)
(url-wait-for-string "^\r*200" proc)
(beginning-of-line)
(delete-region (point-min) (point))
proc))