#endif
#endif
-MODULE_ID("$Id: tinfo_driver.c,v 1.1 2009/05/23 22:40:30 juergen Exp $")
+#if HAVE_SIZECHANGE
+# if !defined(sun) || !TERMIOS
+# if HAVE_SYS_IOCTL_H
+# include <sys/ioctl.h>
+# endif
+# endif
+#endif
+
+MODULE_ID("$Id: tinfo_driver.c,v 1.3 2009/09/27 17:29:39 tom Exp $")
/*
* SCO defines TIOCGSIZE and the corresponding struct. Other systems (SunOS,
drv_doupdate(TERMINAL_CONTROL_BLOCK * TCB)
{
AssertTCB();
- return _nc_tinfo_doupdate(TCB->csp);
+ return TINFO_DOUPDATE(TCB->csp);
}
/*
{
SCREEN *sp = TCB->csp;
AssertTCB();
- return _nc_tinfo_mvcur(sp, yold, xold, ynew, xnew);
+ return TINFO_MVCUR(sp, yold, xold, ynew, xnew);
}
static void
AssertTCB();
if (TCB->csp)
- res = _nc_tinfo_has_key(TCB->csp, key) == 0 ? FALSE : TRUE;
+ res = TINFO_HAS_KEY(TCB->csp, key) == 0 ? FALSE : TRUE;
return res;
}