Date: Mon, 13 Oct 1997 17:18:14 +0200 (IST) From: Eli Zaretskii To: Alex Holden 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.