[10587] in Athena Bugs
athena/athena.lib/moira/clients/moira/menu.c
daemon@ATHENA.MIT.EDU (brlewis@Athena.MIT.EDU)
Fri Jun 25 11:43:07 1993
From: brlewis@Athena.MIT.EDU
Date: Fri, 25 Jun 93 11:43:02 -0400
To: rel-eng@Athena.MIT.EDU, bugs@Athena.MIT.EDU
The moira client doesn't always erase old lines, but it's still readable
and all the functionality is there. I don't know if this bug is related
to my change or not. I don't understand curses and I'm not trying to.
Maybe my code is broken, but at least it's POSIX compliant ;-).
*** /tmp/,RCSt1a18427 Fri Jun 25 11:39:16 1993
--- athena/athena.lib/moira/clients/moira/menu.c Wed Jun 9 18:10:07 1993
***************
*** 614,620 ****
return 0;
}
putchar('\n');
! (void) ioctl(0, TCSETA, (char *)&ttybuf);
#else
(void) ioctl(0, TIOCGETP, (char *)&ttybuf);
nttybuf = ttybuf;
--- 614,624 ----
return 0;
}
putchar('\n');
! #ifdef hpux
! tcsetattr(0, TCSANOW, &ttybuf); /* is this right? -brlewis */
! #else /* hpux */
! (void) ioctl(0, TCSETA, (char *)&ttybuf); /* not POSIX. -brlewis */
! #endif /* hpux */
#else
(void) ioctl(0, TIOCGETP, (char *)&ttybuf);
nttybuf = ttybuf;