pkgsrc/converters/hztty/patches/patch-ab
agc 7ea93752f4 Initial import of hztty-2.0 into the NetBSD Packages Collection.
Provided in PR 16086 by Rui-Xiang Guo (rxg@ms25.url.com.tw)

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 convert your GB cxterm into a HZ terminal, a
Unicode (16bit, or UTF8, or UTF7) terminal, or a Big5 terminal.
2002-06-19 09:39:18 +00:00

13 lines
427 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2002/06/19 09:39:18 agc Exp $
--- 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 */