1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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
This commit is contained in:
Shigeyuki Fukushima 2002-11-15 16:21:49 +00:00
parent 7eff7ac9ea
commit a6c494bd35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70162
2 changed files with 14 additions and 1 deletions

View File

@ -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} \

View File

@ -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)