From: pavenis AT lanet DOT lv Message-ID: To: djgpp AT delorie DOT com Date: Fri, 29 Oct 1999 13:12:46 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: I still need Linux DJGPP port References: <199910281214 DOT QAA22578 AT ape DOT school DOT ioffe DOT rssi DOT ru> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12a) Reply-To: djgpp AT delorie DOT com On 28 Oct 99, at 19:36, Eli Zaretskii wrote: > > On Thu, 28 Oct 1999, Vladimir Mosgalin wrote: > > > I have program, which uses DJGPP & dpmi functions. > > I wish to compile it under Linux GCC without any cardinal changes. > > Is there any library (and conio library too)? > > It is very hard to give you a reliable answer. It all depends on how > heavily does the original program use conio and DPMI functions. > > I don't know if there is conio for Linux, but if there isn't, you > should be able to rewrite the conio functions using curses or termcap > facilities available on Linux. Begin3 Title: Linux-conio.h Version: 1.02 Entered-date: Mar 09, 1997 Description: This is a mostly complete implementation of the conio.h for Linux - it was developed to make porting text based DOS applications to Linux easier. It implements all port I/O commands defined in Watcom's conio.h and almost all other I/O commands defined in Borland's conio.h (including: keyboard input, formatted screen output, colors, windows...) using the curses library. This release has some bug fixes and the possibilty to use curses functions mixed with conio functions. Keywords: conio.h, curses, port, inp, outp, screen, I/O Author: fractor AT germanymail DOT com (Gerald Friedland [Fractor/MXP]) Maintained-by: fractor AT germanymail DOT com (Gerald Friedland) Primary-site: tsx-11.mit.edu Original-site: http://www.obh.snafu.de/~marte/friends/fractor.html Required: Linux, gcc, ncurses 1.9.9e (or newer ? - but not older !) Platform: Linux, any version. Copying-policy: GLPL 2 End > > As for DPMI functions, some have Linux analogs, some are usually not > needed at all, some are simply impossible to port to Linux. I suggest > to ask specific questions about DPMI functions used by the original > program. (Be sure to tell the details when you do.) >