repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: 86782da650f224d3e22dc73471b21ae41090d2bf: path_to: revision_to:
commit 86782da650f224d3e22dc73471b21ae41090d2bf Author: Emanuele GiaquintaDate: Sat Feb 16 15:48:37 2008 +0000 Nuke LINUX_KEYS. diff --git a/src/command.C b/src/command.C
--- a/src/command.C
+++ b/src/command.C
@@ -378,6 +378,12 @@ map_function_key (KeySym keysym)
case XK_Next:
param = 6;
break;
+ case XK_Home:
+ param = 7;
+ break;
+ case XK_End:
+ param = 8;
+ break;
#endif
case XK_Help:
param = 28;
@@ -755,13 +761,6 @@ rxvt_term::key_press (XKeyEvent &ev)
}
break;
- case XK_End:
- strcpy (kbuf, KS_END);
- break;
- case XK_Home:
- strcpy (kbuf, KS_HOME);
- break;
-
default:
{
int param = map_function_key (keysym);
diff --git a/src/command.h b/src/command.h
--- a/src/command.h +++ b/src/command.h @@ -20,17 +20,6 @@ # define SCROLLBAR_CONTINUOUS_DELAY 0.05 #endif -/* - * key-strings: if only these keys were standardized- */ -#ifdef LINUX_KEYS -# define KS_HOME "\033[1~" /* Home == Find */ -# define KS_END "\033[4~" /* End == Select */ -#else -# define KS_HOME "\033[7~" /* Home */ -# define KS_END "\033[8~" /* End */ -#endif - #ifdef SCROLL_ON_SHIFT # define SCROLL_SHIFTKEY (shft) # define NOSCROLL_SHIFTKEY 0 diff --git a/src/feature.h b/src/feature.h
--- a/src/feature.h +++ b/src/feature.h @@ -157,14 +157,6 @@ #define DEFAULT_BACKSPACE "DEC" /* SPECIAL */ #define DEFAULT_DELETE "\033[3~" -/* - * To use - * Home = "\E[1~", End = "\E[4~" - * instead of - * Home = "\E[7~", End = "\E[8~" [default] - */ -/* #define LINUX_KEYS */ - /* * Enable the keysym resource which allows you to define strings associated * with various KeySyms (0xFF00 - 0xFFFF).
-----END OF PAGE-----