annotate lisp/comint/auto-autoloads.el @ 183:e121b013d1f0 r20-3b18

Import from CVS: tag r20-3b18
author cvs
date Mon, 13 Aug 2007 09:54:23 +0200
parents 0132846995bd
children e45d5e7c476e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
1 ;;; DO NOT MODIFY THIS FILE
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 163
diff changeset
2 (if (featurep 'comint-autoloads) (error "Already loaded"))
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
3
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
4 ;;;### (autoloads (background) "background" "comint/background.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
5
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
6 (autoload 'background "background" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
7 Run COMMAND in the background like csh.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
8 A message is displayed when the job starts and finishes. The buffer is in
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
9 comint mode, so you can send input and signals to the job. The process object
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
10 is returned if anyone cares. See also comint-mode and the variables
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
11 background-show and background-select.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
12
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
13 Optional second argument BUFFER-NAME is a buffer to insert the output into.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
14 If omitted, a buffer name is constructed from the command run." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
15
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
16 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
17
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
18 ;;;### (autoloads (comint-dynamic-list-completions comint-dynamic-complete comint-run make-comint) "comint" "comint/comint.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
19
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
20 (autoload 'make-comint "comint" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
21 Make a comint process NAME in a buffer, running PROGRAM.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
22 The name of the buffer is made by surrounding NAME with `*'s.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
23 PROGRAM should be either a string denoting an executable program to create
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
24 via `start-process', or a cons pair of the form (HOST . SERVICE) denoting a TCP
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
25 connection to be opened via `open-network-stream'. If there is already a
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
26 running process in that buffer, it is not restarted. Optional third arg
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
27 STARTFILE is the name of a file to send the contents of to the process.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
28
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
29 If PROGRAM is a string, any more args are arguments to PROGRAM." nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
30
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
31 (autoload 'comint-run "comint" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
32 Run PROGRAM in a comint buffer and switch to it.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
33 The buffer name is made by surrounding the file name of PROGRAM with `*'s.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
34 The file name is used to make a symbol name, such as `comint-sh-hook', and any
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
35 hooks on this symbol are run in the buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
36 See `make-comint' and `comint-exec'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
37
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
38 (autoload 'comint-dynamic-complete "comint" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
39 Dynamically perform completion at point.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
40 Calls the functions in `comint-dynamic-complete-functions' to perform
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
41 completion until a function returns non-nil, at which point completion is
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
42 assumed to have occurred." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
43
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
44 (autoload 'comint-dynamic-list-completions "comint" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
45 List in help buffer sorted COMPLETIONS.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
46 Typing SPC flushes the help buffer." nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
47
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
48 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
49
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
50 ;;;### (autoloads (gdb) "gdb" "comint/gdb.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
51
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
52 (defvar gdb-command-name "gdb" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
53 Pathname for executing gdb.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
54
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
55 (autoload 'gdb "gdb" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
56 Run gdb on program FILE in buffer *gdb-FILE*.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
57 The directory containing FILE becomes the initial working directory
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
58 and source-file directory for GDB. If you wish to change this, use
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
59 the GDB commands `cd DIR' and `directory'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
60
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
61 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
62
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
63 ;;;### (autoloads (gdbsrc) "gdbsrc" "comint/gdbsrc.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
64
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
65 (autoload 'gdbsrc "gdbsrc" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
66 Activates a gdb session with gdbsrc-mode turned on. A numeric prefix
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
67 argument can be used to specify a running process to attach, and a non-numeric
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
68 prefix argument will cause you to be prompted for a core file to debug." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
69
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
70 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
71
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
72 ;;;### (autoloads (perldb xdb dbx sdb) "gud" "comint/gud.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
73
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
74 (autoload 'sdb "gud" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
75 Run sdb on program FILE in buffer *gud-FILE*.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
76 The directory containing FILE becomes the initial working directory
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
77 and source-file directory for your debugger." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
78
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
79 (autoload 'dbx "gud" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
80 Run dbx on program FILE in buffer *gud-FILE*.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
81 The directory containing FILE becomes the initial working directory
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
82 and source-file directory for your debugger." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
83
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
84 (autoload 'xdb "gud" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
85 Run xdb on program FILE in buffer *gud-FILE*.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
86 The directory containing FILE becomes the initial working directory
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
87 and source-file directory for your debugger.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
88
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
89 You can set the variable 'gud-xdb-directories' to a list of program source
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
90 directories if your program contains sources from more than one directory." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
91
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
92 (autoload 'perldb "gud" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
93 Run perldb on program FILE in buffer *gud-FILE*.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
94 The directory containing FILE becomes the initial working directory
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
95 and source-file directory for your debugger." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
96
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
97 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
98
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
99 ;;;### (autoloads nil "inf-lisp" "comint/inf-lisp.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
100
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
101 (add-hook 'same-window-buffer-names "*inferior-lisp*")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
102
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
103 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
104
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
105 ;;;### (autoloads (rlogin) "rlogin" "comint/rlogin.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
106
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
107 (add-hook 'same-window-regexps "^\\*rlogin-.*\\*\\(\\|<[0-9]+>\\)")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
108
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
109 (autoload 'rlogin "rlogin" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
110 Open a network login connection to HOST via the `rlogin' program.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
111 Input is sent line-at-a-time to the remote connection.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
112
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
113 Communication with the remote host is recorded in a buffer `*rlogin-HOST*'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
114 \(or `*rlogin-USER@HOST*' if the remote username differs).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
115 If a prefix argument is given and the buffer `*rlogin-HOST*' already exists,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
116 a new buffer with a different connection will be made.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
117
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
118 When called from a program, if the optional second argument is a string or
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
119 buffer, it names the buffer to use.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
120
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
121 The variable `rlogin-program' contains the name of the actual program to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
122 run. It can be a relative or absolute path.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
123
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
124 The variable `rlogin-explicit-args' is a list of arguments to give to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
125 the rlogin when starting. They are added after any arguments given in
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
126 INPUT-ARGS.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
127
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
128 If the default value of `rlogin-directory-tracking-mode' is t, then the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
129 default directory in that buffer is set to a remote (FTP) file name to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
130 access your home directory on the remote machine. Occasionally this causes
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
131 an error, if you cannot access the home directory on that machine. This
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
132 error is harmless as long as you don't try to use that default directory.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
133
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
134 If `rlogin-directory-tracking-mode' is neither t nor nil, then the default
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
135 directory is initially set up to your (local) home directory.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
136 This is useful if the remote machine and your local machine
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
137 share the same files via NFS. This is the default.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
138
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
139 If you wish to change directory tracking styles during a session, use the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
140 function `rlogin-directory-tracking-mode' rather than simply setting the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
141 variable." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
142
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
143 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
144
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
145 ;;;### (autoloads (shell) "shell" "comint/shell.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
146
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
147 (defvar shell-prompt-pattern (purecopy "^[^#$%>\n]*[#$%>] *") "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
148 Regexp to match prompts in the inferior shell.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
149 Defaults to \"^[^#$%>\\n]*[#$%>] *\", which works pretty well.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
150 This variable is used to initialise `comint-prompt-regexp' in the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
151 shell buffer.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
152
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
153 The pattern should probably not match more than one line. If it does,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
154 shell-mode may become confused trying to distinguish prompt from input
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
155 on lines which don't start with a prompt.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
156
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
157 This is a fine thing to set in your `.emacs' file.")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
158
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
159 (autoload 'shell "shell" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
160 Run an inferior shell, with I/O through buffer *shell*.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
161 If buffer exists but shell process is not running, make new shell.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
162 If buffer exists and shell process is running,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
163 just switch to buffer `*shell*'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
164 Program used comes from variable `explicit-shell-file-name',
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
165 or (if that is nil) from the ESHELL environment variable,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
166 or else from SHELL if there is no ESHELL.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
167 If a file `~/.emacs_SHELLNAME' exists, it is given as initial input
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
168 (Note that this may lose due to a timing error if the shell
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
169 discards input when it starts up.)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
170 The buffer is put in Shell mode, giving commands for sending input
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
171 and controlling the subjobs of the shell. See `shell-mode'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
172 See also the variable `shell-prompt-pattern'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
173
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
174 The shell file name (sans directories) is used to make a symbol name
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
175 such as `explicit-csh-args'. If that symbol is a variable,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
176 its value is used as a list of arguments when invoking the shell.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
177 Otherwise, one argument `-i' is passed to the shell.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
178
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
179 \(Type \\[describe-mode] in the shell buffer for a list of commands.)" t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
180
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
181 (add-hook 'same-window-buffer-names "*shell*")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
182
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
183 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
184
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
185 ;;;### (autoloads (ssh) "ssh" "comint/ssh.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
186
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
187 (add-hook 'same-window-regexps "^\\*ssh-.*\\*\\(\\|<[0-9]+>\\)")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
188
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
189 (autoload 'ssh "ssh" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
190 Open a network login connection via `ssh' with args INPUT-ARGS.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
191 INPUT-ARGS should start with a host name; it may also contain
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
192 other arguments for `ssh'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
193
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
194 Input is sent line-at-a-time to the remote connection.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
195
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
196 Communication with the remote host is recorded in a buffer `*ssh-HOST*'
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
197 \(or `*ssh-USER@HOST*' if the remote username differs).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
198 If a prefix argument is given and the buffer `*ssh-HOST*' already exists,
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
199 a new buffer with a different connection will be made.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
200
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
201 When called from a program, if the optional second argument BUFFER is
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
202 a string or buffer, it specifies the buffer to use.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
203
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
204 The variable `ssh-program' contains the name of the actual program to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
205 run. It can be a relative or absolute path.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
206
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
207 The variable `ssh-explicit-args' is a list of arguments to give to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
208 the ssh when starting. They are prepended to any arguments given in
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
209 INPUT-ARGS.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
210
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
211 If the default value of `ssh-directory-tracking-mode' is t, then the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
212 default directory in that buffer is set to a remote (FTP) file name to
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
213 access your home directory on the remote machine. Occasionally this causes
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
214 an error, if you cannot access the home directory on that machine. This
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
215 error is harmless as long as you don't try to use that default directory.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
216
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
217 If `ssh-directory-tracking-mode' is neither t nor nil, then the default
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
218 directory is initially set up to your (local) home directory.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
219 This is useful if the remote machine and your local machine
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
220 share the same files via NFS. This is the default.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
221
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
222 If you wish to change directory tracking styles during a session, use the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
223 function `ssh-directory-tracking-mode' rather than simply setting the
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
224 variable." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
225
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
226 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
227
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
228 ;;;### (autoloads (rsh telnet) "telnet" "comint/telnet.el")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
229
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
230 (add-hook 'same-window-regexps "\\*telnet-.*\\*\\(\\|<[0-9]+>\\)")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
231
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
232 (autoload 'telnet "telnet" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
233 Open a network login connection to host named HOST (a string).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
234 With a prefix argument, prompts for the port name or number as well.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
235 Communication with HOST is recorded in a buffer `*HOST-telnet*'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
236 Normally input is edited in Emacs and sent a line at a time.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
237 See also `\\[rsh]'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
238
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
239 (add-hook 'same-window-regexps "\\*rsh-[^-]*\\*\\(\\|<[0-9]*>\\)")
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
240
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
241 (autoload 'rsh "telnet" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
242 Open a network login connection to host named HOST (a string).
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
243 Communication with HOST is recorded in a buffer `*rsh-HOST*'.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
244 Normally input is edited in Emacs and sent a line at a time.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
245 See also `\\[telnet]'." t nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
246
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
247 ;;;***
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
248
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
249 (provide 'comint-autoloads)