diff options
author | guangzhi <xugzhi1987@gmail.com> | 2018-03-16 19:03:59 +0800 |
---|---|---|
committer | guangzhi <xugzhi1987@gmail.com> | 2018-03-16 19:03:59 +0800 |
commit | 7baa70ec2032e328439c286d0e671ef56be22e59 (patch) | |
tree | 2a7ec627d070cd8d9555f33b2b6e86b9f7e87a72 /examples/plugin_avfs.py | |
parent | b84444110868a3b4be4dea89a76aa86b883f151f (diff) | |
download | ranger-7baa70ec2032e328439c286d0e671ef56be22e59.tar.gz |
more terminals tested for fix of issue #1108
Handle aliases for 'xterm', 'xterm-256color' by using 'xterm' if $TERMCMD starts with 'xterm'. If $TERMCMD in ['urxvt', 'rxvt-unicode'], use 'urxvt'. If $TERMCMD in ['rxvt', 'rxvt-256color'], use 'rxvt' if found, otherwise 'urxvt'. Tested 'termite (13-1)', 'terminology (1.1.1-1)', 'pantheon-terminal (0.4.3-2)' and 'st (1:0.7.r38.g0ac685f-1)', these all use the -e flag. Tested 'tilda (1.4.1-1)', which uses -c flag. 'tilda', 'pantheon-terminal', 'terminology' and 'termite' don't work with the '/bin/sh --set' scheme. As a temp fix, get the application name and argument from `command` and compose the `cmd` list from these. See line 397--407 for details. Let's forget about mac users, shall we?
Diffstat (limited to 'examples/plugin_avfs.py')
0 files changed, 0 insertions, 0 deletions