diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1997-10-07 07:03:43 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1997-10-07 07:03:43 +0000 |
commit | 82d9fcc2fcece92bc751a3ed407ce52c2e61d8e4 (patch) | |
tree | ad0d28e5e3ae567e5430705f87eef970aaf9b0c8 /chinese | |
parent | 6f609835fff66d0e0ea55d79a6645bc9cd5e2061 (diff) | |
download | ports-82d9fcc2fcece92bc751a3ed407ce52c2e61d8e4.tar.gz ports-82d9fcc2fcece92bc751a3ed407ce52c2e61d8e4.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/hztty/Makefile | 26 | ||||
-rw-r--r-- | chinese/hztty/distinfo | 1 | ||||
-rw-r--r-- | chinese/hztty/files/patch-aa | 20 | ||||
-rw-r--r-- | chinese/hztty/files/patch-ab | 11 | ||||
-rw-r--r-- | chinese/hztty/pkg-comment | 1 | ||||
-rw-r--r-- | chinese/hztty/pkg-descr | 17 | ||||
-rw-r--r-- | chinese/hztty/pkg-plist | 2 |
7 files changed, 78 insertions, 0 deletions
diff --git a/chinese/hztty/Makefile b/chinese/hztty/Makefile new file mode 100644 index 000000000000..43ae0b50a677 --- /dev/null +++ b/chinese/hztty/Makefile @@ -0,0 +1,26 @@ +# Ports collection makefile for: hztty +# Version required: 2.0 +# Date created: Wed Sep 24, 1997 +# Whom: Ada T Lim <ada@not-enough.bandwidth.org> +# +# $Id$ +# + +DISTNAME= hztty-2.0 +PKGNAME= zh-hztty-2.0 +CATEGORIES= chinese +MASTER_SITES= ftp://ftp.ifcss.org/pub/software/convert/ \ + ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/convert/ \ + ftp://ftp.edu.tw/Chinese/ifcss/software/convert/ \ + ftp://ftp.mpi-sb.mpg.de/pub/chinese/mirror/ftp.ifcss.org/software/convert/ + +MAINTAINER= ada@bsd.org + +ALL_TARGET= bsd +MAN1= hztty.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/hztty ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/hztty.1 ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/chinese/hztty/distinfo b/chinese/hztty/distinfo new file mode 100644 index 000000000000..8b1860f4df4d --- /dev/null +++ b/chinese/hztty/distinfo @@ -0,0 +1 @@ +MD5 (hztty-2.0.tar.gz) = 7ec5907ad55825780274b8a77b217e21 diff --git a/chinese/hztty/files/patch-aa b/chinese/hztty/files/patch-aa new file mode 100644 index 000000000000..896d1983bc28 --- /dev/null +++ b/chinese/hztty/files/patch-aa @@ -0,0 +1,20 @@ +*** Makefile.dist Thu Sep 25 00:26:00 1997 +--- Makefile Thu Sep 25 00:47:01 1997 +*************** +*** 132,138 **** + + + bsd: +! miniconf.sh $(CPP) + ${MAKE} ${MFLAGS} DEFINES='-DBSD' ${PROG} + + posix: +--- 134,140 ---- + + + bsd: +! ./miniconf.sh $(CPP) + ${MAKE} ${MFLAGS} DEFINES='-DBSD' ${PROG} + + posix: + diff --git a/chinese/hztty/files/patch-ab b/chinese/hztty/files/patch-ab new file mode 100644 index 000000000000..6499d921de37 --- /dev/null +++ b/chinese/hztty/files/patch-ab @@ -0,0 +1,11 @@ +--- tty.c.orig Sun Jan 29 12:24:55 1995 ++++ tty.c Mon Oct 6 23:56:32 1997 +@@ -26,7 +26,7 @@ + # define TTYDEV "/dev/pty/ttyxx" + #else /* !hpux */ + # define PTYCHAR1 "pqrstuvwxyzPQRSTUVWXYZ" +-# define PTYCHAR2 "0123456789abcdef" ++# define PTYCHAR2 "0123456789abcdefghijklmnopqrstuv" + # define PTYDEV "/dev/ptyxx" + # define TTYDEV "/dev/ttyxx" + #endif /* !hpux */ diff --git a/chinese/hztty/pkg-comment b/chinese/hztty/pkg-comment new file mode 100644 index 000000000000..f97d4a6eb8ac --- /dev/null +++ b/chinese/hztty/pkg-comment @@ -0,0 +1 @@ +a translator between GuoBiao / Big5 and HZ diff --git a/chinese/hztty/pkg-descr b/chinese/hztty/pkg-descr new file mode 100644 index 000000000000..bde75d659ac0 --- /dev/null +++ b/chinese/hztty/pkg-descr @@ -0,0 +1,17 @@ + hztty + + This program turns a tty session from one encoding to another. + For example, running hztty on cxterm can allow you to read/write + Chinese in HZ format, which was not supported by cxterm. + If you have many applications in different encodings but your + favor terminal program only supports one, hztty can make life easy. + For example, hztty can your GB cxterm into a HZ terminal, a + Unicode (16bit, or UTF8, or UTF7) terminal, or a Big5 terminal. + + The idea is to open a new shell session on top of the current one + and to translate the encoding between the new tty and the orignal. + For example, if your application uses encoding A and your terminal + supports encoding B. Hztty catches the output of the application + and converts them from A to B before sending to the terminal. + Similarly, hztty converts all the terminal input from B to A before + sending to the application. diff --git a/chinese/hztty/pkg-plist b/chinese/hztty/pkg-plist new file mode 100644 index 000000000000..c599ca2aa180 --- /dev/null +++ b/chinese/hztty/pkg-plist @@ -0,0 +1,2 @@ +bin/hztty +man/man1/hztty.1.gz |