aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2011-04-22 15:17:15 +0000
committerRong-En Fan <rafan@FreeBSD.org>2011-04-22 15:17:15 +0000
commita8cd5b4193054b8fc101c4a0abd29f2673b67a07 (patch)
treee1387a03a193bd24497bf823e98eb4f064a940ec /net
parente07f24e4aa5f05bd5bb791a498085ca19b558eb0 (diff)
downloadports-a8cd5b4193054b8fc101c4a0abd29f2673b67a07.tar.gz
ports-a8cd5b4193054b8fc101c4a0abd29f2673b67a07.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/omnitty/Makefile2
-rw-r--r--net/omnitty/files/patch-main.c17
2 files changed, 16 insertions, 3 deletions
diff --git a/net/omnitty/Makefile b/net/omnitty/Makefile
index ab30d3ac4b3e..c183586f5f74 100644
--- a/net/omnitty/Makefile
+++ b/net/omnitty/Makefile
@@ -7,7 +7,7 @@
PORTNAME= omnitty
PORTVERSION= 0.3.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
diff --git a/net/omnitty/files/patch-main.c b/net/omnitty/files/patch-main.c
index b397e4293d93..5505e23d4ad6 100644
--- a/net/omnitty/files/patch-main.c
+++ b/net/omnitty/files/patch-main.c
@@ -1,6 +1,19 @@
--- main.c.orig 2005-10-26 06:08:25.000000000 +0800
-+++ main.c 2008-02-17 22:45:29.000000000 +0800
-@@ -335,9 +335,10 @@
++++ main.c 2011-04-22 23:14:33.000000000 +0800
+@@ -88,6 +88,12 @@
+ define_key("\e[15~", KEY_F(5)); define_key("\e[17~", KEY_F(6));
+ define_key("\e[18~", KEY_F(7)); define_key("\e[19~", KEY_F(8));
+ define_key("\e[20~", KEY_F(9)); define_key("\e[21~", KEY_F(10));
++ /* If "Sun Function-Keys" is enabled in your Xterm: */
++ define_key("\e[224z", KEY_F(1)); define_key("\e[225z", KEY_F(2));
++ define_key("\e[226z", KEY_F(3)); define_key("\e[227z", KEY_F(4));
++ define_key("\e[228z", KEY_F(5)); define_key("\e[229z", KEY_F(6));
++ define_key("\e[230z", KEY_F(7)); define_key("\e[231z", KEY_F(8));
++ define_key("\e[232z", KEY_F(9)); define_key("\e[233z", KEY_F(10));
+
+ getmaxyx(stdscr, h, w);
+ if (h < MIN_REQUIRED_HEIGHT || w < MIN_REQUIRED_WIDTH) {
+@@ -335,9 +341,10 @@
while (!quit) {
if (zombie_count) {