On Sun, Nov 08, 2015 at 02:09:03PM +0000, Nicholas Marriott wrote:
If this is different from pccon*, you should fix those or add a variant rather than adding completely new entries.
OK. The attached diff does the following: * Add F13-F24 to pccon. These were previously undefined. * Change the sgr definition to match the vt220 entry. This makes the, 'intense', colours work, giving us 16 instead of 8. * Define the bold sequence. Otherwise, E.G. 'echo foo | less', the ~ in column 0 are displayed as reverse video instead of bold, (as they do in xterm). * Add a new entry, 'pcconX', that adds F13-F24 to the standrd xterm entry --- termtypes.master.1.55.dist Sun Nov 8 15:20:37 2015 +++ termtypes.master Sun Nov 8 15:42:04 2015 @@ -2184,13 +2184,16 @@ kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krfr=^R, + kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, + kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, + kf21=\E[35~, kf22=\E[36~, kf23=\E[37~, kf24=\E[38~, pccon+sgr+acs0|sgr and simple ASCII pseudographics for OpenBSD PC console, acsc=+>\,<-\^.v0#`+a\:f\\h#i#j+k+l+m+n+o~p-q-r-s_t+u+v+w+x|y#z#{*|!}#~o, sgr=\E[0%?%p1%p3%|%t;7%;m, sgr0=\E[m, pccon+sgr+acs|sgr and default ASCII pseudographics for OpenBSD PC console, acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, enacs=\E)0$<5>, rmacs=\E(B$<5>, - sgr=\E[0%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<5>, + sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>, sgr0=\E[m\E(B$<5>, smacs=\E(0$<5>, pccon+colors|ANSI colors for OpenBSD PC console, bce, @@ -2199,7 +2202,7 @@ pccon+base|base capabilities for OpenBSD PC console, am, km, mc5i, msgr, npc, nxon, xenl, xon, cols#80, it#8, lines#24, - bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, + bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, @@ -2214,6 +2217,11 @@ use=pccon+base, use=pccon+sgr+acs, use=pccon+keys, pccon|OpenBSD PC console, use=pccon-m, use=pccon+colors, +pcconX|xterm-like entry that fixes behaviour of F13-F24 in X on OpenBSD, + kf13=\E[25~, kf14=\E[26~, + kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, + kf19=\E[33~, kf20=\E[34~, kf21=\E[42~, kf22=\E[43~, + kf23=\E[44~, kf24=\E[45~, khlp=, krdo=, use=xterm, #### NetBSD consoles # -- Tati Chevron Perl and FORTRAN specialist. SWABSIT development and migration department. http://www.swabsit.com