Mail Archives: djgpp/1999/12/14/04:33:39
On Mon, 13 Dec 1999 silkwodj AT my-deja DOT com wrote:
> Funny thing about this is after learning on my Win/Dos system using
> DJGPP, I went to LINUX and couldn't find conio.h
conio.h is a DOSism (invented by Borland, IIRC). Don't expect to find
it on Unix systems.
I think Linux has an emulation of conio, somebody posted a URL here
some time ago. I suggest to search the DJGPP archives at
http://www.delorie.com/djgpp/mail-archives/.
> It seems that the multi-user UNIX world snubs thier noses at the Dos
> approach to console interrupts
conio.h has almost nothing to do with interrupts. Most conio
functions use direct access to the video memory, not interrupts.
> and I understand I should leave conio.h for curses.h over there.
Yes, for portability use curses (and PDCurses in DJGPP).
> I admit there are porting problems. This may be an area for reduction
> in DPMI support in future NT releases as well I suppose?
I don't believe NT will ever disallow direct access to the standard
VGA memory. Too many programs will break if they do.
- Raw text -