#9636: Error opening terminal: xterm-256color -------------------------------------+---------------------------- Reporter: humdinger | Owner: siarzhuk Type: bug | Status: closed Priority: normal | Milestone: R1 Component: Applications/Terminal | Version: R1/Development Resolution: no change required | Keywords: xterm, nano Blocked By: | Blocking: Has a Patch: 0 | Platform: All -------------------------------------+---------------------------- Comment (by siarzhuk): That is the difference: {{{ ~/Desktop # infocmp -d xterm xterm-256color [18:56] comparing xterm to xterm-256color. comparing booleans. ccc: F:T. comparing numbers. colors: 8, 256. pairs: 64, 32767. comparing strings. initc: NULL, '\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\'. setab: '\E[4%p1%dm', '\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m'. setaf: '\E[3%p1%dm', '\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m'. setb: '\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m', NULL. setf: '\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m', NULL. }}} {{{ can_change ccc cc Terminal can re-define existing colour orig_colors oc oc Set all colour(-pair)s to the original ones max_pairs pairs pa Maximum number of colour-pairs on the screen initialize_color initc IC Set colour #1 to RGB #2, #3, #4 set_a_background setab AB Set background colour to #1 using ANSI escape set_a_foreground setaf AF Set foreground colour to #1 using ANSI escape set_background setb Sb Set background colour to #1 set_foreground setf Sf Set foreground colour to #1 }}} I tried to hack colors and pairs in "xterm" and observe no visual differences. So we can try to do this and look what occure. Yes, profiles implementation in Konsole, for example, uses additional UI elements. -- Ticket URL: <http://dev.haiku-os.org/ticket/9636#comment:8> Haiku <http://dev.haiku-os.org> Haiku - the operating system.