Mail Archives: djgpp/1999/12/14/22:17:27
Eli
There is a conio.h for Linux. It is called Linix-conio.h. It requires
Ncurses ver 1,9,9 e or better. It can be gotten from ftp tsx-11.mit.edu.
I just downloaded it about a month
ago. Hope this helps
Vince....
On Tue, 14 Dec 1999 09:25:18 +0200 (IST) Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> writes:
>
>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.
___________________________________________________________________
Why pay more to get Web access?
Try Juno for FREE -- then it's just $9.95/month if you act NOW!
Get your free software today: http://dl.www.juno.com/dynoget/tagj.
- Raw text -