1 |
On Sun, Dec 03, 2017 at 01:00:37PM -0800, Zac Medico wrote: |
2 |
> Your change will match any TERM value that starts with 'st', which seems |
3 |
> too loose. How about if we match st-256color instead? |
4 |
> -- |
5 |
> Thanks, |
6 |
> Zac |
7 |
> |
8 |
|
9 |
Yes, you're right, though there's still one more issue with that. |
10 |
Although st-256color seems to be the default $TERM value for st (it is |
11 |
on my system and I don't recall changing it), there are a few other |
12 |
terminfo entries for st: |
13 |
|
14 |
$ ls -lah /usr/share/terminfo/s/st* |
15 |
-rw-r--r-- 1 root root 2,2K Dez 1 14:23 /usr/share/terminfo/s/st |
16 |
-rw-r--r-- 1 root root 2,4K Dez 1 14:23 /usr/share/terminfo/s/st-16color |
17 |
-rw-r--r-- 1 root root 2,3K Dez 1 14:23 /usr/share/terminfo/s/st-256color |
18 |
-rw-r--r-- 1 root root 856 Dez 1 14:23 /usr/share/terminfo/s/st52 |
19 |
-rw-r--r-- 1 root root 2,0K Dez 1 14:23 /usr/share/terminfo/s/st52-color |
20 |
lrwxrwxrwx 1 root root 4 Dez 1 14:23 /usr/share/terminfo/s/st52-m -> st52 |
21 |
-rw-r--r-- 1 root root 562 Dez 1 14:23 /usr/share/terminfo/s/st52-old |
22 |
lrwxrwxrwx 1 root root 2 Dez 1 14:23 /usr/share/terminfo/s/stterm -> st |
23 |
lrwxrwxrwx 1 root root 10 Dez 1 14:23 /usr/share/terminfo/s/stterm-16color -> st-16color |
24 |
lrwxrwxrwx 1 root root 11 Dez 1 14:23 /usr/share/terminfo/s/stterm-256color -> st-256color |
25 |
-rw-r--r-- 1 root root 916 Dez 1 14:23 /usr/share/terminfo/s/stv52 |
26 |
-rw-r--r-- 1 root root 848 Dez 1 14:23 /usr/share/terminfo/s/stv52pc |
27 |
|
28 |
Maybe we should be using the 'stterm' symlinks instead? |
29 |
|
30 |
-- |
31 |
Regards, |
32 |
Christoph |