Fix to let elle understand window size.

This commit is contained in:
Ben Gras 2006-06-26 15:15:40 +00:00
parent de07a562d1
commit 961a173573
2 changed files with 5 additions and 0 deletions

View file

@ -8,6 +8,8 @@
* routine is TS_INP for detection of TTY input.
*/
#define _MINIX 1
#include "elle.h"
#if !(V6)
@ -21,6 +23,7 @@ int tsf_pause = 0; /* Set if ts_pause works. Ref'd by equit in e_main */
#if !(SYSV || BBN) /* SYSV and BBN have weird tty calls */
#if MINIX
#include <sys/ioctl.h>
#include <termios.h>
struct termios origterm, newterm;
#else

View file

@ -3,7 +3,9 @@
#endif
/* sbbcpy.c */
#ifndef _MINIX
_PROTOTYPE( int bcopy, (SBMA from, SBMA to, unsigned cnt) );
#endif
_PROTOTYPE( int sbm_wcpy, (int *from, int *to, unsigned cnt) );
/* sberr.c */