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.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#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
 | 
			
		||||
 | 
			
		||||
@ -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 */
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user