1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Import of zh-telnet version 1.0.

8bit compatible telnet client for Chinese input

PR:		10063
Submitted by:	Ching-Hong Wu <woju@freebsd.ntu.edu.tw>
This commit is contained in:
Steve Price 1999-04-03 01:36:11 +00:00
parent 6d08b39567
commit b9599584d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=17589
4 changed files with 43 additions and 0 deletions

18
chinese/telnet/Makefile Normal file
View File

@ -0,0 +1,18 @@
# New ports collection makefile for: telnet8
# Version required: 1.0
# Date created: 13 Feb 1999
# Whom: Ching-Hong Wu <woju@freebsd.ntu.edu.tw>
#
# $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 <bsd.port.mk>

View File

@ -0,0 +1 @@
8bit compatible telnet client for Chinese input

23
chinese/telnet/pkg-descr Normal file
View File

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

1
chinese/telnet/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/telnet