head	1.2;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.1.1.1
	RELEASE_6_3_0:1.1.1.1
	PRE_XORG_7:1.1.1.1
	RELEASE_4_EOL:1.1.1.1
	RELEASE_6_2_0:1.1.1.1
	RELEASE_6_1_0:1.1.1.1
	RELEASE_5_5_0:1.1.1.1
	RELEASE_6_0_0:1.1.1.1
	RELEASE_5_4_0:1.1.1.1
	RELEASE_4_11_0:1.1.1.1
	RELEASE_5_3_0:1.1.1.1
	RELEASE_4_10_0:1.1.1.1
	RELEASE_5_2_1:1.1.1.1
	RELEASE_5_2_0:1.1.1.1
	RELEASE_4_9_0:1.1.1.1
	RELEASE_5_1_0:1.1.1.1
	RELEASE_4_8_0:1.1.1.1
	RELEASE_5_0_0:1.1.1.1
	RELEASE_4_7_0:1.1.1.1
	RELEASE_4_6_2:1.1.1.1
	RELEASE_4_6_1:1.1.1.1
	RELEASE_4_6_0:1.1.1.1
	RELEASE_5_0_DP1:1.1.1.1
	RELEASE_4_5_0:1.1.1.1
	RELEASE_4_4_0:1.1.1.1
	RELEASE_4_3_0:1.1.1.1
	RELEASE_4_2_0:1.1.1.1
	RELEASE_4_1_1:1.1.1.1
	RELEASE_4_1_0:1.1.1.1
	RELEASE_3_5_0:1.1.1.1
	RELEASE_4_0_0:1.1.1.1
	RELEASE_3_4_0:1.1.1.1
	RELEASE_3_3_0:1.1.1.1
	RELEASE_3_2_0:1.1.1.1
	RELEASE_3_1_0:1.1.1.1
	RELEASE_2_2_8:1.1.1.1
	RELEASE_3_0_0:1.1.1.1
	RELEASE_2_2_7:1.1.1.1
	RELEASE_2_2_6:1.1.1.1
	RELEASE_2_2_5:1.1.1.1
	hztty_2_0:1.1.1.1
	LIM:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2008.01.27.23.46.13;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	97.10.07.07.03.41;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.10.07.07.03.41;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Use termios.h instead of sgtty.h
- Reset maintainer (mail bounce) [1]

[1]
<ada@@bsd.org>: host bsd.org.s6a1.psmtp.com[64.18.5.10] said: 550 No such user -
psmtp (in reply to RCPT TO command)

PR:		120050
Submitted by:	Ed Schouten <ed@@fxq.nl>
@
text
@--- 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));
@


1.1
log
@Initial revision
@
text
@d12 22
@


1.1.1.1
log
@translator between GuoBiao / Big5 and HZ

PR:		ports/4622
Submitted by:	Ada T Lim <ada@@not-enough.bandwidth.org>
@
text
@@
