Download raw body.
wscons 256 colour support
There is nothing positive being achieved by deleting that.
You are not thinking clearly.
Crystal Kolipe <kolipe.c@exoticsilicon.com> wrote:
> On Wed, Jul 09, 2025 at 02:18:04PM -0600, Theo de Raadt wrote:
> > Thomas Dickey <dickey@his.com> wrote:
> > > pccon is the place to make fixes, though, since it applies to OpenBSD.
> > > Others have noticed that:
> > >
> > > https://lists.gnu.org/archive/html/bug-ncurses/2015-11/msg00010.html
> >
> > That cannot be correct, because:
> >
> > console "/usr/libexec/getty std.9600" vt220 off secure
> > ttyC0 "/usr/libexec/getty std.9600" vt220 on secure
> > ttyC1 "/usr/libexec/getty std.9600" vt220 on secure
> > ttyC2 "/usr/libexec/getty std.9600" vt220 on secure
> > ttyC3 "/usr/libexec/getty std.9600" vt220 on secure
> > ttyC4 "/usr/libexec/getty std.9600" vt220 off secure
> > ttyC5 "/usr/libexec/getty std.9600" vt220 on secure
> > ttyC6 "/usr/libexec/getty std.9600" vt220 off secure
> > ttyC7 "/usr/libexec/getty std.9600" vt220 off secure
> > ttyC8 "/usr/libexec/getty std.9600" vt220 off secure
> > ttyC9 "/usr/libexec/getty std.9600" vt220 off secure
> > ttyCa "/usr/libexec/getty std.9600" vt220 off secure
> > ttyCb "/usr/libexec/getty std.9600" vt220 off secure
> >
> >
> > We don't declare pccon. We are never going to declare our ttys as
> > pccon. It is a non-standard name.
> >
> > So trying to achieve "pccon", whatever that is... what is the goal???
>
> --- /usr/src/share/termtypes.master Wed Jul 9 21:54:52 2025
> +++ /usr/src/share/termtypes.master Wed Jul 9 21:55:39 2025
> @@ -1716,77 +1716,8 @@
>
> #### OpenBSD consoles
> #
> -# From: Alexei Malinin <Alexei.Malinin@mail.ru>; October, 2011.
> -#
> -# The following terminal descriptions for the AMD/Intel PC console
> -# were prepared based on information contained in the OpenBSD-4.9
> -# termtypes.master and wscons(4) & vga(4) manuals (2010, November).
> -#
> -# Added bce based on testing with tack -TD
> -# Added several capabilities to pccon+base, reading wsemul_vt100_subr.c -TD
> -# Changed kbs to DEL and removed keys that duplicate stty settings -TD
> -#
> -# Notes from testing with vttest:
> -# fails wrapping test
> -# no 8-bit controls
> -# identifies as vt200 with selective erase, but does not implement DECSCA
> -# no vt52 mode
> -# also lacks these:
> -# ESC # 8 DEC Screen Alignment Test (DECALN).
> -# CSI ? 5 h Reverse Video (DECSCNM).
> -#
> -pccon+keys|OpenBSD PC keyboard keys,
> - kbs=^?, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A,
> - kdch1=\E[3~, kend=\E[8~, kent=\r, kf1=\E[11~, kf10=\E[21~,
> - kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
> - kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
> - kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf21=\E[35~,
> - kf22=\E[36~, kf23=\E[37~, kf24=\E[38~, kf3=\E[13~,
> - 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,
> -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,
> - bold=\E[1m, rev=\E[7m, rmso=\E[27m,
> - sgr=\E[0%?%p1%p3%|%t;7%;%?%p6%t;1%;%?%p2%t;4%;m,
> - sgr0=\E[m, smso=\E[7m,
> -pccon+sgr+acs|sgr and default ASCII pseudographics for OpenBSD PC console,
> - acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
> - bold=\E[1m, enacs=\E)0, rev=\E[7m, rmacs=\E(B, rmso=\E[27m,
> - sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e
> - \E(B%;,
> - sgr0=\E[m\E(B, smacs=\E(0, smso=\E[7m,
> -# underline renders as color
> -pccon+colors|ANSI colors for OpenBSD PC console,
> - bce,
> - colors#8, ncv#2, pairs#64,
> - op=\E[49;39m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
> -# OpenBSD uses wscons,
> -# + which does not implement DECSCNM or anything comparable, so it does not
> -# support flash.
> -# + it renders underline using color.
> -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=\r, csr=\E[%i%p1%d;%p2%dr,
> - cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\n,
> - cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
> - cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P,
> - dl=\E[%p1%dM, 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@,
> - il=\E[%p1%dL, il1=\E[L, ind=\ED, nel=\EE, rc=\E8, ri=\EM,
> - rmam=\E[?7l, rmul=\E[24m, rs2=\Ec, sc=\E7, smam=\E[?7h,
> - smul=\E[4m, tbc=\E[3g, use=ansi+cpr,
> -pccon0-m|OpenBSD PC console without colors & with simple ASCII pseudographics,
> - use=pccon+sgr+acs0, use=pccon+base, use=pccon+keys,
> -pccon0|OpenBSD PC console with simple ASCII pseudographics,
> - use=pccon0-m, use=pccon+colors,
> -pccon-m|OpenBSD PC console without colors,
> - use=pccon+base, use=pccon+sgr+acs, use=pccon+keys,
> - use=ansi+enq, use=vt220+cvis,
> pccon|OpenBSD PC console,
> - use=pccon-m, use=pccon+colors,
> + use=xterm,
>
> #### NetBSD consoles
> #
wscons 256 colour support