aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2006-06-20 08:00:38 +0800
committersobomax <sobomax@FreeBSD.org>2006-06-20 08:00:38 +0800
commit85abc843e018ef82ffdbb658403ea5db8dba306a (patch)
treef01db7d2e2b32ea541efee4715b10500f9f62954
parentb404b4454fdb6e5c41c8274272791dd8a58f3680 (diff)
downloadfreebsd-ports-gnome-85abc843e018ef82ffdbb658403ea5db8dba306a.tar.gz
freebsd-ports-gnome-85abc843e018ef82ffdbb658403ea5db8dba306a.tar.zst
freebsd-ports-gnome-85abc843e018ef82ffdbb658403ea5db8dba306a.zip
Make PgUp/PgDn working in syscons.
-rw-r--r--devel/newt/Makefile2
-rw-r--r--devel/newt/files/patch-newt.c15
2 files changed, 16 insertions, 1 deletions
diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 48136a80b382..2071bca13aca 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -7,7 +7,7 @@
PORTNAME= newt
PORTVERSION= 0.51.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL} \
# ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/
diff --git a/devel/newt/files/patch-newt.c b/devel/newt/files/patch-newt.c
new file mode 100644
index 000000000000..bdf88775603e
--- /dev/null
+++ b/devel/newt/files/patch-newt.c
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- newt.c
++++ newt.c
+@@ -94,6 +94,9 @@
+ { "\033[6~", NEWT_KEY_PGDN, NULL },
+ { "\033V", NEWT_KEY_PGUP, "kH" },
+ { "\033v", NEWT_KEY_PGUP, "kH" },
++
++ { "\033[G", NEWT_KEY_PGDN, NULL },
++ { "\033[I", NEWT_KEY_PGUP, NULL },
+
+ { "\033[[A", NEWT_KEY_F1, NULL },
+ { "\033[[B", NEWT_KEY_F2, NULL },