diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-21 16:46:34 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-21 16:46:34 +0000 |
commit | ed3e673f0a4b82f631f0e374fdc075928a111008 (patch) | |
tree | 4669cd2a186cc748f9856a757cbbab8410718be9 | |
parent | fix indent (diff) | |
download | w3m-ed3e673f0a4b82f631f0e374fdc075928a111008.tar.gz w3m-ed3e673f0a4b82f631f0e374fdc075928a111008.zip |
* doc/README.mouse_menu: added
* doc-jp/README.mouse_menu: added
From: Fumitoshi UKAI <ukai@debian.or.jp>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | doc-jp/README.mouse_menu | 31 | ||||
-rw-r--r-- | doc/README.mouse_menu | 49 |
3 files changed, 86 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2002-11-22 Fumitoshi UKAI <ukai@debian.or.jp> + + * doc/README.mouse_menu: added + * doc-jp/README.mouse_menu: added + 2002-11-22 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp> * [w3m-dev 03455] mouse menu @@ -4973,4 +4978,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.541 2002/11/21 16:31:35 ukai Exp $ +$Id: ChangeLog,v 1.542 2002/11/21 16:47:13 ukai Exp $ diff --git a/doc-jp/README.mouse_menu b/doc-jp/README.mouse_menu new file mode 100644 index 0000000..3d23803 --- /dev/null +++ b/doc-jp/README.mouse_menu @@ -0,0 +1,31 @@ +~/.w3m/mouse に以下の様な設定をすると、 + +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 + +一番上(タブの横)にマウス用のメニューを表示する様になります。 +こんな感じ。 + +<= => R B [ Bookmarks ][ 坂本浩則のホームページ ] x +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +ただし使えるのは、10カラム分(0〜9まで)だけです。 +また、その範囲にリンクからドラッグすると新しいタブでリンク先を +開きます。(わりあい便利。) + +~/.w3m/mouse の形式は、 + +menu メニューの文字列 + +button 番号 左端のカラム位置 右端のカラム位置 関数 [引数] + : + 1…左ボタン + 2…中ボタン + 3…右ボタン +です。 diff --git a/doc/README.mouse_menu b/doc/README.mouse_menu new file mode 100644 index 0000000..a02d482 --- /dev/null +++ b/doc/README.mouse_menu @@ -0,0 +1,49 @@ +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 ][ 坂本浩則のホームページ ] x +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +However, you can use at most 10 colums (0 to 9) for mouse menu. + +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 |