Subject: kern/10326: Can't map shifted cursor keys in wscons
To: None <gnats-bugs@gnats.netbsd.org>
From: None <R.S.Brooks@liverpool.ac.uk>
List: netbsd-bugs
Date: 06/08/2000 09:26:09
>Number:         10326
>Category:       kern
>Synopsis:       Can't map shifted cursor keys in wscons
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 08 09:27:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Roger Brooks
>Release:        NetBSD-current
>Organization:
The University of Liverpool
	
>Environment:
	<machine, os, target, libraries (multiple lines)>
System: NetBSD tallis 1.4 NetBSD 1.4 (TALLIS) #10: Sat Mar 4 23:52:12 GMT 2000 root@tallis:/usr2/src/sys/arch/i386/compile/TALLIS i386


>Description:
The wsemul->translate() function of a wscons emulation cannot see the current
modifiers (Shift/Ctrl/Alt etc).

>How-To-Repeat:
Try to write a new emulation for HP 700/44 HP-pcterm, which sends
different escape sequences on
	CurL
	Shift+CurL
	Ctrl+CurL
	Shift+Ctrl+CurL
and so on for all cursor and function keys.  Find that no information
about the current shift state appears to be avilable where you need it.

>Fix:
I'd like to add an additional parameter to wsemul->translate() containing
the shift bits.  I'm prepared to do this myself, but could whoever "owns"
the code contact me as I'd like to discuss a couple of issues?
>Release-Note:
>Audit-Trail:
>Unformatted: