diff options
| author | Michael Albinus | 2019-05-05 16:20:14 +0200 |
|---|---|---|
| committer | Michael Albinus | 2019-05-05 16:20:14 +0200 |
| commit | f8625bc8f7573162b1c6b136f4791d8facecd836 (patch) | |
| tree | 2a7825e77b9f5efa7cb923f009e8fd8a35a88253 | |
| parent | d45d5c339cda613b70431ab51af7ee53f21ef4bf (diff) | |
| download | emacs-f8625bc8f7573162b1c6b136f4791d8facecd836.tar.gz emacs-f8625bc8f7573162b1c6b136f4791d8facecd836.zip | |
Describe, how to adapt shell command output width in Tramp
* doc/misc/tramp.texi (Quick Start Guide, GVFS based methods):
Fix @cindex.
(Remote processes): Add some @vindex. Describe shell command
output width.
| -rw-r--r-- | doc/misc/tramp.texi | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index ca86458e903..0c51f15fbb9 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -545,7 +545,7 @@ file system), @file{@trampfn{dav,user@@host,/path/to/file}} and | |||
| 545 | @cindex google drive | 545 | @cindex google drive |
| 546 | @cindex method @option{nextcloud} | 546 | @cindex method @option{nextcloud} |
| 547 | @cindex @option{nextcloud} method | 547 | @cindex @option{nextcloud} method |
| 548 | @cindex owncloud | 548 | @cindex nextcloud |
| 549 | 549 | ||
| 550 | GVFS-based methods include also @acronym{GNOME} Online Accounts, which | 550 | GVFS-based methods include also @acronym{GNOME} Online Accounts, which |
| 551 | support the @option{Files} service. These are the Google Drive file | 551 | support the @option{Files} service. These are the Google Drive file |
| @@ -1208,7 +1208,7 @@ directory have the same @code{display-name}, such a situation must be avoided. | |||
| 1208 | @cindex @acronym{GNOME} Online Accounts | 1208 | @cindex @acronym{GNOME} Online Accounts |
| 1209 | @cindex method @option{nextcloud} | 1209 | @cindex method @option{nextcloud} |
| 1210 | @cindex @option{nextcloud} method | 1210 | @cindex @option{nextcloud} method |
| 1211 | @cindex owncloud | 1211 | @cindex nextcloud |
| 1212 | 1212 | ||
| 1213 | As the name indicates, the method @option{nextcloud} allows you to | 1213 | As the name indicates, the method @option{nextcloud} allows you to |
| 1214 | access OwnCloud or NextCloud hosted files and directories. Like the | 1214 | access OwnCloud or NextCloud hosted files and directories. Like the |
| @@ -3083,6 +3083,8 @@ host. Example: | |||
| 3083 | @kbd{M-x auto-revert-tail-mode @key{RET}} runs similarly showing | 3083 | @kbd{M-x auto-revert-tail-mode @key{RET}} runs similarly showing |
| 3084 | continuous output. | 3084 | continuous output. |
| 3085 | 3085 | ||
| 3086 | @vindex shell-file-name | ||
| 3087 | @vindex shell-command-switch | ||
| 3086 | @code{shell-command} uses the variables @code{shell-file-name} and | 3088 | @code{shell-command} uses the variables @code{shell-file-name} and |
| 3087 | @code{shell-command-switch} in order to determine which shell to run. | 3089 | @code{shell-command-switch} in order to determine which shell to run. |
| 3088 | For remote hosts, their default values are @file{/bin/sh} and | 3090 | For remote hosts, their default values are @file{/bin/sh} and |
| @@ -3091,6 +3093,15 @@ uses @file{/system/bin/sh}). Like the variables in the previous | |||
| 3091 | section, these variables can be changed via connection-local | 3093 | section, these variables can be changed via connection-local |
| 3092 | variables. | 3094 | variables. |
| 3093 | 3095 | ||
| 3096 | @vindex shell-command-width | ||
| 3097 | @vindex COLUMNS@r{, environment variable} | ||
| 3098 | If Emacs supports the variable @code{shell-command-width} (since Emacs | ||
| 3099 | 27.1), @value{tramp} cares about its value for asynchronous shell | ||
| 3100 | commands. It specifies the number of display columns for command | ||
| 3101 | output. For synchronous shell commands, a similar effect can be | ||
| 3102 | achieved by adding the environment variable @env{COLUMNS} to | ||
| 3103 | @code{tramp-remote-process-environment}. | ||
| 3104 | |||
| 3094 | 3105 | ||
| 3095 | @subsection Running @code{eshell} on a remote host | 3106 | @subsection Running @code{eshell} on a remote host |
| 3096 | @cindex @code{eshell} | 3107 | @cindex @code{eshell} |