[Mono-bugs] [Bug 421206] New: Console on Linux is missing support for Alt-Arrow/ SHift-Arrow/Control-Arrow on xterm

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 28 16:36:13 EDT 2008


           Summary: Console on Linux is missing support for Alt-Arrow/SHift-
                    Arrow/Control-Arrow on xterm
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: miguel at novell.com
        ReportedBy: miguel at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

On xterm, the following sequences are generated for
Plain/Alt/Shift/Control-Left arrow for example:

Plain: ^[[D
Alt: ^[[1;3D
Shift: ^[[1;2D
Control: ^[[1;5D

The current Match code makes it hard to return these values, the TermInfoDriver
needs to be modifies to have a single table instead of two.

Currently there is a table that maps escape sequences to TermInfo value, and
then a terminfo value to a ConsoleKeyInfo.  

This is an extra table that is not required, we should have a single table that
does escape sequence to ConsoleKeyInfo.

In addition to loading definitions from TermInfo, we should augment the tables
with information that is not availble from TermInfo for known terminals, for
example Alt-keyboard letter for xterm/console/vt100 (which is currently handled
for all terminals, and is likely wrong) as well as additions that are not
present in terminfo like the above Control/Alt/Shift combinations (only
Shift-cursor is available).

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list