NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/56223: Compilation as root for various pkgsrc packages screws up the console



On 2021/06/05 7:35, Valery Ushakov wrote:
The following reply was made to PR kern/56223; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: misc/56223: Compilation as root for various pkgsrc packages
  screws up the console
Date: Sat, 5 Jun 2021 01:31:00 +0300

  On Sat, Jun 05, 2021 at 01:28:28 +0300, Valery Ushakov wrote:
> I'm pretty sure I remember a PR about this. In the quoted gcc output
  > the ^G is supposed to terminate it.  It's not standard but, iirc,
  > several emulators accept it as a terminator.
PR kern/53245

OpenBSD supports ^G as a terminator of string state:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/wscons/wsemul_vt100.c#rev1.28

Minimum adjust for ours would be:

https://gist.github.com/rokuyama/8250f98eaaeb3e7765380e69a9be478b

At least, console does not become blank with David's reproducer.

Thoughts?

Thanks,
rin


Home | Main Index | Thread Index | Old Index