Guidance needed for FoxPro app

Ron Johnson ron.l.johnson at cox.net
Thu Feb 26 08:53:21 CST 2004


On Thu, 2004-02-26 at 07:29, Rick Romero wrote:
> On Thu, 2004-02-26 at 07:17, Ron Johnson wrote:
> > On Mon, 2004-02-23 at 10:58, Rick Romero wrote:
> > > On Mon, 2004-02-23 at 10:29, Duane Clark wrote:
> > > > Mark Burdick wrote:
> > > > > Greetings, all. Here's some quick background that may be helpful...
> > > > > I've been using Linux for almost 10 years, and am pretty comfortable
> > > > > with it (multiple distro's). I work for a Novell partner and we are
> > > > > very interested in ramping up our Linux offering since Novell just
> > > > > bought SuSE.
> > > > > 
> > > > > We are looking to replace all of our Windows servers with Linux ones,
> > > > > and the first one to do is the Terminal Server. We aren't very
> > > > > concerned about the mainstream apps (word processing, e-mail, etc.) as
> > > > > there are excellent compatibles available for Linux. Our major concern
> > > > > is with a home-grown app we use to track service calls. The program was
> > > > > written in FoxPro 2.6a.
> > > > > 
> > > > > I have installed Wine20040213-0 on my SuSE 9 machine. When I try to
> > > > > launch the app, I am getting a WATCOM popup box that says Read Error.
> > > > > 
> > > > > Can anyone at least point me in the right direction of where to start?
> > > > 
> > > > In general, to make Foxpro apps work, you must set in your 
> > [snip]
> > > 
> > > Ahhh But he said Fox 2.6.  FPD2.6 is a DOS app.  It should run just fine
> > > in Linux with the Solaris Runtime.  I have a copy on my website:
> > > http://www.havokmon.com/stuff/workstuff/prg/solarisrt/
> > > 
> > > I had written a FoxPro DOS/Unix app to dump out basic HTML on our Linux
> > > webserver.  A Foxpro DOS "Web app".  So I don't have much experience
> > > running UI stuff, but IIRC, it seemed to work alright.
> > 
> > If it's a DOS app, couldn't he use dosemu instead?
> 
> I suppose, but FoxPro 2.6 came out in both DOS and SCO Unix (sorry,
> thought it was Solaris before) versions.  An application written in DOS
> is _supposed_ to work just fine in SCO Unix.  My web apps worked just
> fine in both, I just had to adjust the paths. My app is:
> http://www.havokmon.com/stuff/workstuff/prg/funky/testitok.prg
> I developed it in Windows/DOS, and ran it on Linux with the ibcs module.
> 
[snip]
> 
> IMHO, if you can run it 'native' instead of running through any sort of
> translation at runtime, might as well go that route.. ;)

To get pedantic, it's emulation (of interrupts, BIOS, addresses,
etc), not translation, since dosemu runs on x86 boxes.  

bochs uses translation to convert x86 opcodes to those of the 
native processor.  On, say, a Linux-PPC box, you'd run bochs, and
"in" boch, you'd run DOS, and FPD2.6.

-- 
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson at cox.net
Jefferson, LA USA

The only thing that changed on 9/11 is that the dynamite that got
stuck up our ass blew our heads out of the sand.




More information about the wine-users mailing list