Jan,
On 08/ 9/11 10:59 AM, Jan Damborsky wrote:
...
The changes look good.
As far as testing goes, it's not explicitly mentioned, but
I assume the fix was tested with vt100 terminal ?
Yes, vt100 was tested as well as vt220, sun, sun-color.
Thanks,
William
Jan
On 08/09/11 10:39, William Schumann wrote:
https://cr.opensolaris.org/action/browse/caiman/wmsch/7072646/webrev/
terminalui has no ability to process escape sequences, other than ESC-#, which is uses in situations where function keys don't
work. For TERM=xterm, curses will recognize keyboard escape sequences for a particular terminal type and deliver them as numeric
codes for input to terminalui, so the sequences are never seen by terminalui.
The fix takes escape sequences character-by-character, returning corresponding curses values when decoded. Identifies
ansi/vt100/vt220 sequences for PgUp/PgDown/Home/End/F6_Help/F9_Quit and converts them to curses codes, as
InnerWindow.KEY_TRANSLATE does. Does not affect TERM=xterm, since escape sequences have already been converted. Also handles F2
and F3 sequences for xterm-color.
Tested against TERM=xterm, xterm-color. Tested on SPARC ALOM service processor console. Tested in SPARC AI microroot, tested on
x86 AI microroot.
Discovered during testing that Home/End did not work for network interface IP address/router fields or user info text fields in
any case, although Home/End work for other text fields and IP addresses elsewhere. (PgUp/PgDown now work in all cases.)
Treating this as a separate issue.
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss