556374bb28
The editors/beav port got broken on -CURRENT by the removal of the sgtty programming interface. Patch this port to use termios. The source code already contained support for termios, but was mistakenly covered by #ifdef __GLIBC__. Approved by: philip (mentor)
11 lines
156 B
C
11 lines
156 B
C
--- tcap.c
|
|
+++ tcap.c
|
|
@@ -89,7 +89,7 @@
|
|
|
|
|
|
#ifdef BSD
|
|
-#ifdef ULTRIX
|
|
+#if 1
|
|
if (ioctl (0, TIOCGWINSZ, &ttysize) == 0
|
|
&& ttysize.ws_row > 0)
|
|
{
|