summaryrefslogtreecommitdiff
path: root/chinese/hztty/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/hztty/files/patch-ab')
-rw-r--r--chinese/hztty/files/patch-ab33
1 files changed, 0 insertions, 33 deletions
diff --git a/chinese/hztty/files/patch-ab b/chinese/hztty/files/patch-ab
deleted file mode 100644
index 423a5f861d52..000000000000
--- a/chinese/hztty/files/patch-ab
+++ /dev/null
@@ -1,33 +0,0 @@
---- 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 */
-@@ -320,7 +320,9 @@
- #ifdef TIOCLSET
- (void) ioctl (tty, TIOCLGET, (char *)&(termptr->lmode));
- #endif
--#ifdef USE_SYSV_TERMIO
-+#ifdef USE_TERMIOS
-+ tcgetattr(tty, (char *)&(termptr->tio));
-+#elif defined(USE_SYSV_TERMIO)
- (void) ioctl (tty, TCGETA, (char *)&(termptr->tio));
- #else /* USE_SYSV_TERMIO */
- (void) ioctl (tty, TIOCGETP, (char *)&(termptr->sb));
-@@ -339,7 +341,9 @@
- #ifdef TIOCLSET
- (void) ioctl (tty, TIOCLSET, (char *)&(termptr->lmode));
- #endif
--#ifdef USE_SYSV_TERMIO
-+#ifdef USE_TERMIOS
-+ tcsetattr(tty, TCSANOW, (char *)&(termptr->tio));
-+#elif defined(USE_SYSV_TERMIO)
- (void) ioctl (tty, TCSETA, (char *)&(termptr->tio));
- #else /* USE_SYSV_TERMIO */
- (void) ioctl (tty, TIOCSETP, (char *)&(termptr->sb));