about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@hut.pm>2017-09-26 19:41:18 +0200
committerhut <hut@hut.pm>2017-09-26 19:41:18 +0200
commit467bb6086aef24214f9478005213fdd5f7a0de9e (patch)
treeda881419d23f79b9ff166e31535df26d9f884e88
parent6e2e5795c1d3b2dbaaa556876edc24fca9447b99 (diff)
downloadranger-467bb6086aef24214f9478005213fdd5f7a0de9e.tar.gz
doc/ranger.1: mention that "t" flag uses x-terminal-emulator
-rw-r--r--doc/ranger.14
-rw-r--r--doc/ranger.pod4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1
index e4fad9c3..91f10a58 100644
--- a/doc/ranger.1
+++ b/doc/ranger.1
@@ -421,8 +421,8 @@ By default, all the flags are off unless specified otherwise in the
 An uppercase flag negates the effect: \*(L"ffcccFsf\*(R" is equivalent to \*(L"cs\*(R".
 .PP
 The terminal program name for the \*(L"t\*(R" flag is taken from the environment
-variable \f(CW$TERMCMD\fR.  If it doesn't exist, it tries to extract it from \f(CW$TERM\fR and
-uses \*(L"xterm\*(R" as a fallback if that fails.
+variable \f(CW$TERMCMD\fR.  If it doesn't exist, it tries to extract it from \f(CW$TERM\fR,
+uses \*(L"x\-terminal-emulator\*(R" as a fallback, and then \*(L"xterm\*(R" if that fails.
 .PP
 Examples: \f(CW\*(C`:open_with c\*(C'\fR will open the file that you currently point at, even
 if you have selected other files.  \f(CW\*(C`:shell \-w df\*(C'\fR will run \*(L"df\*(R" and wait for
diff --git a/doc/ranger.pod b/doc/ranger.pod
index 9c91bd96..2ec98d2b 100644
--- a/doc/ranger.pod
+++ b/doc/ranger.pod
@@ -321,8 +321,8 @@ F<rifle.conf> configuration file.  You can specify as many flags as you want.
 An uppercase flag negates the effect: "ffcccFsf" is equivalent to "cs".
 
 The terminal program name for the "t" flag is taken from the environment
-variable $TERMCMD.  If it doesn't exist, it tries to extract it from $TERM and
-uses "xterm" as a fallback if that fails.
+variable $TERMCMD.  If it doesn't exist, it tries to extract it from $TERM,
+uses "x-terminal-emulator" as a fallback, and then "xterm" if that fails.
 
 Examples: C<:open_with c> will open the file that you currently point at, even
 if you have selected other files.  C<:shell -w df> will run "df" and wait for