bug-ncurses
[Top][All Lists]
Advanced

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

Re: ncurses for djgpp


From: Mark E.
Subject: Re: ncurses for djgpp
Date: Mon, 6 Aug 2001 21:30:51 -0400

> > + #ifdef __DJGPP__
> > +         /* Dummy call to tcgetattr to force use of termios emulation. */
> > +         if (1) {
> > +           struct termios t;
> > + 
> > +           tcgetattr(0, &t);
> > +         }
> 
> that's a rather ugly solution, btw (would be better to provide a special
> function for this than to distort the meaning of tcgetattr).

The function it calls to startup the emulation can be used instead 
(__libc_termios_init is the djgpp-specific name).

> what library provides ScreenRows() and ScreenCols()?

They come from <pc.h> from djgpp's libc.a (again djgpp-specific).

Mark




reply via email to

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