Slashdot Mirror


Porting DOS Applications to Unix?

jgbustos asks: "I'm the manager of a small software development company. For the last five years we've been managing a communications network consisting of several thousand PC terminals which connects to an NT server over the phone lines. The terminals run a console application on a light DOS. Everything is fine so far. So what's the problem, then? We have a hard time finding parts to maintain the network. Our client says that he's willing to invest in hardware upgrades, but we should move to a Windows-like environment, however he doesn't want to pay for more than 4000 Windows licenses. What's the best alternative for porting our app to Linux/? Please bear in mind that the terminals are small PC's having 16MB RAM, less than 2GB HD, less than i586 CPU, and a 33k modem. Thanks in advance"

5 of 61 comments (clear)

  1. Should move to a windows like environmenet? by kwerle · · Score: 5, Informative

    What do you mean - they just want a GUI?

    In any case, I bet you could find a linux or BSD distro that runs small and runs a windowserver. Though you might just want to try and find a dedicated browser and go for a web solution. If the client can just dial up and PPP to you and fire up a browser, you don't even have to worry about distributing updates to your software - just updating the server.

    Really, more info about the problem domain would help...

  2. hmmm by StandardDeviant · · Score: 5, Informative

    So, do you want to port the app to a command-line form running on Linux on the current hardware? (0.02USD: ncurses, slackware) Or do you want to port the app to a GUI form running on Linux on newer hardware? (0.02USD: any number of toolkits, any number of distributions) Obviously as the second route is the greatest change, the variables are more numerous giving you a much wider of range of options to look at. I'm guessing your current programmers are C or Pascal folks? You might consider using GTK+ (GUI Lib written in C, also has bindings for FreePascal). As far as a linux distro for the more open-ended situation goes, I'd have to say debian. The install can be a bit of a pain for the uninitiated, but it more than pays back that annoyance after install becuase with the very intelligent package management system you can do stuff like point the terminals at a central server to pull updates from (e.g. roll your app in to a .deb, have terms auto-update once a week using a cron job, makes deploying patches and security updates easy as pie). Debian will also work in fairly constrained hardware environments like slackware, but it tends to be a beefier install usually.

  3. too many open ends by ka9dgx · · Score: 4, Insightful
    #1. Where is the hardware that's falling apart? If it's a server... use GHOST and copy the image of the system to a new, better, faster machine, and be done with it.

    #2. What's the DOS app, do you have source? What does the DOS app do?

    #3. Why not just roll out replacement terminals as needed, instead of en-mass? You could probably use FreeDOS instead of MS-DOS, and set up a new machine ($200 walmart variety) to do exactly what you need.

  4. Re:Parts? by JAZ · · Score: 4, Insightful

    maybe it will be easier to start over from scratch

    as we're fond of saying on my on my architecture team when folks try to fix application problems with more hardware... "$$$ will buy a lot of developement."

    I guess in this case, "4000 windows licenses would buy a lot of nice OSS code." =]

    --


    "Karma can only be portioned out by the cosmos." -- Homer Simpson
  5. Call the company that I work for by PD · · Score: 4, Informative

    We are porting specialists. We move anything to anything.

    www.sector7.com