From 4bb52da7b05bb0a4331325010be89a0c630f671c Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Tue, 27 Feb 2001 02:52:48 -0500 Subject: snapshot of project "lynx", label v2-8-4dev_19 --- src/LYKeymap.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'src/LYKeymap.c') diff --git a/src/LYKeymap.c b/src/LYKeymap.c index 0508710c..75549f98 100644 --- a/src/LYKeymap.c +++ b/src/LYKeymap.c @@ -1,7 +1,7 @@ #include #include -#include #include +#include #include /* for LYlowest_eightbit - kw */ #include #include @@ -741,6 +741,9 @@ PRIVATE Kcmd revmap[] = { DATA( LYK_PREV_DOC, "PREV_DOC", "go back to the previous document" ), + DATA( + LYK_NEXT_DOC, "NEXT_DOC", + "undo going back to the previous document" ), DATA( LYK_ACTIVATE, "ACTIVATE", "go to the document given by the current link" ), @@ -930,9 +933,6 @@ PRIVATE Kcmd revmap[] = { DATA( LYK_CHG_CENTER, "CHANGE_CENTER", "toggle center alignment in HTML TABLE" ), - DATA( - LYK_TO_CLIPBOARD, "TO_CLIPBOARD", - "link's URL to Clip Board" ), #endif #ifdef KANJI_CODE_OVERRIDE DATA( @@ -955,6 +955,14 @@ PRIVATE Kcmd revmap[] = { DATA( LYK_LINEWRAP_TOGGLE, "LINEWRAP_TOGGLE", "toggle linewrap on/off" ), +#endif +#ifdef CAN_CUT_AND_PASTE + DATA( + LYK_PASTE_URL, "PASTE_URL", + "Goto the URL in the clipboard" ), + DATA( + LYK_TO_CLIPBOARD, "TO_CLIPBOARD", + "link's URL to Clip Board" ), #endif DATA( LYK_UNKNOWN, NULL, @@ -1047,9 +1055,9 @@ PRIVATE struct emap ekmap[] = { {"SETMARK", LYE_SETMARK, "emacs-like set-mark-command"}, {"XPMARK", LYE_XPMARK, "emacs-like exchange-point-and-mark"}, {"KILLREG", LYE_KILLREG, "emacs-like kill-region"}, - {"YANK", LYE_YANK, "emacs-like yank"} -#if defined(WIN_EX) -, {"PASTE", LYE_PASTE, "ClipBoard to Lynx"} + {"YANK", LYE_YANK, "emacs-like yank"}, +#ifdef CAN_CUT_AND_PASTE + {"PASTE", LYE_PASTE, "ClipBoard to Lynx"}, #endif }; -- cgit 1.4.1-2-gfad0