Mercurial > hg > xemacs-beta
diff lisp/comint/rlogin.el @ 134:34a5b81f86ba r20-2b1
Import from CVS: tag r20-2b1
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 09:30:11 +0200 |
| parents | 131b0175ea99 |
| children |
line wrap: on
line diff
--- a/lisp/comint/rlogin.el Mon Aug 13 09:29:37 2007 +0200 +++ b/lisp/comint/rlogin.el Mon Aug 13 09:30:11 2007 +0200 @@ -20,7 +20,7 @@ ;; along with this program; if not, write to: The Free Software Foundation, ;; Inc.; 675 Massachusetts Avenue.; Cambridge, MA 02139, USA. -;; $Id: rlogin.el,v 1.1.1.1 1996/12/18 22:42:36 steve Exp $ +;; $Id: rlogin.el,v 1.2 1997/04/19 23:20:49 steve Exp $ ;;; Commentary: @@ -39,24 +39,39 @@ (require 'comint) (require 'shell) -(defvar rlogin-program "rlogin" - "*Name of program to invoke rlogin") +(defgroup rlogin nil + "Remote login interface" + :group 'processes + :group 'unix) + + +(defcustom rlogin-program "rlogin" + "*Name of program to invoke rlogin" + :type 'string + :group 'rlogin) -(defvar rlogin-explicit-args nil - "*List of arguments to pass to rlogin on the command line.") +(defcustom rlogin-explicit-args nil + "*List of arguments to pass to rlogin on the command line." + :type '(repeat (string :tag "Argument")) + :group 'rlogin) -(defvar rlogin-mode-hook nil - "*Hooks to run after setting current buffer to rlogin-mode.") +(defcustom rlogin-mode-hook nil + "*Hooks to run after setting current buffer to rlogin-mode." + :type 'hook + :group 'rlogin) -(defvar rlogin-process-connection-type nil +(defcustom rlogin-process-connection-type nil "*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.") +a pty is being used, and errors will result from using a pipe instead." + :type '(choice (const :tag "ptys" t) + (const :tag "pipes" nil)) + :group 'rlogin) -(defvar rlogin-directory-tracking-mode 'local +(defcustom rlogin-directory-tracking-mode 'local "*Control whether and how to do directory tracking in an rlogin buffer. nil means don't do directory tracking. @@ -72,18 +87,26 @@ It is better to use the function of the same name to change the behavior of directory tracking in an rlogin session once it has begun, rather than simply setting this variable, since the function does the necessary -re-synching of directories.") +re-synching of directories." + :type '(choice (const :tag "off" nil) + (const :tag "ftp" t) + (const :tag "local" local)) + :group 'rlogin) (make-variable-buffer-local 'rlogin-directory-tracking-mode) -(defvar rlogin-host nil - "*The name of the remote host. This variable is buffer-local.") +(defcustom rlogin-host nil + "*The name of the remote host. This variable is buffer-local." + :type '(choice (const nil) string) + :group 'rlogin) -(defvar rlogin-remote-user nil +(defcustom rlogin-remote-user nil "*The username used on the remote host. This variable is buffer-local and defaults to your local user name. If rlogin is invoked with the `-l' option to specify the remote username, -this variable is set from that.") +this variable is set from that." + :type '(choice (const nil) string) + :group 'rlogin) ;; Initialize rlogin mode map. (defvar rlogin-mode-map '())
