Репозитории ALT
Группа :: Терминалы
Пакет: xterm
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 0010-xterm-alt-back_old_behavior_for_modifyFunctionKeys.patch
Скачать
Скачать
From 0 Mon Sep 17 00:00:00 2001
From: "George V. Kouryachy (Fr. Br. George)" <george@altlinux.ru>
Date: Tue, 23 Oct 2012 14:15:58 +0400
Subject: [PATCH] xterm-alt-back_old_behavior_for_modifyFunctionKeys
diff --git a/xterm/charproc.c b/xterm/charproc.c
index defaced..defaced 100644
--- a/xterm/charproc.c
+++ b/xterm/charproc.c
@@ -698,7 +698,7 @@ static XtResource xterm_resources[] =
Ires(XtNmodifyCursorKeys, XtCModifyCursorKeys,
keyboard.modify_1st.cursor_keys, 2),
Ires(XtNmodifyFunctionKeys, XtCModifyFunctionKeys,
- keyboard.modify_1st.function_keys, 2),
+ keyboard.modify_1st.function_keys, 0),
Ires(XtNmodifyKeypadKeys, XtCModifyKeypadKeys,
keyboard.modify_1st.keypad_keys, 0),
Ires(XtNmodifyOtherKeys, XtCModifyOtherKeys,
diff --git a/xterm/xterm.man b/xterm/xterm.man
index defaced..defaced 100644
--- a/xterm/xterm.man
+++ b/xterm/xterm.man
@@ -4096,7 +4096,7 @@ marks the sequence with a \*(``>\*('' to hint that it is private.
Tells how to handle the special case where
Control-, Shift-, Alt- or Meta-modifiers are used to add a parameter to
the escape sequence returned by a (numbered) function-key.
-The default is \*(``2\*(''.
+The default is \*(``0\*(''.
The resource values are similar to \fBmodifyCursorKeys\fP:
.RS
.TP 5