From 273d8385ad814ce32d9019e303bd55df06ce48ae Mon Sep 17 00:00:00 2001 From: qrczak Date: Mon, 26 Nov 2001 18:36:08 +0000 Subject: [PATCH] - ncurses-rxvt.patch: our rxvt is compiled with -DLINUX_KEYS and thus Home & End generate ^[[1~ & ^[[4~, not ^[[7 & ^[[8. If you don't like this patch, change rxvt instead! - release 18 Changed files: ncurses-rxvt.patch -> 1.1 ncurses.spec -> 1.76 --- ncurses-rxvt.patch | 17 +++++++++++++++++ ncurses.spec | 4 +++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 ncurses-rxvt.patch diff --git a/ncurses-rxvt.patch b/ncurses-rxvt.patch new file mode 100644 index 0000000..6c68fa6 --- /dev/null +++ b/ncurses-rxvt.patch @@ -0,0 +1,17 @@ +--- ncurses-5.2/misc/terminfo.src~ Mon Nov 26 19:15:35 2001 ++++ ncurses-5.2/misc/terminfo.src Mon Nov 26 19:16:57 2001 +@@ -2955,12 +2955,12 @@ + kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, + kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, + kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^, +- kend=\E[8~, kent=\EOM, kf1=\E[11~, kf10=\E[21~, ++ kend=\E[4~, kent=\EOM, kf1=\E[11~, kf10=\E[21~, + kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, + kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, + kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, + kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, +- kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, ++ kf9=\E[20~, kfnd=\E[1~, khome=\E[1~, kich1=\E[2~, + kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, + rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8, + rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m, diff --git a/ncurses.spec b/ncurses.spec index b250616..541422e 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -7,7 +7,7 @@ Summary(pt_BR): Biblioteca de controle de terminal curses Summary(tr): Terminal kontrol kitaplýðý Name: ncurses Version: 5.2 -Release: 17 +Release: 18 License: distributable Group: Libraries Group(de): Libraries @@ -26,6 +26,7 @@ Patch2: %{name}-no_symlinks.patch Patch3: %{name}-screen_hpa_fix.patch Patch4: %{name}-xterm-color.patch Patch5: %{name}-xterm_hpa_fix.patch +Patch6: %{name}-rxvt.patch BuildRequires: sharutils BuildRequires: sed BuildRequires: libstdc++-devel @@ -244,6 +245,7 @@ sh %{SOURCE2} %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build CFLAGS="%{rpmcflags} -DPURE_TERMINFO" -- 2.44.0