Variable: rlogin-process-connection-type

rlogin-process-connection-type is a customizable variable defined in rlogin.el.gz.

Value

nil

Documentation

If non-nil, use a pty for the local rlogin process.

If nil, use a pipe (if pipes are supported on the local system).

Generally it is better not to waste ptys on systems which have a static number of them. On the other hand, some implementations of rlogin assume a pty is being used, and errors will result from using a pipe instead.

Source Code

;; Defined in /usr/src/emacs/lisp/net/rlogin.el.gz
(defcustom rlogin-process-connection-type
  ;; Solaris 2.x `rlogin' will spew a bunch of ioctl error messages if
  ;; stdin isn't a tty.
  (and (string-match "rlogin" rlogin-program)
       (string-match-p "-solaris2" system-configuration) t)
  "If non-nil, use a pty for the local rlogin process.
If nil, use a pipe (if pipes are supported on the local system).

Generally it is better not to waste ptys on systems which have a static
number of them.  On the other hand, some implementations of `rlogin' assume
a pty is being used, and errors will result from using a pipe instead."
  :set-after '(rlogin-program)
  :type '(choice (const :tag "pipes" nil)
		 (other :tag "ptys" t))
  :group 'rlogin)