bug-ncurses
[Top][All Lists]
Advanced

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

Re: Update terminfo entry for 'iterm'


From: Leonardo Brondani Schenkel
Subject: Re: Update terminfo entry for 'iterm'
Date: Wed, 9 Aug 2017 11:17:03 +0200

Hi Thomas,

After I posted this on April, although I got no reply, I remember seeing you referring to this post in an unrelated thread as being in your to-do list. Is it still the case? I'm writing to ask if you agree/disagree with the suggestions and in case you do if there's anything I can do to help.

// Leonardo.

On 2017-04-25 23:17, Leonardo Brondani Schenkel wrote:
The terminfo entry for 'iterm' seems to be missing the following capabilities:

ritm=\E[23m,
sitm=\E[3m,
kDC=\E[3~,
kLFT=\E[1;2D,
kRIT=\E[1;2C,
kcbt=\E[Z,

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]