+Sat Feb 22 00:54:06 1997 Sam Hartman <hartmans@luminous.MIT.EDU>
+
+ * krlogin.c (mode): Clean up Posix terminal handling for NetBSD.
+
Tue Feb 18 18:03:55 1997 Richard Basch <basch@lehman.com>
* krcp.c: Replace krb5_xfree with krb5_free_data_contents
{
#ifdef POSIX_TERMIOS
struct termios newtty;
+#ifndef IEXTEN
+#define IEXTEN 0 /* No effect*/
+#endif
+#ifndef _POSIX_VDISABLE
+#define _POSIX_VDISABLE 0 /*A good guess at the disable-this-character character*/
+#endif
switch(f) {
case 0:
/* was __svr4__ */
#ifdef VLNEXT
/* there's a POSIX way of doing this, but do we need it general? */
- newtty.c_cc[VLNEXT] = 0;
+ newtty.c_cc[VLNEXT] = _POSIX_VDISABLE;
#endif
- newtty.c_lflag &= ~(ICANON|ISIG|ECHO);
+ newtty.c_lflag &= ~(ICANON|ISIG|ECHO|IEXTEN);
newtty.c_iflag &= ~(ISTRIP|INLCR|ICRNL);
if (!flow) {