Date: Mon, 11 Aug 2003 19:49:33 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: ethros AT earthlink DOT net Message-Id: <2110-Mon11Aug2003194933+0300-eliz@elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <3.0.1.16.20030811110553.34ef5ab4@earthlink.net> (message from Ethan Rosenberg on Mon, 11 Aug 2003 11:05:53 -0400) Subject: Re: ANSI.SYS emulation References: <3 DOT 0 DOT 1 DOT 16 DOT 20030811110553 DOT 34ef5ab4 AT earthlink DOT net> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Mon, 11 Aug 2003 11:05:53 -0400 > From: Ethan Rosenberg > > I would like to be able to emulate ANSI.SYS cursor control commands by > direct access to the video memory. In 16 bit DOS it is done with far > pointers, which I do not think can be used in djgpp. > > How can I do it? Does anyone have any example code they could share with me? One example is in the DJGPP port of GNU `ls'. You can download the source distribution of GNU Fileutils, v2gnu/fil*s.zip, from the DJGPP repository, and look at the file ls-msdos.c there.