12 |
@c Makefile, so you should edit the top-level Makefile to change |
@c Makefile, so you should edit the top-level Makefile to change |
13 |
@c the version number. |
@c the version number. |
14 |
@macro trampver{} |
@macro trampver{} |
15 |
2.0.12 |
2.0.13 |
16 |
@end macro |
@end macro |
17 |
|
|
18 |
@c Entries for @command{install-info} to use |
@c Entries for @command{install-info} to use |
526 |
|
|
527 |
@cindex default configuration |
@cindex default configuration |
528 |
@tramp{} is (normally) fully functional when it is initially |
@tramp{} is (normally) fully functional when it is initially |
529 |
installed. It is initially configured to use the @command{sh} program |
installed. It is initially configured to use the @command{ssh} program |
530 |
to connect to the remote host and to use base-64 encoding (on the |
to connect to the remote host and to use base-64 encoding (on the |
531 |
remote host, via @command{mimencode}, and on the local host via the |
remote host, via @command{mimencode}, and on the local host via the |
532 |
built-in support for base-64 encoding in Emacs). |
built-in support for base-64 encoding in Emacs). |
1305 |
recognizes the @code{>} character as the end of the prompt, but it is |
recognizes the @code{>} character as the end of the prompt, but it is |
1306 |
not at the end of the buffer. |
not at the end of the buffer. |
1307 |
|
|
1308 |
|
@item @var{tramp-shell-prompt-pattern} |
1309 |
|
@vindex tramp-shell-prompt-pattern |
1310 |
|
|
1311 |
|
This regular expression is used by @tramp{} in the same way as |
1312 |
|
@code{shell-prompt-pattern}, to match prompts from the remote shell. |
1313 |
|
This second variable exists because the prompt from the remote shell |
1314 |
|
might be different from the prompt from a local shell --- after all, |
1315 |
|
the whole point of @tramp{} is to log in to remote hosts as a |
1316 |
|
different user. The default value of |
1317 |
|
@code{tramp-shell-prompt-pattern} is the same as the default value of |
1318 |
|
@code{shell-prompt-pattern}, which is reported to work well in many |
1319 |
|
circumstances. |
1320 |
|
|
1321 |
@item @code{tset} and other questions |
@item @code{tset} and other questions |
1322 |
@cindex Unix command tset |
@cindex Unix command tset |
1323 |
@cindex tset Unix command |
@cindex tset Unix command |
1324 |
|
|
1325 |
Some people invoke the @code{tset} program from their shell startup |
Some people invoke the @code{tset} program from their shell startup |
1326 |
scripts which asks the user about the terminal type of the shell. Maybe |
scripts which asks the user about the terminal type of the shell. |
1327 |
some shells ask other questions when they are started. @tramp{} does |
Maybe some shells ask other questions when they are started. @tramp{} |
1328 |
not know how to answer these questions. (A facility for enabling |
does not know how to answer these questions. There are two approaches |
1329 |
@tramp{} to answer these questions is planned for some future version, |
for dealing with this problem. One approach is to take care that the |
1330 |
but don't hold your breath.) |
shell does not ask any questions when invoked from @tramp{}. You can |
1331 |
|
do this by checking the @code{TERM} environment variable, it will be |
1332 |
Therefore, you should take care that the shell does not ask any |
set to @code{dumb} when connecting. |
|
questions when invoked from @tramp{}. You can do this by checking the |
|
|
@code{TERM} environment variable, it will be set to @code{dumb} when |
|
|
connecting. |
|
1333 |
|
|
1334 |
@vindex tramp-terminal-type |
@vindex tramp-terminal-type |
1335 |
The variable @code{tramp-terminal-type} can be used to change this value |
The variable @code{tramp-terminal-type} can be used to change this value |
1336 |
@code{dumb}. |
@code{dumb}. |
1337 |
|
|
1338 |
|
The other approach is to teach @tramp{} about these questions. See |
1339 |
|
the variables @code{tramp-actions-before-shell} and |
1340 |
|
@code{tramp-multi-actions} (for multi-hop connections). |
1341 |
|
|
1342 |
@end table |
@end table |
1343 |
|
|
1344 |
|
|