delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/14/04:33:39

Date: Tue, 14 Dec 1999 09:25:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: silkwodj AT my-deja DOT com
cc: djgpp AT delorie DOT com
Subject: Re: curses.h
In-Reply-To: <833c05$gc9$1@nnrp1.deja.com>
Message-ID: <Pine.SUN.3.91.991214092458.9300J-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019