bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ncurses for djgpp


From: Thomas Dickey
Subject: Re: ncurses for djgpp
Date: Wed, 8 Aug 2001 15:48:28 -0400
User-agent: Mutt/1.2.5i

On Wed, Aug 08, 2001 at 03:14:43PM -0400, Mark E. wrote:
> > that's a rather ugly solution, btw (would be better to provide a special
> > function for this than to distort the meaning of tcgetattr).
> 
> Hello again,
> I've added TIOCGWINSZ support to DJGPP's ioctl. The only thing needed now 
> is a call to "__libc_termios_init()" to force use of the termios emulation 
> rather than the DOS console driver (so the demo dots and railroad will 
> work for example).
> 
> Is there an acceptable way that it can be added?

are you using the configure script on djgpp?
I assumed you were, otherwise there would be a lot more to do to get
it to build.

(if that works, I'd simply add a configure check for the specific function,
combine that with the __DJGPP__ ifdef and go from there - but putting the
externs for ScreenRows() and ScreenCols() into the C code rather than
including the appropriate header is the other thing to take care of (you
said it's available in pc.h).

-- 
Thomas E. Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]