[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Update terminfo entry for 'iterm'

From: Leonardo Brondani Schenkel
Subject: Update terminfo entry for 'iterm'
Date: Tue, 25 Apr 2017 23:17:23 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.0.1

The terminfo entry for 'iterm' seems to be missing the following capabilities:


I tested those on iTerm2 build 3.0.15. I don't recall ever changing the key bindings in the program, so these should reflect the default settings.

After applying these changes I think it's worth considering making 'iterm' extend 'nsterm' instead of 'nsterm-16color', because it seems to be a closer match:

comparing iterm to nsterm-16color.
    comparing booleans.
        bce: T:F.
    comparing numbers.
        colors: 256, 16.
        pairs: 32767, 256.
    comparing strings.
        csr: NULL, '\E[%i%p1%d;%p2%dr'.
        dim: NULL, '\E[2m'.
        kDC: '\E[3~', NULL.
        kLFT: '\E[1;2D', NULL.
        kRIT: '\E[1;2C', NULL.
        kcbt: '\E[Z', NULL.
        kend: '\EOF', '\E[F'.
        khome: '\EOH', '\E[H'.
        ritm: '\E[23m', NULL.
setab: '\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m', '\E[%?%p1%{8}%<%t%p1%'('%+%e%p1%{92}%+%;%dm'. setaf: '\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m', '\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%'R'%+%;%dm'. setb: NULL, '%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m'. setf: NULL, '%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m'. sgr: '\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;', '\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;'.
        sitm: '\E[3m', NULL.

comparing iterm to nsterm.
    comparing booleans.
    comparing numbers.
    comparing strings.
        csr: NULL, '\E[%i%p1%d;%p2%dr'.
        dim: NULL, '\E[2m'.
        kDC: '\E[3~', '\E[3;2~'.
        kf18: '\E[22~', '\E[32~'.
        kmous: NULL, '\E[M'.
        ritm: '\E[23m', NULL.
sgr: '\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;', '\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;'.
        sitm: '\E[3m', NULL.

// Leonardo.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]