aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2019-05-05 16:20:14 +0200
committerMichael Albinus2019-05-05 16:20:14 +0200
commitf8625bc8f7573162b1c6b136f4791d8facecd836 (patch)
tree2a7825e77b9f5efa7cb923f009e8fd8a35a88253
parentd45d5c339cda613b70431ab51af7ee53f21ef4bf (diff)
downloademacs-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.texi15
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
550GVFS-based methods include also @acronym{GNOME} Online Accounts, which 550GVFS-based methods include also @acronym{GNOME} Online Accounts, which
551support the @option{Files} service. These are the Google Drive file 551support 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
1213As the name indicates, the method @option{nextcloud} allows you to 1213As the name indicates, the method @option{nextcloud} allows you to
1214access OwnCloud or NextCloud hosted files and directories. Like the 1214access 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
3084continuous output. 3084continuous 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.
3088For remote hosts, their default values are @file{/bin/sh} and 3090For 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
3091section, these variables can be changed via connection-local 3093section, these variables can be changed via connection-local
3092variables. 3094variables.
3093 3095
3096@vindex shell-command-width
3097@vindex COLUMNS@r{, environment variable}
3098If Emacs supports the variable @code{shell-command-width} (since Emacs
309927.1), @value{tramp} cares about its value for asynchronous shell
3100commands. It specifies the number of display columns for command
3101output. For synchronous shell commands, a similar effect can be
3102achieved 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}