1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Add KTerm.ad patch.

This can be useful if you have an IntelliMouse.
It maps the button events generated by the wheel.

Submitted by:	MITA Yoshio <yoshio.mita@ma2.justnet.ne.jp>
This commit is contained in:
Shigeyuki Fukushima 2001-01-28 17:28:50 +00:00
parent ba965121da
commit 446b1c840c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37679

View File

@ -0,0 +1,21 @@
--- KTerm.ad.orig Thu Dec 21 17:52:07 2000
+++ KTerm.ad Thu Dec 21 17:53:18 2000
@@ -123,3 +123,18 @@
*tek4014*font3: 6x13
*tek4014*fontSmall: 6x10
+!This can be useful if you have an IntelliMouse. It maps the button
+!events generated by the wheel
+*VT100*translations: #override \
+ !Ctrl <Btn4Down>: scroll-back(1,halfpage) \n\
+ !Lock Ctrl <Btn4Down>: scroll-back(1,halfpage) \n\
+ !Lock @Num_Lock Ctrl <Btn4Down>: scroll-back(1,halfpage) \n\
+ ! @Num_Lock Ctrl <Btn4Down>: scroll-back(1,halfpage) \n\
+ <Btn4Down>: scroll-back(5,line) \n\
+ !Ctrl <Btn5Down>: scroll-forw(1,halfpage) \n\
+ !Lock Ctrl <Btn5Down>: scroll-forw(1,halfpage) \n\
+ !Lock @Num_Lock Ctrl <Btn5Down>: scroll-forw(1,halfpage) \n\
+ ! @Num_Lock Ctrl <Btn5Down>: scroll-forw(1,halfpage) \n\
+ <Btn5Down>: scroll-forw(5,line) \n\
+ Ctrl<Key>space: begin-conversion(_JAPANESE_CONVERSION)
+