At Tue, 3 Mar 2026 22:34:01 +0000 (UTC), RVP <rvp%SDF.ORG@localhost> wrote: Subject: Re: Acer Aspire One NetBSD 11.0-RC1 slow man pages rendering in virtual consoles > > Edit /etc/ttys and set `constty' (vt100) to `off', and instead, set `ttyE0' > to `on'. That's arguably wrong, but the rest is very right. Arguably the real bug is in the default /etc/ttys configuration. For default installs on the majority of "headfull" systems using wscons emulation the constty terminal type should be wsvt25m (or maybe wsvt25, see below). Trying to abuse it with "vt100" is anachronistic to the extreme (though also, see below). Setting it to "unknown" would better support any serial console use, but that's going to be far more rare than the normal PC/workstation situation where wscons is used on a native video display with a locally attached keyboard. > Real VT100s require delays for certain operations, like setting/removing > attributes (bold/underline), or clearing the screen, and this delay is > encoded in the terminfo entries. > > Virtual terminals like `wsvt25' don't need/have these delays. > > Just set the correct TERM. Yeah, so, edit /etc/ttys and set the terminal type for constty to "wsvt25m". BTW, I added the following comments to my copy of terminfo to make the difference between wsvt25 and wsvt25m more clear (and to elucidate the confusion caused by basing wsvt25 on vt220, which also has various delays encoded in its terminfo entry, though not so many): +# NetBSD "wscons" emulator in vt100 mode (options WSEMUL_VT100). +# +# This entry is based on the NetBSD termcap entry, correcting the ncv value. +# The emulator renders underlined text in red. Colors are otherwise usable. +# +# xxx the following should have been obvious: it is called "vt100" in the source! +# (the string "vt220" does not appear in any variation in the source) +# XXX So, this should NOT use vt220! It should be complete, accurate, & stand-alone. +# +# N.B.: Use this plain "wsvt25" type IFF you have compiled your kernel with: +# +# options PCKBD_LAYOUT="KB_METAESC" +# +# or you run: +# +# wsconsctl -w encoding=XX.metaesc +# +# or you add the following line to /etc/wscons.conf: +# +# encoding XX.metaesc +# +# If you do none of these things then use "wsvt25m" -- Greg A. Woods <gwoods%acm.org@localhost> Kelowna, BC +1 250 762-7675 RoboHack <woods%robohack.ca@localhost> Planix, Inc. <woods%planix.com@localhost> Avoncote Farms <woods%avoncote.ca@localhost>
Attachment:
pgpcK1xGbAmTX.pgp
Description: OpenPGP Digital Signature