Subject: port-i386/404: Control-Meta-Space busted with PCVT_META_ESC and PCVT_NULLCHARS set
To: None <gnats-admin>
From: None <sommerfeld@orchard.medford.ma.us>
List: netbsd-bugs
Date: 08/09/1994 07:50:06
>Number: 404
>Category: port-i386
>Synopsis: Meta-Control-Space broken with PCVT_META_ESC and PCVT_NULLCHARS set
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 9 07:50:05 1994
>Originator: Bill Sommerfeld
>Organization:
" "
>Release: 1.0BETA
>Environment:
System: NetBSD orchard.medford.ma.us 1.0_BETA NetBSD 1.0_BETA (ORCHARD) #6: Sun Aug 7 13:54:11 EDT 1994 sommerfeld@orchard.medford.ma.us:/u1/nsys/sys/arch/i386/compile/ORCHARD i386
>Description:
Meta-Control-Space should (theoretically) send ESC NUL if
PCVT_NULLCHARS and PCVT_META_ESC are defined; in reality,
it just sends ESC.
Because of the grody encoding hack used by sgets() to
implement PCVT_NULLCHARS (if the first character is a null, send it),
there isn't a trivial one-line fix.
>How-To-Repeat:
in a kernel with PCVT_NULLCHARS and PCVT_META_ESC, type a
M-C-SPC to emacs.
>Fix:
none yet; perhaps change sgetc to return a count (through a pointer
argument) as well as a string, like it should have to
begin with.
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------