Summary: | [syscons] [patch] syscons doesn't support 8-bit control characters | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Peter Jeremy <peter> | ||||
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
Status: | Open --- | ||||||
Severity: | Affects Only Me | CC: | emaste | ||||
Priority: | Normal | Keywords: | patch | ||||
Version: | 4.6-PRERELEASE | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Peter Jeremy
2002-06-14 00:20:02 UTC
On Fri, Jun 14, 2002 at 09:10:36 +1000, Peter Jeremy wrote: > syscons supports a subset of ANSI x3.64 (see screen(4)) control > sequences beginning with 'ESC [' but does not support the 8-bit > equivalent of 'ESC [' (0x9b). This causes problems when using Because 0x9b will be in conflict with national character sets. -- Andrey A. Chernov http://ache.pp.ru/ On 2002-Jun-14 04:08:23 +0400, "Andrey A. Chernov" <ache@nagual.pp.ru> wrote: >Because 0x9b will be in conflict with national character sets. For which national character sets? 0x80 thru 0x9f are reserved for control characters in ISO6429 and ISO8859. Admittedly, IBM and Microsoft defined graphics for all 256 character positions, but syscons treats 0x00 thru 0x1f as control characters so the handling is already inconsistent. Maybe syscons needs some way to be told what are graphic characters and what can be interpreted as control characters. Peter On Fri, Jun 14, 2002 at 11:06:57 +1000, Peter Jeremy wrote: > On 2002-Jun-14 04:08:23 +0400, "Andrey A. Chernov" <ache@nagual.pp.ru> wrote: > >Because 0x9b will be in conflict with national character sets. > > For which national character sets? 0x80 thru 0x9f are reserved for For example: KOI8-R, KOI8-U, CP866, CP437 > Microsoft defined graphics for all 256 character positions, but > syscons treats 0x00 thru 0x1f as control characters so the handling > is already inconsistent. There is no national characters among lower controls for every charset I know. > Maybe syscons needs some way to be told what are graphic characters and > what can be interpreted as control characters. As for VTxxx there can be escape sequence to turn 8bit controls on/off or vidcontrol flag, all with defaults to off. -- Andrey A. Chernov http://ache.pp.ru/ For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped This is still the case with vt/teken, but the console is now Unicode and U+009b is (only) the Control Sequence Introducer (CSI). That said I do not know that it's used in practice today. Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi> |