Patching irssi to recognize alt+cursor keys in xterm (#239511)
This commit is contained in:
parent
3d78e6f7b3
commit
fbabe5a6e0
12
irssi-support-meta-cursor-xterm.patch
Normal file
12
irssi-support-meta-cursor-xterm.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Special thanks for this patch goes to James Bowes
|
||||
|
||||
--- src/fe-text/gui-readline.c 2007-08-16 21:51:54.000000000 +0200
|
||||
+++ src/fe-text/gui-readline.c 2007-08-16 21:58:53.000000000 +0200
|
||||
@@ -1053,6 +1053,7 @@
|
||||
key_bind("key", NULL, "meta-[", "meta2", (SIGNAL_FUNC) key_combo);
|
||||
key_bind("key", NULL, "meta-O", "meta2", (SIGNAL_FUNC) key_combo);
|
||||
key_bind("key", NULL, "meta-[O", "meta2", (SIGNAL_FUNC) key_combo);
|
||||
+ key_bind("key", NULL, "[1;3", "meta2", (SIGNAL_FUNC) key_combo);
|
||||
|
||||
/* arrow keys */
|
||||
key_bind("key", NULL, "meta2-A", "up", (SIGNAL_FUNC) key_combo);
|
@ -3,7 +3,7 @@
|
||||
Summary: Modular text mode IRC client with Perl scripting
|
||||
Name: irssi
|
||||
Version: 0.8.11
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Communications
|
||||
@ -15,6 +15,8 @@ BuildRequires: pkgconfig glib2-devel perl-devel
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
Patch0: irssi-support-meta-cursor-xterm.patch
|
||||
|
||||
%package devel
|
||||
Summary: Development package for irssi
|
||||
Group: Development/Libraries
|
||||
@ -36,6 +38,8 @@ being maintained.
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%patch0 -p0
|
||||
|
||||
%build
|
||||
%configure --enable-ipv6 --with-textui \
|
||||
--with-proxy \
|
||||
@ -82,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_includedir}/irssi
|
||||
|
||||
%changelog
|
||||
* Thu Aug 16 2007 Marek Mahut <mmahut redhat.com> - 0.8.11-4
|
||||
- Added irssi-support-meta-cursor-xterm.patch (#239511)
|
||||
|
||||
* Thu Aug 16 2007 Marek Mahut <mmahut redhat.com> - 0.8.11-2
|
||||
- Updating license tag
|
||||
- Rebuild for 0.8.11
|
||||
|
Loading…
Reference in New Issue
Block a user