diff --git a/chinese/telnet/Makefile b/chinese/telnet/Makefile new file mode 100644 index 000000000000..858fd1016d43 --- /dev/null +++ b/chinese/telnet/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: telnet8 +# Version required: 1.0 +# Date created: 13 Feb 1999 +# Whom: Ching-Hong Wu +# +# $Id: Makefile,v 1.10 1999/02/12 16:39:39 foxfair Exp $ +# + +DISTNAME= telnet8-1.0 +PKGNAME= zh-telnet-1.0 +CATEGORIES= chinese +MASTER_SITES= ftp://freebsd.ntu.edu.tw/freebsd/woju/source/ \ + ftp://bsd.sinica.edu.tw/pub/FreeBSD/taiwan/users/woju/source/ +EXTRACT_SUFX= .tgz + +MAINTAINER= woju@freebsd.ntu.edu.tw + +.include diff --git a/chinese/telnet/pkg-comment b/chinese/telnet/pkg-comment new file mode 100644 index 000000000000..372f7a144165 --- /dev/null +++ b/chinese/telnet/pkg-comment @@ -0,0 +1 @@ +8bit compatible telnet client for Chinese input diff --git a/chinese/telnet/pkg-descr b/chinese/telnet/pkg-descr new file mode 100644 index 000000000000..de77b74da9a6 --- /dev/null +++ b/chinese/telnet/pkg-descr @@ -0,0 +1,23 @@ +Description: + Using /usr/bin/telnet in "8-bit environment", for example, BIG5- +encoding Chinese characters environment in Taiwan, is somewhat in-convenient. + To be able to input Chinese characters, "-8 or -L" options are needed, +however, using these options cause another problem. Specifying "-8 or -L" +makes ^U or ^C or ^D or ... (any isprint(c)) malfunction when telnet to SunOS. + +How-To-Repeat: + /usr/bin/telnet -8 ms1.hinet.net (ms1.hinet.net running Solaris) + login: abcde^U (or just press Enter) + => the terminal state goes wrong, "reset" is needed to go back + to "normal state" + +Fix: +Apply the following patch: +http://freebsd.csie.nctu.edu.tw/gem_html/3/A0002063.html + +This make telnet "8-bit clean", being able to input 8-bit data (Chinese +characters) without specifying "-8 or -L" options, and telnet to SunOS +without trouble. + +See also: +http://www.freebsd.org/cgi/query-pr.cgi?pr=6144 diff --git a/chinese/telnet/pkg-plist b/chinese/telnet/pkg-plist new file mode 100644 index 000000000000..c78722695ca4 --- /dev/null +++ b/chinese/telnet/pkg-plist @@ -0,0 +1 @@ +bin/telnet