mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
b9599584d4
8bit compatible telnet client for Chinese input PR: 10063 Submitted by: Ching-Hong Wu <woju@freebsd.ntu.edu.tw>
24 lines
915 B
Plaintext
24 lines
915 B
Plaintext
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
|