annotate lisp/comint/auto-autoloads.el @ 172:a38aed19690b

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