Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 1999 15:03:04 +0900 (JST)
From:      KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9976: New port: ja-kterm16c-6.2.0(japanese/kterm16c)
Message-ID:  <199902090603.PAA27273@pis.toba-cmt.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         9976
>Category:       ports
>Synopsis:       New port: ja-kterm16c-6.2.0(japanese/kterm16c)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb  8 22:10:02 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     KIRIYAMA Kazuhiko
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Toba National College of Maritime Technology.
	Department of Electronic Mechanical Engineering
>Environment:
>Description:
kterm16c port has been  ported. kterm16c is an xterm that speaks Japanese 
with 16 colors like on a VGA.

I put the port with shar `find kterm16c` below "Fix:"
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	kterm16c/
#	kterm16c/Makefile
#	kterm16c/patches/
#	kterm16c/patches/patch-aa
#	kterm16c/files/
#	kterm16c/files/dot.termcap
#	kterm16c/files/md5
#	kterm16c/files/kterm16c.doc
#	kterm16c/pkg/
#	kterm16c/pkg/COMMENT
#	kterm16c/pkg/DESCR
#	kterm16c/pkg/PLIST
#	kterm16c/pkg/DEINSTALL
#	kterm16c/pkg/MESSAGE
#
echo c - kterm16c/
mkdir -p kterm16c/ > /dev/null 2>&1
echo x - kterm16c/Makefile
sed 's/^X//' >kterm16c/Makefile << 'END-of-kterm16c/Makefile'
X# New ports collection makefile for:	kterm of 16 colors
X# Version required:	6.2
X# Date created:		8 Feburary 1999
X# Whom:			KIRIYAMA Kazuhiko
X#
X# $Id$
X#
X
XDISTNAME=	kterm-6.2.0
XPKGNAME=	ja-kterm16c-6.2.0
XCATEGORIES=	japanese x11
XMASTER_SITES=	${MASTER_SITE_XCONTRIB} \
X		ftp://ftp.interface-business.de/pub/outgoing/ \
X		ftp://ftp.cs.bris.ac.uk/pub/users/hedley/
XDISTFILES=	kterm-6.2.0.tar.gz pcemu1.01alpha.tar.gz
XEXTRACT_ONLY=	kterm-6.2.0.tar.gz
X
XMASTER_SITE_SUBDIR=	applications
X
XMAINTAINER=	kiri@pis.toba-cmt.ac.jp
X
XBUILD_DEPENDS=	nkf:${PORTSDIR}/japanese/nkf
XLIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
X
XUSE_IMAKE=	yes
X
XDOCDIR=		${PREFIX}/share/doc/kterm16c
X
Xpost-extract:
X	@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/pcemu1.01alpha.tar.gz \
X		${EXTRACT_AFTER_ARGS} -C ${WRKDIR} pcemu1.01alpha/vga.bdf
X	@cd ${WRKDIR}/pcemu1.01alpha; \
X		bdftopcf vga.bdf > vga.pcf; \
X		compress vga.pcf
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/kterm ${PREFIX}/bin/kterm16c
X	@${INSTALL_DATA} ${WRKSRC}/KTerm.ad ${PREFIX}/lib/X11/app-defaults/KTerm.16-colors
X	@${INSTALL_DATA} ${WRKDIR}/pcemu1.01alpha/vga.pcf.Z \
X		${PREFIX}/lib/X11/fonts/misc
X	@mkfontdir ${PREFIX}/lib/X11/fonts/misc
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCDIR}
X	@${INSTALL_DATA} ${FILESDIR}/dot.termcap ${DOCDIR}
X	@${INSTALL_DATA} ${FILESDIR}/kterm16c.doc ${DOCDIR}
X.endif
X	@${CAT} ${PKGDIR}/MESSAGE
X
X.include <bsd.port.mk>
END-of-kterm16c/Makefile
echo c - kterm16c/patches/
mkdir -p kterm16c/patches/ > /dev/null 2>&1
echo x - kterm16c/patches/patch-aa
sed 's/^X//' >kterm16c/patches/patch-aa << 'END-of-kterm16c/patches/patch-aa'
Xdiff --exclude=Makefile -ur kterm-6.2.0.orig/KTerm.adKTerm.ad
X--- kterm-6.2.0.orig/KTerm.ad	Sun Jun 23 17:00:22 1996
X+++ KTerm.ad	Thu Dec 24 11:47:10 1998
X@@ -97,14 +97,22 @@
X !*VT100*kanjiMode:		jis
X !*VT100*lineSpace:		0
X 
X-!*VT100*textColor0:		Black
X-!*VT100*textColor1:		Red
X-!*VT100*textColor2:		Green
X-!*VT100*textColor3:		Yellow
X-!*VT100*textColor4:		Blue
X-!*VT100*textColor5:		Magenta
X-!*VT100*textColor6:		Cyan
X-!*VT100*textColor7:		White
X+*VT100*textColor0:		#505050
X+*VT100*textColor1:		Red
X+*VT100*textColor2:		Green
X+*VT100*textColor3:		Yellow
X+*VT100*textColor4:		Blue
X+*VT100*textColor5:		Magenta
X+*VT100*textColor6:		Cyan
X+*VT100*textColor7:		White
X+*VT100*textColor8:		Black
X+*VT100*textColor9:		#c00000
X+*VT100*textColor10:		#00c000
X+*VT100*textColor11:		#c0c000
X+*VT100*textColor12:		#0000c0
X+*VT100*textColor13:		#c000c0
X+*VT100*textColor14:		#00c0c0
X+*VT100*textColor15:		#c0c0c0
X 
X *tekMenu.Label:  Tek Options
X *tekMenu*tektextlarge*Label:  Large Characters
Xdiff --exclude=Makefile -ur kterm-6.2.0.orig/charproc.ccharproc.c
X--- kterm-6.2.0.orig/charproc.c	Fri Jul 12 14:01:36 1996
X+++ charproc.c	Thu Dec 24 11:46:28 1998
X@@ -143,6 +143,16 @@
X #define XtNtextColor5 "textColor5"
X #define XtNtextColor6 "textColor6"
X #define XtNtextColor7 "textColor7"
X+#ifdef COLOR_16
X+#define XtNtextColor8 "textColor8"
X+#define XtNtextColor9 "textColor9"
X+#define XtNtextColor10 "textColor10"
X+#define XtNtextColor11 "textColor11"
X+#define XtNtextColor12 "textColor12"
X+#define XtNtextColor13 "textColor13"
X+#define XtNtextColor14 "textColor14"
X+#define XtNtextColor15 "textColor15"
X+#endif
X #endif /* KTERM_COLOR */
X #define XtNcutNewline "cutNewline"
X #define XtNcutToBeginningOfLine "cutToBeginningOfLine"
X@@ -576,6 +586,32 @@
X {XtNtextColor7, XtCForeground, XtRPixel, sizeof(Pixel),
X 	XtOffsetOf(XtermWidgetRec, screen.textcolor[7]),
X 	XtRString, "White"},
X+#ifdef COLOR_16 /* [ */
X+{XtNtextColor8, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[8]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor9, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[9]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor10, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[10]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor11, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[11]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor12, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[12]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor13, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[13]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor14, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[14]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor15, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[15]),
X+	XtRString, "XtDefaultForeground"},
X+#endif /* ] */
X #endif /* KTERM_COLOR */
X {XtNeightBitInput, XtCEightBitInput, XtRBoolean, sizeof(Boolean),
X 	XtOffsetOf(XtermWidgetRec, screen.input_eight_bits), 
X@@ -4979,6 +5015,9 @@
X     screen->fnt_norm = nfs;
X     screen->fnt_bold = bfs;
X     screen->enbolden = (nfs == bfs);
X+#ifdef COLOR_16
X+    screen->enbolden = 0;
X+#endif
X     set_menu_font (False);
X     screen->menu_font_number = fontnum;
X     set_menu_font (True);
Xdiff --exclude=Makefile -ur kterm-6.2.0.orig/kterm.hkterm.h
X--- kterm-6.2.0.orig/kterm.h	Fri Jul 12 14:01:37 1996
X+++ kterm.h	Thu Dec 24 11:46:28 1998
X@@ -37,5 +37,6 @@
X #define KTERM_COLOR	/* color sequence */
X #define KTERM_NOTEK	/* disables Tektronix emulation */
X #undef  KTERM_XAW3D	/* Xaw3d -DARROW_SCROLLBAR support */
X+#define COLOR_16	/* 16 palets, BOLD means hilight */
X 
X #endif /* !_KTERM_H_ */
Xdiff --exclude=Makefile -ur kterm-6.2.0.orig/ptyx.hptyx.h
X--- kterm-6.2.0.orig/ptyx.h	Tue Jul  2 14:01:53 1996
X+++ ptyx.h	Thu Dec 24 11:46:28 1998
X@@ -300,7 +300,11 @@
X 	Pixel		mousecolor;	/* Mouse color			*/
X 	Pixel		mousecolorback;	/* Mouse color background	*/
X #ifdef KTERM_COLOR
X+#ifndef COLOR_16
X 	Pixel		textcolor[8];	/* text colors			*/
X+#else
X+	Pixel		textcolor[16];	/* text colors			*/
X+#endif
X #endif /* KTERM_COLOR */
X 	int		border;		/* inner border			*/
X 	Cursor		arrow;		/* arrow cursor			*/
X@@ -656,6 +660,12 @@
X #define BACKCOLORMASK	0x7000
X #define BACKCOLOR(c)	((c) << 12)
X #define BACKCOLORNUM(f)	(((f) & BACKCOLORMASK) >> 12)
X+#ifdef COLOR_16
X+#undef FORECOLORNUM
X+#undef BACKCOLORNUM
X+#define FORECOLORNUM(f)	((((f) & FORECOLORMASK) >> 8) + (((f) & BOLD)?0:8))
X+#define BACKCOLORNUM(f)	((((f) & BACKCOLORMASK) >> 12) + (((f) & BOLD)?8:8))
X+#endif
X #endif /* KTERM_COLOR */
X /* global flags */
X #ifdef KTERM
END-of-kterm16c/patches/patch-aa
echo c - kterm16c/files/
mkdir -p kterm16c/files/ > /dev/null 2>&1
echo x - kterm16c/files/dot.termcap
sed 's/^X//' >kterm16c/files/dot.termcap << 'END-of-kterm16c/files/dot.termcap'
Xktermc|kanji terminal with 16 colors:\
X	:op=:pa#64:Co#8:Sf=\E[3%dm:Sb=\E[4%dm:\
X	:mb=\E[5m:md=\E[1m:mr=\E[7m:mh=\E[2m:me=\E[m:\
X	:tc=kterm:
END-of-kterm16c/files/dot.termcap
echo x - kterm16c/files/md5
sed 's/^X//' >kterm16c/files/md5 << 'END-of-kterm16c/files/md5'
XMD5 (kterm-6.2.0.tar.gz) = 9cc72841b50dfba92bce01dbbebf3039
XMD5 (pcemu1.01alpha.tar.gz) = 1fed124b199839e439bec0f45abf006b
END-of-kterm16c/files/md5
echo x - kterm16c/files/kterm16c.doc
sed 's/^X//' >kterm16c/files/kterm16c.doc << 'END-of-kterm16c/files/kterm16c.doc'
XSubject: [FreeBSD-users-jp 36743] Re: Console dump?
XFrom: Toshihiro Kanda <candy@kgc.co.jp>
XTo: FreeBSD-users-jp@jp.freebsd.org
XDate: Thu, 24 Dec 1998 11:56:05 +0900 (JST)
XReply-To: FreeBSD-users-jp@jp.freebsd.org
X
X>   /stand/sysinstall の 16色カラー表示をビットマップにするのが目
X> 的であれば、以前神田さんが users-jp で kterm-6.1.0 で 16色表示す
X> るためのパッチを公開されているので、それがが使えます(kterm 上で
X> 動かして、普通に grab する)。
X> # 手元では kterm-6.2.0 に無理矢理手でパッチあてて使っています。
X
Xこんな古いものを覚えていらっしゃる方がいるとはびっくりです。無理矢理手
Xパッチさせてしまっては恐縮なので、kterm-6.2.0 用のパッチを作りました。
X
X神田敏広 <candy@kgc.co.jp>
X
X------------------------------------------------------------
Xkterm-6.2.0 用 16 色パッチ & コンソール(sc)互換 termcap エントリ
X
Xこのパッチは無保証です。
X
X●パッチの使い方
Xkterm-6.2.0/ のあるディレクトリで以下を実行してください。16 色対応 
Xkterm をインストールします。
X
X	# patch -p < this-patch
X	# cd kterm-6.2.0
X	# xmkmf -a
X	# make all install
X
X●termcap エントリの追加
X次のようなエントリを $HOME/.termcap に追加してください。16 色対応 
Xkterm を起動したら、環境変数 TERM を ktermc に設定してください。
X
X--------8<-------- $HOME/.termcap --------8<--------
Xktermc|kanji terminal with 16 colors:\
X	:op=:pa#64:Co#8:Sf=\E[3%dm:Sb=\E[4%dm:\
X	:mb=\E[5m:md=\E[1m:mr=\E[7m:mh=\E[2m:me=\E[m:\
X	:tc=kterm:
X--------8<--------8<--------8<--------8<--------8<--------
X
X●VGA font の作り方
XVGA フォントはpackages/emulators/pcemu-1.01a の vga.pcf.Z を利用すると
Xそれらしく見えます。
X
X	$ su
X	# cp vga.pcf.Z /usr/X11R6/lib/X11/fonts/misc
X	# cd /usr/X11R6/lib/X11/fonts/misc
X	# mkfontdir
X	# exit
X	$ xset fp rehash
X
Xkterm の起動(例)
X	$ kterm -fn vga -fk kanji16 -rv &
X
X●kterm-6.2.0 用 16 色パッチ
X--------8<--------8<--------8<--------8<--------8<--------
Xdiff --exclude=Makefile -ur kterm-6.2.0.orig/KTerm.ad kterm-6.2.0/KTerm.ad
X--- kterm-6.2.0.orig/KTerm.ad	Sun Jun 23 17:00:22 1996
X+++ kterm-6.2.0/KTerm.ad	Thu Dec 24 11:47:10 1998
X@@ -97,14 +97,22 @@
X !*VT100*kanjiMode:		jis
X !*VT100*lineSpace:		0
X 
X-!*VT100*textColor0:		Black
X-!*VT100*textColor1:		Red
X-!*VT100*textColor2:		Green
X-!*VT100*textColor3:		Yellow
X-!*VT100*textColor4:		Blue
X-!*VT100*textColor5:		Magenta
X-!*VT100*textColor6:		Cyan
X-!*VT100*textColor7:		White
X+*VT100*textColor0:		#505050
X+*VT100*textColor1:		Red
X+*VT100*textColor2:		Green
X+*VT100*textColor3:		Yellow
X+*VT100*textColor4:		Blue
X+*VT100*textColor5:		Magenta
X+*VT100*textColor6:		Cyan
X+*VT100*textColor7:		White
X+*VT100*textColor8:		Black
X+*VT100*textColor9:		#c00000
X+*VT100*textColor10:		#00c000
X+*VT100*textColor11:		#c0c000
X+*VT100*textColor12:		#0000c0
X+*VT100*textColor13:		#c000c0
X+*VT100*textColor14:		#00c0c0
X+*VT100*textColor15:		#c0c0c0
X 
X *tekMenu.Label:  Tek Options
X *tekMenu*tektextlarge*Label:  Large Characters
Xdiff --exclude=Makefile -ur kterm-6.2.0.orig/charproc.c kterm-6.2.0/charproc.c
X--- kterm-6.2.0.orig/charproc.c	Fri Jul 12 14:01:36 1996
X+++ kterm-6.2.0/charproc.c	Thu Dec 24 11:46:28 1998
X@@ -143,6 +143,16 @@
X #define XtNtextColor5 "textColor5"
X #define XtNtextColor6 "textColor6"
X #define XtNtextColor7 "textColor7"
X+#ifdef COLOR_16
X+#define XtNtextColor8 "textColor8"
X+#define XtNtextColor9 "textColor9"
X+#define XtNtextColor10 "textColor10"
X+#define XtNtextColor11 "textColor11"
X+#define XtNtextColor12 "textColor12"
X+#define XtNtextColor13 "textColor13"
X+#define XtNtextColor14 "textColor14"
X+#define XtNtextColor15 "textColor15"
X+#endif
X #endif /* KTERM_COLOR */
X #define XtNcutNewline "cutNewline"
X #define XtNcutToBeginningOfLine "cutToBeginningOfLine"
X@@ -576,6 +586,32 @@
X {XtNtextColor7, XtCForeground, XtRPixel, sizeof(Pixel),
X 	XtOffsetOf(XtermWidgetRec, screen.textcolor[7]),
X 	XtRString, "White"},
X+#ifdef COLOR_16 /* [ */
X+{XtNtextColor8, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[8]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor9, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[9]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor10, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[10]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor11, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[11]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor12, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[12]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor13, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[13]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor14, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[14]),
X+	XtRString, "XtDefaultForeground"},
X+{XtNtextColor15, XtCForeground, XtRPixel, sizeof(Pixel),
X+	XtOffsetOf(XtermWidgetRec, screen.textcolor[15]),
X+	XtRString, "XtDefaultForeground"},
X+#endif /* ] */
X #endif /* KTERM_COLOR */
X {XtNeightBitInput, XtCEightBitInput, XtRBoolean, sizeof(Boolean),
X 	XtOffsetOf(XtermWidgetRec, screen.input_eight_bits), 
X@@ -4979,6 +5015,9 @@
X     screen->fnt_norm = nfs;
X     screen->fnt_bold = bfs;
X     screen->enbolden = (nfs == bfs);
X+#ifdef COLOR_16
X+    screen->enbolden = 0;
X+#endif
X     set_menu_font (False);
X     screen->menu_font_number = fontnum;
X     set_menu_font (True);
Xdiff --exclude=Makefile -ur kterm-6.2.0.orig/kterm.h kterm-6.2.0/kterm.h
X--- kterm-6.2.0.orig/kterm.h	Fri Jul 12 14:01:37 1996
X+++ kterm-6.2.0/kterm.h	Thu Dec 24 11:46:28 1998
X@@ -37,5 +37,6 @@
X #define KTERM_COLOR	/* color sequence */
X #define KTERM_NOTEK	/* disables Tektronix emulation */
X #undef  KTERM_XAW3D	/* Xaw3d -DARROW_SCROLLBAR support */
X+#define COLOR_16	/* 16 palets, BOLD means hilight */
X 
X #endif /* !_KTERM_H_ */
Xdiff --exclude=Makefile -ur kterm-6.2.0.orig/ptyx.h kterm-6.2.0/ptyx.h
X--- kterm-6.2.0.orig/ptyx.h	Tue Jul  2 14:01:53 1996
X+++ kterm-6.2.0/ptyx.h	Thu Dec 24 11:46:28 1998
X@@ -300,7 +300,11 @@
X 	Pixel		mousecolor;	/* Mouse color			*/
X 	Pixel		mousecolorback;	/* Mouse color background	*/
X #ifdef KTERM_COLOR
X+#ifndef COLOR_16
X 	Pixel		textcolor[8];	/* text colors			*/
X+#else
X+	Pixel		textcolor[16];	/* text colors			*/
X+#endif
X #endif /* KTERM_COLOR */
X 	int		border;		/* inner border			*/
X 	Cursor		arrow;		/* arrow cursor			*/
X@@ -656,6 +660,12 @@
X #define BACKCOLORMASK	0x7000
X #define BACKCOLOR(c)	((c) << 12)
X #define BACKCOLORNUM(f)	(((f) & BACKCOLORMASK) >> 12)
X+#ifdef COLOR_16
X+#undef FORECOLORNUM
X+#undef BACKCOLORNUM
X+#define FORECOLORNUM(f)	((((f) & FORECOLORMASK) >> 8) + (((f) & BOLD)?0:8))
X+#define BACKCOLORNUM(f)	((((f) & BACKCOLORMASK) >> 12) + (((f) & BOLD)?8:8))
X+#endif
X #endif /* KTERM_COLOR */
X /* global flags */
X #ifdef KTERM
X--------8<--------8<--------8<--------8<--------8<--------
X
END-of-kterm16c/files/kterm16c.doc
echo c - kterm16c/pkg/
mkdir -p kterm16c/pkg/ > /dev/null 2>&1
echo x - kterm16c/pkg/COMMENT
sed 's/^X//' >kterm16c/pkg/COMMENT << 'END-of-kterm16c/pkg/COMMENT'
XAn xterm that speaks Japanese with 16 colors like on a VGA.
END-of-kterm16c/pkg/COMMENT
echo x - kterm16c/pkg/DESCR
sed 's/^X//' >kterm16c/pkg/DESCR << 'END-of-kterm16c/pkg/DESCR'
Xkterm is a xterm replacement with Japanese (Kanji) support.  It also
Xunderstands ANSI color sequences.  This version is 6.1.0, available
Xfrom the X11R6 contrib tape.
X
Xkterm16c is for console hardcopy on a VGA terminal. It enables to get
Xbitmaps of VGA terminal mode. Conversion for 16 color kterm was made by
XKANDA Toshihiro<candy@kgc.co.jp>.
X
X-KIRIYAMA Kazuhiko
X<kiri@pis.toba-cmt.ac.jp>
END-of-kterm16c/pkg/DESCR
echo x - kterm16c/pkg/PLIST
sed 's/^X//' >kterm16c/pkg/PLIST << 'END-of-kterm16c/pkg/PLIST'
Xbin/kterm16c
Xlib/X11/app-defaults/KTerm.16-colors
Xlib/X11/fonts/misc/vga.pcf.Z
X@exec /usr/X11R6/bin/mkfontdir %B
Xshare/doc/kterm16c/dot.termcap
Xshare/doc/kterm16c/kterm16c.doc
X@dirrm share/doc/kterm16c
END-of-kterm16c/pkg/PLIST
echo x - kterm16c/pkg/DEINSTALL
sed 's/^X//' >kterm16c/pkg/DEINSTALL << 'END-of-kterm16c/pkg/DEINSTALL'
X#!/bin/sh
X
Xperl -pi -e 's/^vga\.pcf\.Z[ \t]+.*\n$//' ${PKG_PREFIX}/lib/X11/fonts/misc/fonts.dir
END-of-kterm16c/pkg/DEINSTALL
echo x - kterm16c/pkg/MESSAGE
sed 's/^X//' >kterm16c/pkg/MESSAGE << 'END-of-kterm16c/pkg/MESSAGE'
X***********************************************************************
X* You must reset X, copy .termcap to your home directory and set TERM *
X* ktermc:                                                             *
X*       % xset fp rehash                                              *
X*       % xrdb -m /usr/X11R6/lib/X11/app-defaults/KTerm.16-colors     *
X*       % cp /usr/X11R6/share/doc/kterm16c/dot.termcap $HOME/.termcap *
X*       % kterm16c -fn vga -rv &                   (for VGA terminal) *
X*       % kterm16c  -fn kanji14 -fk kanji14 -rv &  (for kon on VGA)   *
X*       % setenv TERM ktermc                                          *
X***********************************************************************
END-of-kterm16c/pkg/MESSAGE
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902090603.PAA27273>