* doc/README.mouse_menu: deleted
* doc/README.mouse: added * doc-jp/README.mouse_menu: deleted * doc-jp/README.mouse: added From: Fumitoshi UKAI <ukai@debian.or.jp>
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2002-11-26 Fumitoshi UKAI <ukai@debian.or.jp>
|
||||
|
||||
* doc/README.mouse_menu: deleted
|
||||
* doc/README.mouse: added
|
||||
* doc-jp/README.mouse_menu: deleted
|
||||
* doc-jp/README.mouse: added
|
||||
|
||||
2002-11-26 Fumitoshi UKAI <ukai@debian.or.jp>
|
||||
|
||||
* map.c (follow_map_menu): MapArea *a is used ifdef MENU_MAP
|
||||
@@ -5137,4 +5144,4 @@ a * [w3m-dev 03276] compile error on EWS4800
|
||||
* release-0-2-1
|
||||
* import w3m-0.2.1
|
||||
|
||||
$Id: ChangeLog,v 1.555 2002/11/25 17:10:48 ukai Exp $
|
||||
$Id: ChangeLog,v 1.556 2002/11/25 17:23:42 ukai Exp $
|
||||
|
66
doc-jp/README.mouse
Normal file
66
doc-jp/README.mouse
Normal file
@@ -0,0 +1,66 @@
|
||||
~/.w3m/mouse <20>η<EFBFBD><CEB7><EFBFBD><EFBFBD>ϡ<EFBFBD>
|
||||
|
||||
menu <20><><EFBFBD>˥塼<CBA5><E5A1BC>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD>(<28>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>Ȥʤ<C8A4>)
|
||||
lastline <20>Dz<EFBFBD><C7B2>Ԥ<EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD>(<28>ǥե<C7A5><D5A5><EFBFBD><EFBFBD>ȡآ㢬<D8A2><E3A2AC><EFBFBD><EFBFBD>)
|
||||
button <20>ֹ<EFBFBD> <20><><EFBFBD><EFBFBD> <20>ؿ<EFBFBD> [<5B><><EFBFBD><EFBFBD>]
|
||||
|
||||
|
||||
<EFBFBD>ֹ<EFBFBD>: 1<>ĺ<EFBFBD><C4BA>ܥ<EFBFBD><DCA5><EFBFBD>
|
||||
2<><32><EFBFBD><EFBFBD><EFBFBD>ܥ<EFBFBD><DCA5><EFBFBD>
|
||||
3<>ı<EFBFBD><C4B1>ܥ<EFBFBD><DCA5><EFBFBD>
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>: menu <x1> <x2> <20><> <20><><EFBFBD>˥塼<CBA5><E5A1BC><EFBFBD>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD>å<EFBFBD>
|
||||
lastline <x1> <x2> <20><> <20>Dz<EFBFBD><C7B2>Ԥǥ<D4A4><C7A5><EFBFBD><EFBFBD>å<EFBFBD>
|
||||
default <20><> ¾<><C2BE><EFBFBD><EFBFBD><EFBFBD>̵꤬<EAA4AC><CCB5><EFBFBD><EFBFBD><EFBFBD>Υǥե<C7A5><D5A5><EFBFBD><EFBFBD><EFBFBD>
|
||||
anchor <20><> <20><><EFBFBD><EFBFBD><F3A5ABA1><EFBFBD><EFBFBD>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD>å<EFBFBD>
|
||||
active <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><C6A5>֤ʥ<D6A4><CAA5><EFBFBD><F3A5ABA1><EFBFBD><EFBFBD>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD>å<EFBFBD>
|
||||
tab <20><> <20><><EFBFBD>־<EFBFBD><D6BE>ǥ<EFBFBD><C7A5><EFBFBD><EFBFBD>å<EFBFBD>
|
||||
|
||||
<x1> : <20><>ü<EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<x2> : <20><>ü<EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
<EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD>ߴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Τ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <<3C><><EFBFBD><EFBFBD>> <20>Ǥ<EFBFBD> menu <20>Ͼ<EFBFBD>ά<EFBFBD><CEAC>ǽ<EFBFBD>Ǥ<EFBFBD><C7A4><EFBFBD>
|
||||
|
||||
<EFBFBD>ǥե<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(func.c <20><>)<29>ϡ<EFBFBD>
|
||||
|
||||
button 1 default MOVE_MOUSE
|
||||
button 2 default BACK
|
||||
button 3 default MENU_MOUSE
|
||||
|
||||
button 1 active GOTO_LINK
|
||||
|
||||
button 1 tab TAB_MOUSE
|
||||
button 2 tab CLOSE_TAB_MOUSE
|
||||
|
||||
lastline "<22>㢬<EFBFBD><E3A2AC>"
|
||||
button 1 lastline 0 1 BACK
|
||||
button 1 lastline 2 3 PREV_PAGE
|
||||
button 1 lastline 4 5 NEXT_PAGE
|
||||
|
||||
<EFBFBD><EFBFBD>Ʊ<EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD>ޤǤ<DEA4>Ʊ<EFBFBD><C6B1><EFBFBD>Ϥ<EFBFBD>)
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD>㤨<EFBFBD>С<EFBFBD>
|
||||
|
||||
button 1 anchor COMMAND "MOVE_MOUSE; GOTO_LINK"
|
||||
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD>ꤹ<EFBFBD><EAA4B9><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><EFBFBD>ƥ<EFBFBD><C6A5>֤Ǥʤ<C7A4><CAA4><EFBFBD><EFBFBD><EFBFBD><F3A5ABA1><EFBFBD><EFBFBD>Ǥ⺸<C7A4><E2BAB8><EFBFBD><EFBFBD><EFBFBD>å<EFBFBD><C3A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǡ<EFBFBD>
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӥޤ<D3A4><DEA4><EFBFBD>(GUI <20>֥饦<D6A5><E9A5A6><EFBFBD><EFBFBD>Ʊ<EFBFBD><C6B1><EFBFBD>ͤ<EFBFBD>ư<EFBFBD><C6B0>)
|
||||
|
||||
<EFBFBD><EFBFBD>~/.w3m/menu <20><>
|
||||
|
||||
menu Active
|
||||
func "<22><><EFBFBD><EFBFBD>ɽ<EFBFBD><C9BD> (a)" GOTO_LINK "a"
|
||||
func "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD>ɽ<EFBFBD><C9BD> (t)" TAB_LINK "t"
|
||||
func "<22><><EFBFBD><EFBFBD><F3A5AFA4><EFBFBD>¸ (d)" SAVE_LINK "d"
|
||||
func "<22><><EFBFBD><EFBFBD><EFBFBD>֥饦<D6A5><E9A5A6><EFBFBD><EFBFBD>ɽ<EFBFBD><C9BD> (m)" EXTERN_LINK "m"
|
||||
end
|
||||
|
||||
<20><><EFBFBD>ͤ<EFBFBD><CDA4><EFBFBD><EFBFBD>ꤷ<EFBFBD>Ƥ<EFBFBD><C6A4><EFBFBD><EFBFBD>ơ<EFBFBD>~/.w3m/mouse <20><>
|
||||
|
||||
button 3 anchor MENU_MOUSE Active
|
||||
|
||||
<20><><EFBFBD><EFBFBD><EFBFBD>ꤹ<EFBFBD><EAA4B9><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><F3A5ABA1><EFBFBD><EFBFBD>DZ<EFBFBD><C7B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>å<EFBFBD><C3A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȥ<EFBFBD><C8A5><EFBFBD><F3A5ABA1>Ѥ<EFBFBD>
|
||||
<20><><EFBFBD>˥塼<CBA5><E5A1BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǻȤäƤߤƤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
@@ -1,30 +0,0 @@
|
||||
~/.w3m/mouse <20>˰ʲ<CBB0><CAB2><EFBFBD><EFBFBD>ͤ<EFBFBD><CDA4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><F2A4B9A4>ȡ<EFBFBD>
|
||||
|
||||
menu "<= => R B"
|
||||
button 1 0 1 PREV
|
||||
button 1 3 4 NEXT
|
||||
button 1 6 7 RELOAD
|
||||
button 1 8 8 ADD_BOOKMARK
|
||||
button 3 8 8 COMMAND "NEW_TAB; BOOKMARK; DELETE_PREVBUF"
|
||||
button 3 0 4 SELECT_MENU
|
||||
button 2 0 9 CLOSE_TAB
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD>־<EFBFBD>(<28><><EFBFBD>֤β<D6A4>)<29>˥ޥ<CBA5><DEA5><EFBFBD><EFBFBD>ѤΥ<D1A4><CEA5>˥塼<CBA5><E5A1BC>ɽ<EFBFBD><C9BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͤˤʤ<CBA4><CAA4>ޤ<EFBFBD><DEA4><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
<= => R B [ Bookmarks ][ <20><><EFBFBD>ܹ<EFBFBD>§<EFBFBD>Υۡ<CEA5><DBA1><EFBFBD><EFBFBD>ڡ<EFBFBD><DAA1><EFBFBD> ] x
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϰϤ˥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɥ<EFBFBD><EFBFBD>å<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤ǥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD>ꤢ<EFBFBD><EAA4A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
|
||||
|
||||
~/.w3m/mouse <20>η<EFBFBD><CEB7><EFBFBD><EFBFBD>ϡ<EFBFBD>
|
||||
|
||||
menu <20><><EFBFBD>˥塼<CBA5><E5A1BC>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD>
|
||||
|
||||
button <20>ֹ<EFBFBD> <20><>ü<EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ü<EFBFBD>Υ<EFBFBD><CEA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ؿ<EFBFBD> [<5B><><EFBFBD><EFBFBD>]
|
||||
:
|
||||
1<>ĺ<EFBFBD><C4BA>ܥ<EFBFBD><DCA5><EFBFBD>
|
||||
2<><32><EFBFBD><EFBFBD><EFBFBD>ܥ<EFBFBD><DCA5><EFBFBD>
|
||||
3<>ı<EFBFBD><C4B1>ܥ<EFBFBD><DCA5><EFBFBD>
|
||||
<EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
61
doc/README.mouse
Normal file
61
doc/README.mouse
Normal file
@@ -0,0 +1,61 @@
|
||||
~/.w3m/mouse syntax:
|
||||
|
||||
menu <menu string - default empty>
|
||||
lastline <lastline string - default "<=UpDn">
|
||||
button <num> <pos> <func> [<arg>]
|
||||
|
||||
<num>: 1 : left button
|
||||
2 : middle button
|
||||
3 : right button
|
||||
|
||||
<pos>: menu <x1> <x2> : click on menu
|
||||
lastline <x1> <x2> : click on last line
|
||||
default : default action
|
||||
anchor : click on anchor
|
||||
active : click on active anchor
|
||||
tab : click on tab
|
||||
|
||||
<x1>: left column pos
|
||||
<x2>: right column pos
|
||||
|
||||
menu in <pos> can be omited for backward compatibility.
|
||||
|
||||
default configuration (in func.c)
|
||||
|
||||
|
||||
button 1 default MOVE_MOUSE
|
||||
button 2 default BACK
|
||||
button 3 default MENU_MOUSE
|
||||
|
||||
button 1 active GOTO_LINK
|
||||
|
||||
button 1 tab TAB_MOUSE
|
||||
button 2 tab CLOSE_TAB_MOUSE
|
||||
|
||||
lastline "<=UpDn"
|
||||
button 1 lastline 0 1 BACK
|
||||
button 1 lastline 2 3 PREV_PAGE
|
||||
button 1 lastline 4 5 NEXT_PAGE
|
||||
|
||||
For example
|
||||
|
||||
- In ~/.w3m/mouse
|
||||
|
||||
button 1 anchor COMMAND "MOVE_MOUSE; GOTO_LINK"
|
||||
|
||||
you can jump to link by left click on non-active anchor.
|
||||
|
||||
- In ~/.w3m/menu
|
||||
|
||||
menu Active
|
||||
func "Display LInk (a)" GOTO_LINK "a"
|
||||
func "Open in new tag (t)" TAB_LINK "t"
|
||||
func "Save link (d)" SAVE_LINK "d"
|
||||
func "External browser (m)" EXTERN_LINK "m"
|
||||
end
|
||||
|
||||
and ~/.w3m/mouse
|
||||
|
||||
button 3 anchor MENU_MOUSE Active
|
||||
|
||||
then you can open menu by right click on anchor.
|
@@ -1,47 +0,0 @@
|
||||
You configure in ~/.w3m/mouse as follows:
|
||||
|
||||
menu "<= => R B"
|
||||
button 1 0 1 PREV
|
||||
button 1 3 4 NEXT
|
||||
button 1 6 7 RELOAD
|
||||
button 1 8 8 ADD_BOOKMARK
|
||||
button 3 8 8 COMMAND "NEW_TAB; BOOKMARK; DELETE_PREVBUF"
|
||||
button 3 0 4 SELECT_MENU
|
||||
button 2 0 9 CLOSE_TAB
|
||||
|
||||
Then, w3m will display menu for mouse on top of line, next to tab.
|
||||
Like this:
|
||||
|
||||
<= => R B [ Bookmarks ][ <20><><EFBFBD>ܹ<EFBFBD>§<EFBFBD>Υۡ<CEA5><DBA1><EFBFBD><EFBFBD>ڡ<EFBFBD><DAA1><EFBFBD> ] x
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
You can open URL in new tab if you drag URL to the region of mouse menu.
|
||||
|
||||
~/.w3m/mouse syntax:
|
||||
|
||||
menu <menu string>
|
||||
|
||||
button <num> <left-column-pos> <right-column-pos> <func> [<arg>]
|
||||
:
|
||||
1 : left button
|
||||
2 : middle button
|
||||
3 : right button
|
||||
|
||||
So, above example means
|
||||
|
||||
menu "<= => R B"
|
||||
# menu string is "<= => R B"
|
||||
button 1 0 1 PREV
|
||||
# On "<=" (column 0 1), left button click, go to prev buffer
|
||||
button 1 3 4 NEXT
|
||||
# On "=>" (column 3 4), left button click, go to next buffer
|
||||
button 1 6 7 RELOAD
|
||||
# On "R " (column 6 7), left button click, reload
|
||||
button 1 8 8 ADD_BOOKMARK
|
||||
# On "B" (column 8), left button click, add bookmark
|
||||
button 3 8 8 COMMAND "NEW_TAB; BOOKMARK; DELETE_PREVBUF"
|
||||
# On "B" (column 8), right button click, open bookmark in new tab
|
||||
button 3 0 4 SELECT_MENU
|
||||
# On "<= =>" (column 0 4), right button click, select menu
|
||||
button 2 0 9 CLOSE_TAB
|
||||
# On "<= => R B" (column 0 9), middle button click, close tab
|
Reference in New Issue
Block a user