Fix to let elle understand window size.
This commit is contained in:
parent
de07a562d1
commit
961a173573
@ -8,6 +8,8 @@
|
|||||||
* routine is TS_INP for detection of TTY input.
|
* routine is TS_INP for detection of TTY input.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define _MINIX 1
|
||||||
|
|
||||||
#include "elle.h"
|
#include "elle.h"
|
||||||
|
|
||||||
#if !(V6)
|
#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 !(SYSV || BBN) /* SYSV and BBN have weird tty calls */
|
||||||
|
|
||||||
#if MINIX
|
#if MINIX
|
||||||
|
#include <sys/ioctl.h>
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
struct termios origterm, newterm;
|
struct termios origterm, newterm;
|
||||||
#else
|
#else
|
||||||
|
@ -3,7 +3,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* sbbcpy.c */
|
/* sbbcpy.c */
|
||||||
|
#ifndef _MINIX
|
||||||
_PROTOTYPE( int bcopy, (SBMA from, SBMA to, unsigned cnt) );
|
_PROTOTYPE( int bcopy, (SBMA from, SBMA to, unsigned cnt) );
|
||||||
|
#endif
|
||||||
_PROTOTYPE( int sbm_wcpy, (int *from, int *to, unsigned cnt) );
|
_PROTOTYPE( int sbm_wcpy, (int *from, int *to, unsigned cnt) );
|
||||||
|
|
||||||
/* sberr.c */
|
/* sberr.c */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user