Subject: Re: WSCONS_SCROLLBUFFER... how does it work?
To: Jukka Salmi <jukka-netbsd@2004.salmi.ch>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: current-users
Date: 06/03/2004 17:36:14
--Signature=_Thu__3_Jun_2004_17_36_14_+0200_UOq+1dEy_84uoFmF
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Thu, 3 Jun 2004 15:52:10 +0200
Jukka Salmi <jukka-netbsd@2004.salmi.ch> wrote:

> See PR 19925 [1], it's explained there.
> 
> 
> HTH, Jukka
> 
> http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=19925

Thank you... but still can't assign the keys:

[juan@Nocturno][~]> cat /etc/rc.keys
keycode 201=KS_Cmd_ScrollFastUp Prior
keycode 209=KS_Cmd_ScrollFastDown Next
[juan@Nocturno][~]> cat foo.sh 
#!/bin/sh

cat /etc/rc.keys | while read key; do
        wsconsctl -w "map+=$key"
done
[juan@Nocturno][~]>

[juan@Nocturno][~]> sudo sh foo.sh 
wsconsctl: KS_Cmd_ScrollFastUp: not a keysym
wsconsctl: KS_Cmd_ScrollFastDown: not a keysym
[juan@Nocturno][~]>

[juan@Nocturno][~]> grep Scroll /usr/include/dev/wscons/*
/usr/include/dev/wscons/wsksymdef.h:#define KS_Cmd_ScrollFastUp 0xf42c
/usr/include/dev/wscons/wsksymdef.h:#define KS_Cmd_ScrollFastDown       0xf42d
/usr/include/dev/wscons/wsksymdef.h:#define KS_Cmd_ScrollSlowUp 0xf42e
/usr/include/dev/wscons/wsksymdef.h:#define KS_Cmd_ScrollSlowDown       0xf42f
[juan@Nocturno][~]>

Any idea?

--
	Juan RP <juan@xtraeme.unixbsd.org>

--Signature=_Thu__3_Jun_2004_17_36_14_+0200_UOq+1dEy_84uoFmF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAv0VyypkLYVDran0RAsdUAJsFOHs3UVCROfILZ316JIR5L+4IjwCgt9Do
6qfohII4fjez2oMH1O3N0TA=
=X8+x
-----END PGP SIGNATURE-----

--Signature=_Thu__3_Jun_2004_17_36_14_+0200_UOq+1dEy_84uoFmF--