aboutsummaryrefslogtreecommitdiff
path: root/devel/newt
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-06-20 00:00:38 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-06-20 00:00:38 +0000
commitd62cc106e1f218511d485aba28349c428d7ff552 (patch)
tree977bc6657fdbe94f151bb010b77af744a97a798f /devel/newt
parent2bc33a998980ccc9c95e5e66d0003673bfac18eb (diff)
downloadports-d62cc106e1f218511d485aba28349c428d7ff552.tar.gz
ports-d62cc106e1f218511d485aba28349c428d7ff552.zip
Make PgUp/PgDn working in syscons.
Notes
Notes: svn path=/head/; revision=165820
Diffstat (limited to 'devel/newt')
-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 },