NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Acer Aspire One NetBSD 11.0-RC1 slow man pages rendering in virtual consoles
Hello,
Thanks Martin for the details. I do not remember exactly what I did to upgrade the Acer from 10.1 to 11.0RC1using sysinst cause I first did it from the glass console but I had some trouble with ntpd and BIOS system date that broke https downloads, I believed wrongly that etc was not updated and made the stupid mistake of downloading manually and unpack etc set in / without using etcupdate. I made some steps over the ssh console to fix the situation.
Anyway, I think I should sleep better in order to not make such mistakes(and think twice before doing things) ;-)
Regards.
El 4 de marzo de 2026 19:03:19 CET, Martin Husemann <martin%duskware.de@localhost> escribió:
>On Wed, Mar 04, 2026 at 06:24:58PM +0100, Ramiro Aceves wrote:
>> 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.
>
>If you install via sysinst on amd64 or i386 *and* are running sysinst on
>the glass console, it should be set to wsvt25 automatically, but the
>logic is fragile and only present for those two architectures, while
>virtual consoles and wsvt25 is used accross most architectures.
>
> /*
> * Get console device, should either be ttyE0 or tty0n.
> * Too hard to double check, so just 'know' the device numbers.
> */
> len = sizeof condev;
> if (sysctl(conmib, __arraycount(conmib), &condev, &len, NULL, 0) != -1
> && (condev & ~3) != 0x800) {
>
> /*
> * Current console is not com*, assume ttyE*.
> * Modify /etc/ttys to use wsvt25 for all ports.
> */
>
> run_program(RUN_CHROOT,
> "sed -an -e 's/vt100/wsvt25/g;"
> "H;$!d;g;w /etc/ttys' /etc/ttys");
> }
>
>We should simply check the TERM type used to run sysinst, as the
>scripts invoking it try to automatically set a proper default.
>
>"fgrep -r kern.consdev src/distrib" to see where it is used, and it should
>be propagated to even more architectures.
>
>Martin
Home |
Main Index |
Thread Index |
Old Index