delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/13/11:23:44

Date: Mon, 13 Oct 1997 17:18:14 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Alex Holden <bigal2000 AT hotmail DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Writing code for both DJGPP and Linux.
In-Reply-To: <19971013123422.14430.qmail@hotmail.com>
Message-ID: <Pine.SUN.3.91.971013171033.12363B-100000@is>
MIME-Version: 1.0

On Mon, 13 Oct 1997, Alex Holden wrote:

> I think I can
> say that Eli was being a bit optimistic when he said it shouldn't be too
> hard. But, what the heck, I'm going to have a go anyway.

Way to go!

> I would still welcome advice from anyone who knows how to use the DJGPP 
> file system extensions.

A simple example can be found in the libc reference.  More complex, 
real-life examples are in the DJGPP ports of these packages:

	GNU Fileutils (v2gnu/fil316s.zip, file src/ls-msdos.c)
	Ispell (v2gnu/isp3120s.zip, file pc/djterm.c)

Both of these cases redirect standard output to direct video writes 
(using conio functions like cprintf) in a way that avoids any 
source-level changes to the original Unix code.



- Raw text -


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