Bug fix patches for the console driver

From: Eric S. Raymond (esr@thyrsus.com)
Date: Tue Mar 14 2000 - 12:05:38 EST


Here are the first console driver changes from the Linux Console
Project. This description applies to both the "Sapphire" patch for
2.2.14 and the "Emerald" patch for 2.3.51.

The second patch band changes fix the double off-by-one error which manifests
itself in the accordion test from vttest.

The third band is a patch from linux-kernel: it has to do with wrongly
neglecting the intensity bit in certain operations.

The other patch bands clean up the code and fix some subtle bugs in
the escape-sequence state machine.

The following changes to the terminal emulation depend on the value
of the VTE_VERSION macro:

Version 200, bug fixes only:

Code Action Change Reason
------ --------------- --------------- ----------------------------
\E[21m turn off 1 removed Conflicts with ECMA-48
\E[s DECRC removed Not in either VT100 or ECMA-48
\E[u DECSC removed Not in either VT100 or ECMA-48

All three removed capabilities are redundant with other escape
sequences supported by the driver (\E[22m, \E7, and \E8 respectively).
None are or have ever been used by the Linux terminfo/termcap entry.

Version 210, DEC and ECMA-48 enhancements:

Code Action Change Reason
------ --------------- --------------- ----------------------------
\E[6m blink added ECMA-48 conformance
\E[ n k VPB added :
\E[ n j HPB added :
\E[ n I CHT added :
\E[ n W CTC added (n=0, 5) :
\E[ n Y CVT added :
\E[ n Z CBT added :

0x84 IND added Supports VT220 8-bit mode
0x85 NEL added :
0x88 HTS added :
0x8d RI added :

\E[?6n DECXCPR added More exact VT100 emulation
\E[?15n Printer status added :
\E[?25n UDK status added :
\E[?26n Keyboard status added :
\E[?75n Data integrity added :
\E[x DECREQTPARM added :

Size of console.o:
  text data bss dec hex filename
  23452 332 1028 24812 60ec 2.2.14, baseline
  23612 332 1028 24972 618c 2.2.14, Version 2.0.0
  25024 332 1028 26384 6710 2.2.14, Version 2.1.0
  25211 416 1028 26655 681f 2.3.51, baseline
  25595 416 1028 27039 699f 2.3.51, Version 2.0.0
  26939 416 1028 28383 6edf 2.3.51, Version 2.1.0

The serious work will begin with Ruby 1, when we re-factor the driver
to pull the terminal emulation code out of console.c. One of our
goals for Ruby is to make the emulation code a module that could be
replaced with other emulations (like, say, if HP wanted the console of
a Linux distribution to look like an HP terminal). This change won't
add features, so we'd like to get it in before 2.4.

Further down the road, we plan to integrate Vojtech Pavlik's work
on re-factoring the input drivers for better cross-platform portability
and modularity. James Simmons wants to clean up the interface between
the console and fbdev; right now they are much too entwined.

Better support for blind users is in the offing. Features such
as multi-head operation, scrollback, and support for different fonts &
textmodes per VC will also be developed. These are definitely 2.5.x
projects.

Here's the new entry for MAINTAINERS:

CONSOLE DRIVER
P: James Simmons
M: jsimmons@acsu.buffalo.edu
P: Eric S. Raymond
M: esr@thyrsus.com
L: linuxconsole-dev@sourceforge.net
W: http://linuxconsole.sourceforge.net/
S: Maintained

-- 
		<a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a>

According to the National Crime Survey administered by the Bureau of the Census and the National Institute of Justice, it was found that only 12 percent of those who use a gun to resist assault are injured, as are 17 percent of those who use a gun to resist robbery. These percentages are 27 and 25 percent, respectively, if they passively comply with the felon's demands. Three times as many were injured if they used other means of resistance. -- G. Kleck, "Policy Lessons from Recent Gun Control Research,"





- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:28 EST