El 4/3/26 a las 3:23, Greg A. Woods escribió:
At Tue, 3 Mar 2026 22:34:01 +0000 (UTC), RVP <[email protected]> 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 <[email protected]>
Kelowna, BC +1 250 762-7675 RoboHack <[email protected]>
Planix, Inc. <[email protected]> Avoncote Farms <[email protected]>
Hello RVP an Greg.
Thanks so much for your explanations. I have just arrive home and could not
wait to test what you pointed out.
I had
constty "/usr/libexec/getty Pc" vt100 on secure
I have changed to:
constty "/usr/libexec/getty Pc" wsvt25m on secure
And works fast now!
wsvt25 also works.
I do not know why constty was set to vt100 in the Acer Aspire One
NetBSD11.0-RC1, I do not remember having changed it. In my AMD64 IntelNuc
NetBSD 10.1 system is set to wsvt25.
Also do not remember.
Many thanks for your invaluable help.