aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2002-11-16 00:21:49 +0800
committershige <shige@FreeBSD.org>2002-11-16 00:21:49 +0800
commitd8b6ec8c44b0b97902c3f5150e38324a5550802c (patch)
tree6a27dea225374d5c2c9fe5313babe007b33c3c9f
parentcabb384fbb08549ac13db59a13ef6e0ec8315d2b (diff)
downloadfreebsd-ports-gnome-d8b6ec8c44b0b97902c3f5150e38324a5550802c.tar.gz
freebsd-ports-gnome-d8b6ec8c44b0b97902c3f5150e38324a5550802c.tar.zst
freebsd-ports-gnome-d8b6ec8c44b0b97902c3f5150e38324a5550802c.zip
Support termcap "ec"(erase_chars).
This fixed scroll-and-wipe-screen problem, for example, using /usr/bin/vi(4.x-RELEASE). # There is "ec" directive in "kterm" termcap. # But, kterm-6.2.0_4 or former does not support "ec"(erase_chars). PORTREVISION bumped. Pointed by: KFB03633@nifty.ne.jp
-rw-r--r--japanese/kterm/Makefile2
-rw-r--r--japanese/kterm/files/patch-ac13
2 files changed, 14 insertions, 1 deletions
diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile
index 65d46635ff42..905e0f1408cb 100644
--- a/japanese/kterm/Makefile
+++ b/japanese/kterm/Makefile
@@ -7,7 +7,7 @@
PORTNAME= kterm
PORTVERSION= 6.2.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= japanese x11
MASTER_SITES= ${MASTER_SITE_PORTS_JP} \
${MASTER_SITE_XCONTRIB} \
diff --git a/japanese/kterm/files/patch-ac b/japanese/kterm/files/patch-ac
index 9f1222fa9554..a37725781bb9 100644
--- a/japanese/kterm/files/patch-ac
+++ b/japanese/kterm/files/patch-ac
@@ -11,3 +11,16 @@
extern fd_set Select_mask;
extern fd_set X_mask;
extern fd_set pty_mask;
+@@ -1837,6 +1837,12 @@
+ parsestate = groundtable;
+ break;
+
++ case CASE_ECH:
++ /* ECH */
++ ClearRightN(screen, param[0] < 1 ? 1 : param[0]);
++ parsestate = groundtable;
++ break;
++
+ case CASE_IL:
+ /* IL */
+ if((row = param[0]) < 1)