/usr/share/doc/HOWTO/ja-html/mouse-wheel-scroll-7.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE> X mouse wheel scroll: XTerm</TITLE>
<LINK HREF="mouse-wheel-scroll-8.html" REL=next>
<LINK HREF="mouse-wheel-scroll-6.html" REL=previous>
<LINK HREF="mouse-wheel-scroll.html#toc7" REL=contents>
</HEAD>
<BODY>
<A HREF="mouse-wheel-scroll-8.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="mouse-wheel-scroll-6.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="mouse-wheel-scroll.html#toc7">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s7">7. XTerm</A></H2>
<P>¥Û¥¤¡¼¥ë¤Ï¥»¡¼¥Ö¤µ¤ì¤Æ¤¤¤ë½ÐÎϹԤò¥¹¥¯¥í¡¼¥ë¤·¤Þ¤¹¡£°Ê²¼¤Î¹Ô¤ò
/.Xdefaults ¤ËÄɲ䷤Ʋ¼¤µ¤¤¡£
<PRE>
!# Scrolling on wheel mouse: half a page normally, line per line with shift
XTerm.vt100.translations: #override\n\
Shift<Btn4Down>,<Btn4Up>:scroll-back(1,line)\n\
Shift<Btn5Down>,<Btn5Up>:scroll-forw(1,line)\n\
Ctrl<Btn4Down>,<Btn4Up>:scroll-back(1,page)\n\
Ctrl<Btn5Down>,<Btn5Up>:scroll-forw(1,page)\n\
<Btn4Down>,<Btn4Up>:scroll-back(1,halfpage)\n\
<Btn5Down>,<Btn5Up>:scroll-forw(1,halfpage)\n\
!# In the scrollbar we map buttons 5 & 4 to 1 and 2 otherwise, core dump
!# This will move proportionnaly to cursor position but we dont know how to
!# program the same exact behavior as in the text widget.
XTerm.vt100.Scrollbar.translations: #override\n\
<Btn5Down>: StartScroll(Forward)\n\
<Btn4Down>: StartScroll(Backward)\n\
</PRE>
<P>
<P>
<HR>
<A HREF="mouse-wheel-scroll-8.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="mouse-wheel-scroll-6.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="mouse-wheel-scroll.html#toc7">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|