Justin B Rye authored and Tatsuya Kinoshita committed 2016-04-02 06:51:06 +09:00
1 parent 631784149d
commit f4885d0838
10 files changed
+2942 -889

No files matched your search

+713 -270
View File
File diff suppressed because it is too large. Load diff
+2102 -492
View File
File diff suppressed because it is too large. Load diff
+65 -65
View File
@@ -1,25 +1,25 @@
ABORT Quit w3m without confirmation ABORT Quit w3m without confirmation
ACCESSKEY Popup accesskey menu ACCESSKEY Pop up accesskey menu
ADD_BOOKMARK Add current page to bookmark ADD_BOOKMARK Add current page to bookmarks
ALARM Set alarm ALARM Set alarm
BACK Back to previous buffer BACK Back to previous buffer
BEGIN Go to the first line BEGIN Go to the first line
BOOKMARK Read bookmark BOOKMARK View bookmarks
CENTER_H Move to the center line CENTER_H Move to the center line
CENTER_V Move to the center column CENTER_V Move to the center column
CHARSET Change the current document charset CHARSET Change the current document charset
CLOSE_TAB Close current tab CLOSE_TAB Close current tab
CLOSE_TAB_MOUSE Close tab on mouse cursor (for mouse action) CLOSE_TAB_MOUSE Close tab on mouse cursor (for mouse action)
COMMAND Execute w3m command(s) COMMAND Execute w3m command(s)
COOKIE View cookie list COOKIE View cookie list
DEFAULT_CHARSET Change the default document charset DEFAULT_CHARSET Change the default document charset
DEFINE_KEY Define a binding between a key stroke and a user command DEFINE_KEY Define a binding between a keystroke and a user command
DELETE_PREVBUF Delete previous buffer (mainly for local-CGI) DELETE_PREVBUF Delete previous buffer (mainly for local-CGI)
DICT_WORD Execute dictionary command (see README.dict) DICT_WORD Execute dictionary command (see README.dict)
DICT_WORD_AT Execute dictionary command for word at cursor DICT_WORD_AT Execute dictionary command for word at cursor
DISPLAY_IMAGE Restart loading and drawing of images DISPLAY_IMAGE Restart loading and drawing of images
DOWN Scroll down one line DOWN Scroll down one line
DOWNLOAD Save document source to file DOWNLOAD Save document (source) to file
DOWNLOAD_LIST Display download list panel DOWNLOAD_LIST Display download list panel
EDIT Edit current document EDIT Edit current document
EDIT_SCREEN Edit currently rendered document EDIT_SCREEN Edit currently rendered document
@@ -28,75 +28,75 @@ EXEC_SHELL Execute shell command
EXIT Quit w3m without confirmation EXIT Quit w3m without confirmation
EXTERN Execute external browser EXTERN Execute external browser
EXTERN_LINK View current link using external browser EXTERN_LINK View current link using external browser
FRAME Render frame FRAME Render frames
GOTO Go to URL GOTO Go to URL
GOTO_LINE Go to specified line GOTO_LINE Go to specified line
GOTO_LINK Go to current link GOTO_LINK Follow current link
GOTO_RELATIVE Go to relative URL GOTO_RELATIVE Go to relative URL
HELP View help HELP View help
HISTORY View history of URL HISTORY View browser history
INFO View info of current document INFO View info of current document
INTERRUPT Stop loading document INTERRUPT Suspend w3m
INIT_MAILCAP Reread mailcap (mainly for local-CGI) INIT_MAILCAP Reread mailcap (mainly for local-CGI)
ISEARCH Incremental search forward ISEARCH Incremental search forward
ISEARCH_BACK Incremental search backward ISEARCH_BACK Incremental search backward
LEFT Shift screen one column LEFT Shift screen one column
LINE_BEGIN Go to the beginning of line LINE_BEGIN Go to the beginning of line
LINE_END Go to the end of line LINE_END Go to the end of line
LINE_INFO Show current line number LINE_INFO Show current line number
LINK_BEGIN Go to the first link LINK_BEGIN Go to the first link
LINK_END Go to the last link LINK_END Go to the last link
LINK_MENU Popup link element menu LINK_MENU Pop up link element menu
LIST Show all links and images LIST Show all links and images
LIST_MENU Popup link list menu and go to selected link LIST_MENU Pop up link list menu and go to selected link
LOAD Load local file LOAD Load local file
MAIN_MENU Popup menu MAIN_MENU Pop up menu
MARK Set/unset mark MARK Set/unset mark
MARK_MID Mark Message-ID-like strings as anchors MARK_MID Mark Message-ID-like strings as links
MARK_URL Mark URL-like strings as anchors MARK_URL Mark URL-like strings as links
MARK_WORD Mark current word as anchor MARK_WORD Mark current word as link
MENU Popup menu MENU Pop up menu
MENU_MOUSE Popup menu at mouse cursor (for mouse action) MENU_MOUSE Pop up menu at mouse cursor (for mouse action)
MOUSE_TOGGLE Toggle activity of mouse MOUSE_TOGGLE Toggle mouse support
MOVE_DOWN Move cursor down (a half screen scroll at the end of screen) MOVE_DOWN Move cursor down (a half screen scroll at the end of screen)
MOVE_DOWN1 Move cursor down (1 line scroll at the end of screen) MOVE_DOWN1 Move cursor down (1 line scroll at the end of screen)
MOVE_LEFT Move cursor left (a half screen shift at the left edge) MOVE_LEFT Move cursor left (a half screen shift at the left edge)
MOVE_LEFT1 Move cursor left (1 columns shift at the left edge) MOVE_LEFT1 Move cursor left (1 column shift at the left edge)
MOVE_LIST_MENU Popup link list menu and move cursor to selected link MOVE_LIST_MENU Pop up link list menu and move cursor to selected link
MOVE_MOUSE Move cursor to mouse cursor (for mouse action) MOVE_MOUSE Move cursor to mouse cursor (for mouse action)
MOVE_RIGHT Move cursor right (a half screen shift at the right edge) MOVE_RIGHT Move cursor right (a half screen shift at the right edge)
MOVE_RIGHT1 Move cursor right (1 columns shift at the right edge) MOVE_RIGHT1 Move cursor right (1 column shift at the right edge)
MOVE_UP Move cursor up (a half screen scroll at the top of screen) MOVE_UP Move cursor up (a half screen scroll at the top of screen)
MOVE_UP1 Move cursor up (1 line scrol at the top of screen) MOVE_UP1 Move cursor up (1 line scroll at the top of screen)
MSGS Display error messages MSGS Display error messages
NEW_TAB Open new tab NEW_TAB Open new tab
NEXT Move to next buffer NEXT Move to next buffer
NEXT_DOWN Move to next downward link NEXT_DOWN Move downward to next link
NEXT_LEFT Move to next left link NEXT_LEFT Move left to next link
NEXT_LEFT_UP Move to next left (or upward) link NEXT_LEFT_UP Move left (or upward) to next link
NEXT_LINK Move to next link NEXT_LINK Move to next link
NEXT_MARK Move to next word NEXT_MARK Move to next word
NEXT_PAGE Move to next page NEXT_PAGE Move to next page
NEXT_RIGHT Move to next right link NEXT_RIGHT Move right to next link
NEXT_RIGHT_DOWN Move to next right (or downward) link NEXT_RIGHT_DOWN Move right (or downward) to next link
NEXT_TAB Move to next tab NEXT_TAB Move to next tab
NEXT_UP Move to next upward link NEXT_UP Move upward to next link
NEXT_VISITED Move to next visited link NEXT_VISITED Move to next visited link
NEXT_WORD Move to next word NEXT_WORD Move to next word
NOTHING Do nothing NOTHING Do nothing
NULL Do nothing NULL Do nothing
OPTIONS Option setting panel OPTIONS Display option setting panel
PEEK Peek current URL PEEK Peek at current URL
PEEK_IMG Peek image URL PEEK_IMG Peek at image URL
PEEK_LINK Peek link URL PEEK_LINK Peek at link URL
PIPE_BUF Send rendered document to pipe PIPE_BUF Send rendered document to pipe
PIPE_SHELL Execute shell command and browse PIPE_SHELL Execute shell command and browse
PREV Move to previous buffer PREV Move to previous buffer
PREV_LINK Move to previous link PREV_LINK Move to previous link
PREV_MARK Move to previous mark PREV_MARK Move to previous mark
PREV_PAGE Move to previous page PREV_PAGE Move to previous page
PREV_TAB Move to previous tab PREV_TAB Move to previous tab
PREV_VISITED Move to previous visited link PREV_VISITED Move to previous visited link
PREV_WORD Move to previous word PREV_WORD Move to previous word
PRINT Save buffer to file PRINT Save buffer to file
QUIT Quit w3m QUIT Quit w3m
@@ -106,40 +106,40 @@ REDRAW Redraw screen
REG_MARK Set mark using regexp REG_MARK Set mark using regexp
REINIT Reload configuration files REINIT Reload configuration files
RELOAD Reload buffer RELOAD Reload buffer
RESHAPE Re-render buffer RESHAPE Re-render buffer
RIGHT Shift screen one column right RIGHT Shift screen one column right
SAVE Save document source to file SAVE Save document (source) to file
SAVE_IMAGE Save image to file SAVE_IMAGE Save image to file
SAVE_LINK Save link to file SAVE_LINK Save link to file
SAVE_SCREEN Save rendered document to file SAVE_SCREEN Save buffer to file
SEARCH Search forward SEARCH Search forward
SEARCH_BACK Search backward SEARCH_BACK Search backward
SEARCH_FORE Search forward SEARCH_FORE Search forward
SEARCH_NEXT Search next regexp SEARCH_NEXT Search next regexp
SEARCH_PREV Search previous regexp SEARCH_PREV Search previous regexp
SELECT Go to buffer selection panel SELECT Go to buffer selection panel
SELECT_MENU Popup buffer selection menu SELECT_MENU Pop up buffer selection menu
SETENV Set environment variable SETENV Set environment variable
SET_OPTION Set option SET_OPTION Set option
SHELL Execute shell command SHELL Execute shell command
SHIFT_LEFT Shift screen left SHIFT_LEFT Shift screen left
SHIFT_RIGHT Shift screen right SHIFT_RIGHT Shift screen right
SOURCE View HTML source SOURCE View HTML source
STOP_IMAGE Stop loading and drawing of images STOP_IMAGE Stop loading and drawing of images
SUBMIT Submit form SUBMIT Submit form
SUSPEND Stop loading document SUSPEND Suspend w3m
TAB_GOTO Open URL on new tab TAB_GOTO Open URL on new tab
TAB_GOTO_RELATIVE Open relative URL on new tab TAB_GOTO_RELATIVE Open relative URL on new tab
TAB_LEFT Move current tab left TAB_LEFT Move current tab left
TAB_LINK Open current link on new tab TAB_LINK Open current link on new tab
TAB_MENU Popup tab selection menu TAB_MENU Pop up tab selection menu
TAB_MOUSE Move to tab on mouse cursor (for mouse action) TAB_MOUSE Move to tab on mouse cursor (for mouse action)
TAB_RIGHT Move current tab right TAB_RIGHT Move current tab right
UNDO Cancel the last cursor movement UNDO Cancel the last cursor movement
UP Scroll up one line UP Scroll up one line
VERSION Display version of w3m VERSION Display version of w3m
VIEW View HTML source VIEW View HTML source
VIEW_BOOKMARK View bookmark VIEW_BOOKMARK View bookmarks
VIEW_IMAGE View image VIEW_IMAGE View image
WHEREIS Search forward WHEREIS Search forward
WRAP_TOGGLE Toggle wrap search mode WRAP_TOGGLE Toggle search wrap mode
+1 -1
View File
@@ -39,6 +39,6 @@ menu Link
end end
menu Bookmark menu Bookmark
func "Read bookmark (b)" BOOKMARK "bB" func "View bookmarks (b)" BOOKMARK "bB"
func "Add page to bookmark(a)" ADD_BOOKMARK "aA" func "Add page to bookmark(a)" ADD_BOOKMARK "aA"
end end
+32 -32
View File
@@ -222,7 +222,7 @@ fusage(FILE * f, int err)
#endif /* USE_COLOR */ #endif /* USE_COLOR */
fprintf(f, fprintf(f,
" -N open URL of command line on each new tab\n"); " -N open URL of command line on each new tab\n");
fprintf(f, " -F automatically render frame\n"); fprintf(f, " -F automatically render frames\n");
fprintf(f, fprintf(f,
" -cols width specify column width (used with -dump)\n"); " -cols width specify column width (used with -dump)\n");
fprintf(f, fprintf(f,
@@ -261,7 +261,7 @@ fusage(FILE * f, int err)
#else #else
fprintf(f, " -S squeeze multiple blank lines\n"); fprintf(f, " -S squeeze multiple blank lines\n");
#endif #endif
fprintf(f, " -W toggle wrap search mode\n"); fprintf(f, " -W toggle search wrap mode\n");
fprintf(f, " -X don't use termcap init/deinit\n"); fprintf(f, " -X don't use termcap init/deinit\n");
fprintf(f, fprintf(f,
" -title[=TERM] set buffer name to terminal title string\n"); " -title[=TERM] set buffer name to terminal title string\n");
@@ -2610,7 +2610,7 @@ DEFUN(selBuf, SELECT, "Go to buffer selection panel")
} }
/* Suspend (on BSD), or run interactive shell (on SysV) */ /* Suspend (on BSD), or run interactive shell (on SysV) */
DEFUN(susp, INTERRUPT SUSPEND, "Stop loading document") DEFUN(susp, INTERRUPT SUSPEND, "Suspend w3m")
{ {
#ifndef SIGSTOP #ifndef SIGSTOP
char *shell; char *shell;
@@ -2941,7 +2941,7 @@ loadLink(char *url, char *target, char *referer, FormList *request)
if (!on_target) /* open link as an indivisual page */ if (!on_target) /* open link as an indivisual page */
return loadNormalBuf(buf, TRUE); return loadNormalBuf(buf, TRUE);
if (do_download) /* download (thus no need to render frame) */ if (do_download) /* download (thus no need to render frames) */
return loadNormalBuf(buf, FALSE); return loadNormalBuf(buf, FALSE);
if (target == NULL || /* no target specified (that means this page is not a frame page) */ if (target == NULL || /* no target specified (that means this page is not a frame page) */
@@ -3070,7 +3070,7 @@ handleMailto(char *url)
} }
/* follow HREF link */ /* follow HREF link */
DEFUN(followA, GOTO_LINK, "Go to current link") DEFUN(followA, GOTO_LINK, "Follow current link")
{ {
Anchor *a; Anchor *a;
ParsedURL u; ParsedURL u;
@@ -3994,37 +3994,37 @@ nextY(int d)
} }
/* go to the next left anchor */ /* go to the next left anchor */
DEFUN(nextL, NEXT_LEFT, "Move to next left link") DEFUN(nextL, NEXT_LEFT, "Move left to next link")
{ {
nextX(-1, 0); nextX(-1, 0);
} }
/* go to the next left-up anchor */ /* go to the next left-up anchor */
DEFUN(nextLU, NEXT_LEFT_UP, "Move to next left (or upward) link") DEFUN(nextLU, NEXT_LEFT_UP, "Move left (or upward) to next link")
{ {
nextX(-1, -1); nextX(-1, -1);
} }
/* go to the next right anchor */ /* go to the next right anchor */
DEFUN(nextR, NEXT_RIGHT, "Move to next right link") DEFUN(nextR, NEXT_RIGHT, "Move right to next link")
{ {
nextX(1, 0); nextX(1, 0);
} }
/* go to the next right-down anchor */ /* go to the next right-down anchor */
DEFUN(nextRD, NEXT_RIGHT_DOWN, "Move to next right (or downward) link") DEFUN(nextRD, NEXT_RIGHT_DOWN, "Move right (or downward) to next link")
{ {
nextX(1, 1); nextX(1, 1);
} }
/* go to the next downward anchor */ /* go to the next downward anchor */
DEFUN(nextD, NEXT_DOWN, "Move to next downward link") DEFUN(nextD, NEXT_DOWN, "Move downward to next link")
{ {
nextY(1); nextY(1);
} }
/* go to the next upward anchor */ /* go to the next upward anchor */
DEFUN(nextU, NEXT_UP, "Move to next upward link") DEFUN(nextU, NEXT_UP, "Move upward to next link")
{ {
nextY(-1); nextY(-1);
} }
@@ -4276,14 +4276,14 @@ cmd_loadBuffer(Buffer *buf, int prop, int linkid)
} }
/* load bookmark */ /* load bookmark */
DEFUN(ldBmark, BOOKMARK VIEW_BOOKMARK, "Read bookmark") DEFUN(ldBmark, BOOKMARK VIEW_BOOKMARK, "View bookmarks")
{ {
cmd_loadURL(BookmarkFile, NULL, NO_REFERER, NULL); cmd_loadURL(BookmarkFile, NULL, NO_REFERER, NULL);
} }
/* Add current to bookmark */ /* Add current to bookmark */
DEFUN(adBmark, ADD_BOOKMARK, "Add current page to bookmark") DEFUN(adBmark, ADD_BOOKMARK, "Add current page to bookmarks")
{ {
Str tmp; Str tmp;
FormList *request; FormList *request;
@@ -4313,7 +4313,7 @@ DEFUN(adBmark, ADD_BOOKMARK, "Add current page to bookmark")
} }
/* option setting */ /* option setting */
DEFUN(ldOpt, OPTIONS, "Option setting panel") DEFUN(ldOpt, OPTIONS, "Display option setting panel")
{ {
cmd_loadBuffer(load_option_panel(), BP_NO_URL, LB_NOLINK); cmd_loadBuffer(load_option_panel(), BP_NO_URL, LB_NOLINK);
} }
@@ -4416,7 +4416,7 @@ follow_map(struct parsed_tagarg *arg)
#ifdef USE_MENU #ifdef USE_MENU
/* link menu */ /* link menu */
DEFUN(linkMn, LINK_MENU, "Popup link element menu") DEFUN(linkMn, LINK_MENU, "Pop up link element menu")
{ {
LinkList *l = link_menu(Currentbuf); LinkList *l = link_menu(Currentbuf);
ParsedURL p_url; ParsedURL p_url;
@@ -4454,19 +4454,19 @@ anchorMn(Anchor *(*menu_func) (Buffer *), int go)
} }
/* accesskey */ /* accesskey */
DEFUN(accessKey, ACCESSKEY, "Popup accesskey menu") DEFUN(accessKey, ACCESSKEY, "Pop up accesskey menu")
{ {
anchorMn(accesskey_menu, TRUE); anchorMn(accesskey_menu, TRUE);
} }
/* list menu */ /* list menu */
DEFUN(listMn, LIST_MENU, "Popup link list menu and go to selected link") DEFUN(listMn, LIST_MENU, "Pop up link list menu and go to selected link")
{ {
anchorMn(list_menu, TRUE); anchorMn(list_menu, TRUE);
} }
DEFUN(movlistMn, MOVE_LIST_MENU, DEFUN(movlistMn, MOVE_LIST_MENU,
"Popup link list menu and move cursor to selected link") "Pop up link list menu and move cursor to selected link")
{ {
anchorMn(list_menu, FALSE); anchorMn(list_menu, FALSE);
} }
@@ -4500,7 +4500,7 @@ DEFUN(cooLst, COOKIE, "View cookie list")
#ifdef USE_HISTORY #ifdef USE_HISTORY
/* History page */ /* History page */
DEFUN(ldHist, HISTORY, "View history of URL") DEFUN(ldHist, HISTORY, "View browser history")
{ {
cmd_loadBuffer(historyBuffer(URLHist), BP_NO_URL, LB_NOLINK); cmd_loadBuffer(historyBuffer(URLHist), BP_NO_URL, LB_NOLINK);
} }
@@ -4574,7 +4574,7 @@ DEFUN(svBuf, PRINT SAVE_SCREEN, "Save rendered document to file")
} }
/* save source */ /* save source */
DEFUN(svSrc, DOWNLOAD SAVE, "Save document source to file") DEFUN(svSrc, DOWNLOAD SAVE, "Save document (source) to file")
{ {
char *file; char *file;
@@ -4653,13 +4653,13 @@ _peekURL(int only_img)
} }
/* peek URL */ /* peek URL */
DEFUN(peekURL, PEEK_LINK, "Peek link URL") DEFUN(peekURL, PEEK_LINK, "Peek at link URL")
{ {
_peekURL(0); _peekURL(0);
} }
/* peek URL of image */ /* peek URL of image */
DEFUN(peekIMG, PEEK_IMG, "Peek image URL") DEFUN(peekIMG, PEEK_IMG, "Peek at image URL")
{ {
_peekURL(1); _peekURL(1);
} }
@@ -4673,7 +4673,7 @@ currentURL(void)
return parsedURL2Str(&Currentbuf->currentURL); return parsedURL2Str(&Currentbuf->currentURL);
} }
DEFUN(curURL, PEEK, "Peek current URL") DEFUN(curURL, PEEK, "Peek at current URL")
{ {
static Str s = NULL; static Str s = NULL;
#ifdef USE_M17N #ifdef USE_M17N
@@ -5039,13 +5039,13 @@ chkURLBuffer(Buffer *buf)
buf->check_url |= CHK_URL; buf->check_url |= CHK_URL;
} }
DEFUN(chkURL, MARK_URL, "Mark URL-like strings as anchors") DEFUN(chkURL, MARK_URL, "Mark URL-like strings as links")
{ {
chkURLBuffer(Currentbuf); chkURLBuffer(Currentbuf);
displayBuffer(Currentbuf, B_FORCE_REDRAW); displayBuffer(Currentbuf, B_FORCE_REDRAW);
} }
DEFUN(chkWORD, MARK_WORD, "Mark current word as anchor") DEFUN(chkWORD, MARK_WORD, "Mark current word as link")
{ {
char *p; char *p;
int spos, epos; int spos, epos;
@@ -5072,15 +5072,15 @@ chkNMIDBuffer(Buffer *buf)
buf->check_url |= CHK_NMID; buf->check_url |= CHK_NMID;
} }
DEFUN(chkNMID, MARK_MID, "Mark Message-ID-like strings as anchors") DEFUN(chkNMID, MARK_MID, "Mark Message-ID-like strings as links")
{ {
chkNMIDBuffer(Currentbuf); chkNMIDBuffer(Currentbuf);
displayBuffer(Currentbuf, B_FORCE_REDRAW); displayBuffer(Currentbuf, B_FORCE_REDRAW);
} }
#endif /* USE_NNTP */ #endif /* USE_NNTP */
/* render frame */ /* render frames */
DEFUN(rFrame, FRAME, "Render frame") DEFUN(rFrame, FRAME, "Render frames")
{ {
Buffer *buf; Buffer *buf;
@@ -5504,7 +5504,7 @@ process_mouse(int btn, int x, int y)
} }
} }
DEFUN(msToggle, MOUSE_TOGGLE, "Toggle activity of mouse") DEFUN(msToggle, MOUSE_TOGGLE, "Toggle mouse support")
{ {
if (use_mouse) { if (use_mouse) {
use_mouse = FALSE; use_mouse = FALSE;
@@ -5669,7 +5669,7 @@ DEFUN(movMs, MOVE_MOUSE, "Move cursor to mouse cursor (for mouse action)")
#define FRAME_WIDTH 1 #define FRAME_WIDTH 1
#endif #endif
DEFUN(menuMs, MENU_MOUSE, "Popup menu at mouse cursor (for mouse action)") DEFUN(menuMs, MENU_MOUSE, "Pop up menu at mouse cursor (for mouse action)")
{ {
if (!mouse_action.in_action) if (!mouse_action.in_action)
return; return;
@@ -5719,7 +5719,7 @@ DEFUN(dispVer, VERSION, "Display version of w3m")
disp_message(Sprintf("w3m version %s", w3m_version)->ptr, TRUE); disp_message(Sprintf("w3m version %s", w3m_version)->ptr, TRUE);
} }
DEFUN(wrapToggle, WRAP_TOGGLE, "Toggle wrap search mode") DEFUN(wrapToggle, WRAP_TOGGLE, "Toggle search wrap mode")
{ {
if (WrapSearch) { if (WrapSearch) {
WrapSearch = FALSE; WrapSearch = FALSE;
@@ -6172,7 +6172,7 @@ DEFUN(reinit, REINIT, "Reload configuration files")
} }
DEFUN(defKey, DEFINE_KEY, DEFUN(defKey, DEFINE_KEY,
"Define a binding between a key stroke and a user command") "Define a binding between a keystroke and a user command")
{ {
char *data; char *data;
+3 -3
View File
@@ -1338,7 +1338,7 @@ mainMenu(int x, int y)
popupMenu(x, y, &MainMenu); popupMenu(x, y, &MainMenu);
} }
DEFUN(mainMn, MAIN_MENU MENU, "Popup menu") DEFUN(mainMn, MAIN_MENU MENU, "Pop up menu")
{ {
Menu *menu = &MainMenu; Menu *menu = &MainMenu;
char *data; char *data;
@@ -1366,7 +1366,7 @@ DEFUN(mainMn, MAIN_MENU MENU, "Popup menu")
/* --- SelectMenu --- */ /* --- SelectMenu --- */
DEFUN(selMn, SELECT_MENU, "Popup buffer selection menu") DEFUN(selMn, SELECT_MENU, "Pop up buffer selection menu")
{ {
int x = Currentbuf->cursorX + Currentbuf->rootX, int x = Currentbuf->cursorX + Currentbuf->rootX,
y = Currentbuf->cursorY + Currentbuf->rootY; y = Currentbuf->cursorY + Currentbuf->rootY;
@@ -1511,7 +1511,7 @@ smDelBuf(char c)
/* --- SelTabMenu --- */ /* --- SelTabMenu --- */
DEFUN(tabMn, TAB_MENU, "Popup tab selection menu") DEFUN(tabMn, TAB_MENU, "Pop up tab selection menu")
{ {
int x = Currentbuf->cursorX + Currentbuf->rootX, int x = Currentbuf->cursorX + Currentbuf->rootX,
y = Currentbuf->cursorY + Currentbuf->rootY; y = Currentbuf->cursorY + Currentbuf->rootY;
+2 -2
View File
@@ -59,8 +59,8 @@ $charset = 'EUC-JP';
"Mark operation", 'マーク操作', "Mark operation", 'マーク操作',
"Miscellany", 'その他', "Miscellany", 'その他',
"User defined keymaps", 'ユーザ定義', "User defined keymaps", 'ユーザ定義',
"Line-edit mode", '行編集モード', "Line-editing mode", '行編集モード',
"Popup menu", 'メニュー', "Pop up menu", 'メニュー',
); );
1; 1;
+2 -2
View File
@@ -182,7 +182,7 @@ print "<BR>\n<HR WIDTH=80%>\n";
print "<BR>\n<HR WIDTH=80%>\n"; print "<BR>\n<HR WIDTH=80%>\n";
&show_keymap("Line-edit mode", &show_keymap("Line-editing mode",
split(" ", "lineedit_forward lineedit_back lineedit_backspace split(" ", "lineedit_forward lineedit_back lineedit_backspace
lineedit_delete lineedit_kill_after lineedit_kill_before lineedit_delete lineedit_kill_after lineedit_kill_before
lineedit_top lineedit_bottom lineedit_prev lineedit_next lineedit_top lineedit_bottom lineedit_prev lineedit_next
@@ -190,7 +190,7 @@ print "<BR>\n<HR WIDTH=80%>\n";
print "<BR>\n<HR WIDTH=80%>\n"; print "<BR>\n<HR WIDTH=80%>\n";
&show_keymap("Popup menu", &show_keymap("Pop up menu",
split(" ", "menu_select menu_close menu_cancel menu_down menu_up split(" ", "menu_select menu_close menu_cancel menu_down menu_up
menu_line_up menu_line_down menu_top menu_last menu_next menu_line_up menu_line_down menu_top menu_last menu_next
menu_prev menu_search_fore menu_search_back menu_search_next menu_prev menu_search_fore menu_search_back menu_search_next
+11 -11
View File
@@ -43,20 +43,20 @@ w3m</A>
<table cellpadding=0> <table cellpadding=0>
<TR><TD WIDTH=100>RET, C-f, Right arrow<TD>Follow hyperlink <TR><TD WIDTH=100>RET, C-f, Right arrow<TD>Follow hyperlink
<TR><TD>d, ESC RET<TD>Save link to file <TR><TD>d, ESC RET<TD>Save link to file
<TR><TD>u<TD>Peek link URL <TR><TD>u<TD>Peek at link URL
<TR><TD>i<TD>Peek image URL <TR><TD>i<TD>Peek at image URL
<TR><TD>I<TD>View inline image <TR><TD>I<TD>View inline image
<TR><TD>ESC I<TD>Save inline image to file <TR><TD>ESC I<TD>Save inline image to file
<TR><TD>:<TD>Mark URL-like strings as anchors <TR><TD>:<TD>Mark URL-like strings as links
<TR><TD>ESC :<TD>Mark Message-ID-like strings as news anchors <TR><TD>ESC :<TD>Mark Message-ID-like strings as links
<TR><TD>c<TD>Peek current URL <TR><TD>c<TD>Peek at current URL
<TR><TD>=<TD>Display information about current document <TR><TD>=<TD>Display information about current document
<TR><TD>C-h<TD>View history of URL <TR><TD>C-h<TD>View browser history
<TR><TD>F<TD>Render frame <TR><TD>F<TD>Render frames
<TR><TD>M<TD>Browse current document using external browser <TR><TD>M<TD>Browse current document using external browser
(use 2M and 3M to invoke second and third browser) (prefix 2, 3, ..., or 9 to invoke alternate configured browsers, e.g. 3 M)
<TR><TD>ESC M<TD>Browse link using external browser <TR><TD>ESC M<TD>Browse link using external browser
(use 2ESC M and 3ESC M to invoke second and third browser) (prefixed as above, e.g. 3ESC M)
</table> </table>
<H2>File/Stream operation</H2> <H2>File/Stream operation</H2>
@@ -98,7 +98,7 @@ w3m</A>
<table cellpadding=0> <table cellpadding=0>
<TR><TD WIDTH=100>/, C-s<TD>Search forward <TR><TD WIDTH=100>/, C-s<TD>Search forward
<TR><TD>n<TD>Search next <TR><TD>n<TD>Search next
<TR><TD>w<TD>Toggle wrap search mode <TR><TD>w<TD>Toggle search wrap mode
</table> </table>
<H2>Mark operation</H2> <H2>Mark operation</H2>
@@ -121,7 +121,7 @@ w3m</A>
<TR><TD>Q<TD>Quit without confirmation <TR><TD>Q<TD>Quit without confirmation
</table> </table>
<H2>Line-edit mode</H2> <H2>Line-editing mode</H2>
<table cellpadding=0> <table cellpadding=0>
<TR><TD WIDTH=100>C-f<TD>Move cursor forward <TR><TD WIDTH=100>C-f<TD>Move cursor forward
<TR><TD>C-b<TD>Move cursor backward <TR><TD>C-b<TD>Move cursor backward
+11 -11
View File
@@ -47,21 +47,21 @@ w3m</A>
<table cellpadding=0> <table cellpadding=0>
<TR><TD WIDTH=100>RET<TD>Follow hyperlink <TR><TD WIDTH=100>RET<TD>Follow hyperlink
<TR><TD>a, ESC RET<TD>Save link to file <TR><TD>a, ESC RET<TD>Save link to file
<TR><TD>u<TD>Peek link URL <TR><TD>u<TD>Peek at link URL
<TR><TD>i<TD>Peek image URL <TR><TD>i<TD>Peek at image URL
<TR><TD>I<TD>View inline image <TR><TD>I<TD>View inline image
<TR><TD>ESC I<TD>Save inline image to file <TR><TD>ESC I<TD>Save inline image to file
<TR><TD>:<TD>Mark URL-like strings as anchors <TR><TD>:<TD>Mark URL-like strings as links
<TR><TD>ESC :<TD>Mark Message-ID-like strings as news anchors <TR><TD>ESC :<TD>Mark Message-ID-like strings as links
<TR><TD>c<TD>Peek current URL <TR><TD>c<TD>Peek at current URL
<TR><TD>=<TD>Display information about current document <TR><TD>=<TD>Display information about current document
<TR><TD>C-g<TD>Show current line number <TR><TD>C-g<TD>Show current line number
<TR><TD>C-h<TD>View history of URL <TR><TD>C-h<TD>View browser history
<TR><TD>F<TD>Render frame <TR><TD>F<TD>Render frames
<TR><TD>M<TD>Browse current document using external browser <TR><TD>M<TD>Browse current document using external browser
(use 2M and 3M to invoke second and third browser) (prefix 2, 3, ..., or 9 to invoke alternate configured browsers, e.g. 3 M)
<TR><TD>ESC M<TD>Browse link using external browser <TR><TD>ESC M<TD>Browse link using external browser
(use 2ESC M and 3ESC M to invoke second and third browser) (prefixed as above, e.g. 3ESC M)
</table> </table>
<H2>File/Stream operation</H2> <H2>File/Stream operation</H2>
@@ -105,7 +105,7 @@ w3m</A>
<TR><TD>?,C-r<TD>Search backward <TR><TD>?,C-r<TD>Search backward
<TR><TD>n<TD>Search next <TR><TD>n<TD>Search next
<TR><TD>N<TD>Search previous <TR><TD>N<TD>Search previous
<TR><TD>C-w<TD>Toggle wrap search mode <TR><TD>C-w<TD>Toggle search wrap mode
</table> </table>
<H2>Dictionary look-up</H2> <H2>Dictionary look-up</H2>
@@ -134,7 +134,7 @@ w3m</A>
<TR><TD>Q<TD>Quit without confirmation <TR><TD>Q<TD>Quit without confirmation
</table> </table>
<H2>Line-edit mode</H2> <H2>Line-editing mode</H2>
<table cellpadding=0> <table cellpadding=0>
<TR><TD WIDTH=100>C-f<TD>Move cursor forward <TR><TD WIDTH=100>C-f<TD>Move cursor forward
<TR><TD>C-b<TD>Move cursor backward <TR><TD>C-b<TD>Move cursor backward