From d73dcd1b9222bbb3e5593c7cdfa10cd693280271 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 19 Jun 2019 08:32:50 +1200 Subject: Separate terminfo definitions out --- terminfo/putty-256color.ti | 7 +++++++ terminfo/putty.ti | 8 -------- terminfo/rxvt-256color.ti | 4 ++++ terminfo/rxvt.ti | 5 ----- terminfo/screen-256color.ti | 7 +++++++ terminfo/screen.ti | 8 -------- terminfo/tmux-256color.ti | 6 ++++++ terminfo/tmux.ti | 7 ------- 8 files changed, 24 insertions(+), 28 deletions(-) create mode 100644 terminfo/putty-256color.ti create mode 100644 terminfo/rxvt-256color.ti create mode 100644 terminfo/screen-256color.ti create mode 100644 terminfo/tmux-256color.ti diff --git a/terminfo/putty-256color.ti b/terminfo/putty-256color.ti new file mode 100644 index 00000000..81d2b3f1 --- /dev/null +++ b/terminfo/putty-256color.ti @@ -0,0 +1,7 @@ +putty-256color| PuTTY with 256 colors, + use=putty, + colors#256, + initc@, + pairs#32767, + setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, + setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, diff --git a/terminfo/putty.ti b/terminfo/putty.ti index 3f2ab27f..6c3bd69e 100644 --- a/terminfo/putty.ti +++ b/terminfo/putty.ti @@ -126,11 +126,3 @@ putty| PuTTY, vpa=\E[%i%p1%dd, xenl, xon, - -putty-256color| PuTTY with 256 colors, - use=putty, - colors#256, - initc@, - pairs#32767, - setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, - setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, diff --git a/terminfo/rxvt-256color.ti b/terminfo/rxvt-256color.ti new file mode 100644 index 00000000..62e6c021 --- /dev/null +++ b/terminfo/rxvt-256color.ti @@ -0,0 +1,4 @@ +rxvt-unicode-256color| rxvt-unicode with 256 colors, + use=rxvt-unicode, + colors#256, + pairs#32767, diff --git a/terminfo/rxvt.ti b/terminfo/rxvt.ti index 735c7ef7..7f60d8ad 100644 --- a/terminfo/rxvt.ti +++ b/terminfo/rxvt.ti @@ -319,8 +319,3 @@ rxvt-unicode| rxvt-unicode, vpa=\E[%i%p1%dd, xenl, xon, - -rxvt-unicode-256color| rxvt-unicode with 256 colors, - use=rxvt-unicode, - colors#256, - pairs#32767, diff --git a/terminfo/screen-256color.ti b/terminfo/screen-256color.ti new file mode 100644 index 00000000..1cfabaf9 --- /dev/null +++ b/terminfo/screen-256color.ti @@ -0,0 +1,7 @@ +screen-256color| GNU Screen or tmux with 256 colors, + use=screen, + colors#256, + initc@, + pairs#32767, + setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, + setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, diff --git a/terminfo/screen.ti b/terminfo/screen.ti index 574e78e0..3f51e9fd 100644 --- a/terminfo/screen.ti +++ b/terminfo/screen.ti @@ -98,11 +98,3 @@ screen| GNU Screen or tmux, smul=\E[4m, tbc=\E[3g, xenl, - -screen-256color| GNU Screen or tmux with 256 colors, - use=screen, - colors#256, - initc@, - pairs#32767, - setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, - setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, diff --git a/terminfo/tmux-256color.ti b/terminfo/tmux-256color.ti new file mode 100644 index 00000000..a242b7c1 --- /dev/null +++ b/terminfo/tmux-256color.ti @@ -0,0 +1,6 @@ +tmux-256color| tmux with 256 colors, + use=tmux, + colors#256, + pairs#32767, + setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, + setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, diff --git a/terminfo/tmux.ti b/terminfo/tmux.ti index 7d430322..fc86d773 100644 --- a/terminfo/tmux.ti +++ b/terminfo/tmux.ti @@ -102,10 +102,3 @@ tmux| tmux terminal multiplexer, tbc=\E[3g, tsl=\E]0;, xenl, - -tmux-256color| tmux with 256 colors, - use=tmux, - colors#256, - pairs#32767, - setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m, - setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m, -- cgit v1.2.3