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
The following reply was made to PR kern/56223; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: misc/56223: Compilation as root for various pkgsrc packages screws up the console
Date: Fri, 4 Jun 2021 22:51:08 -0000 (UTC)
uwe%stderr.spb.ru@localhost (Valery Ushakov) writes:
> > 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
Maybe this:
Index: wsemul_vt100.c
===================================================================
RCS file: /cvsroot/src/sys/dev/wscons/wsemul_vt100.c,v
retrieving revision 1.46
diff -p -u -r1.46 wsemul_vt100.c
--- wsemul_vt100.c 10 Nov 2019 21:16:38 -0000 1.46
+++ wsemul_vt100.c 4 Jun 2021 22:50:42 -0000
@@ -763,6 +763,11 @@ wsemul_vt100_output_string(struct wsemul
{
struct vt100base_data *vd = &edp->bd;
+ if (c == ASCII_BEL) {
+ wsemul_vt100_handle_dcs(vd);
+ return VT100_EMUL_STATE_NORMAL;
+ }
+
if (vd->dcstype && vd->dcspos < DCS_MAXLEN)
vd->dcsarg[vd->dcspos++] = c;
return VT100_EMUL_STATE_STRING;
Home |
Main Index |
Thread Index |
Old Index