Commit f8625bc8 authored by Michael Albinus's avatar Michael Albinus

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.
parent d45d5c33
Pipeline #1572 failed with stage
in 90 minutes and 1 second
......@@ -545,7 +545,7 @@ file system), @file{@trampfn{dav,user@@host,/path/to/file}} and
@cindex google drive
@cindex method @option{nextcloud}
@cindex @option{nextcloud} method
@cindex owncloud
@cindex nextcloud
GVFS-based methods include also @acronym{GNOME} Online Accounts, which
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.
@cindex @acronym{GNOME} Online Accounts
@cindex method @option{nextcloud}
@cindex @option{nextcloud} method
@cindex owncloud
@cindex nextcloud
As the name indicates, the method @option{nextcloud} allows you to
access OwnCloud or NextCloud hosted files and directories. Like the
......@@ -3083,6 +3083,8 @@ host. Example:
@kbd{M-x auto-revert-tail-mode @key{RET}} runs similarly showing
continuous output.
@vindex shell-file-name
@vindex shell-command-switch
@code{shell-command} uses the variables @code{shell-file-name} and
@code{shell-command-switch} in order to determine which shell to run.
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
section, these variables can be changed via connection-local
@vindex shell-command-width
@vindex COLUMNS@r{, environment variable}
If Emacs supports the variable @code{shell-command-width} (since Emacs
27.1), @value{tramp} cares about its value for asynchronous shell
commands. It specifies the number of display columns for command
output. For synchronous shell commands, a similar effect can be
achieved by adding the environment variable @env{COLUMNS} to
@subsection Running @code{eshell} on a remote host
@cindex @code{eshell}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment