1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/chinese/hztty/pkg-descr
David E. O'Brien 82d9fcc2fc translator between GuoBiao / Big5 and HZ
PR:		ports/4622
Submitted by:	Ada T Lim <ada@not-enough.bandwidth.org>
1997-10-07 07:03:43 +00:00

18 lines
888 B
Plaintext

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.