[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master f8625bc: Describe, how to adapt shell command outpu
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] master f8625bc: Describe, how to adapt shell command output width in Tramp |
Date: |
Sun, 5 May 2019 10:20:24 -0400 (EDT) |
branch: master
commit f8625bc8f7573162b1c6b136f4791d8facecd836
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
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.
---
doc/misc/tramp.texi | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index ca86458..0c51f15 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -545,7 +545,7 @@ file system), @address@hidden,user@@host,/path/to/file}} and
@cindex google drive
@cindex method @option{nextcloud}
@cindex @option{nextcloud} method
address@hidden owncloud
address@hidden 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
address@hidden owncloud
address@hidden 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.
address@hidden shell-file-name
address@hidden 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
variables.
address@hidden shell-command-width
address@hidden address@hidden, 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
address@hidden
+
@subsection Running @code{eshell} on a remote host
@cindex @code{eshell}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master f8625bc: Describe, how to adapt shell command output width in Tramp,
Michael Albinus <=