[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
modifying terminfo via termcapinfo
From: |
Joahnn Gile |
Subject: |
modifying terminfo via termcapinfo |
Date: |
Mon, 7 Sep 2009 12:45:08 +0000 (GMT) |
Hello,
since the screen-256color-bce-s terminfo entry cannot be set from screenrc I
would like to modify the screen-256color-bce entry via termcapinfo in my
screenrc:
term screen-256color-bce
termcapinfo xterm* '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
This seems to modify the termcap entry correctly:
$ printenv TERMCAP | grep hs
:hs:ts=\E_:fs=\E\\:ds=\E_\E\\:\
However it does not seem to modify terminfo correctly,
$ printf "$(tput tsl)foobar$(tput fsl)"
does not change the title.
If I change TERM manually to screen-256color-bce-s it works,
$ export TERM=screen-256color-bce-s
$ printf "$(tput tsl)foobar$(tput fsl)"
changes the title.
The only difference between screen-256color-bce and screen-256color-bce-s is:
$ infocmp -d screen-256color-bce screen-256color-bce-s
comparing screen-256color-bce to screen-256color-bce-s.
comparing booleans.
comparing numbers.
comparing strings.
dsl: NULL, '\E_\E\\'.
fsl: NULL, '\E\\'.
tsl: NULL, '\E_'.
So what's wrong here, is termcapinfo not modifying the terminfo entry?
- modifying terminfo via termcapinfo,
Joahnn Gile <=