1. Dos vs CMD

Having just come to openEuphoria, I'm a little confused by this business about V4 not supporting DOS. Are we saying that V4 does not support stuff that only applies to a DOS environment, or are we saying that writing code to run in a "DOS Window" in XP (say) is deprecated as well? Or something else?

Am I safe to keep on developing code that runs in a cmd.exe "DOS window" in XP?
What DOS functionality has actually been dropped?

Smudger

new topic     » topic index » view message » categorize

2. Re: Dos vs CMD

smudger said...

Having just come to openEuphoria, I'm a little confused by this business about V4 not supporting DOS. Are we saying that V4 does not support stuff that only applies to a DOS environment, or are we saying that writing code to run in a "DOS Window" in XP (say) is deprecated as well? Or something else?

Am I safe to keep on developing code that runs in a cmd.exe "DOS window" in XP?
What DOS functionality has actually been dropped?

The DOS environment is no longer supported. This (off the top of my head) means stuff like the pixel drawing functions and DOS interrupts and direct hardware access.

DOS happens to be a command line environment by default, but that's a totally separate issue, and command line programming is absolutely supported in Windows (as in every other supported OS). Nearly all of the demos, for instance, are meant to be run from the command line, or in a console, at any rate.

Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: Dos vs CMD

Gotcha, thanks.

Smudger

new topic     » goto parent     » topic index » view message » categorize

4. Re: Dos vs CMD

I would rather call it "text mode", since there are text-mode terminals available regardless of OS. This eliminates the misleading connection with the old Disk Operating System.

Euphoria doesn't work with DOS, just like it doesn't work with GEOS (Commodore 64 os), or the TRS-80 or Kaypro II.

Euphoria does work, however, on the 3 or 4 most common OS's now available - in text-mode.

new topic     » goto parent     » topic index » view message » categorize

5. Re: Dos vs CMD

irv said...

Euphoria does work, however, on the 3 or 4 most common OS's now available - in text-mode.

Out of the box we support:

Windows, Linux, FreeBSD, OpenBSD, NetBSD and OS/X. Porting to another platform that supports GCC is pretty simple. Euphoria has run on a few other platforms as well for the fun of it but no one to really do routine testing of those platforms so they are not listed as supported any longer.

Jeremy

new topic     » goto parent     » topic index » view message » categorize

6. Re: Dos vs CMD

There is indeed a great deal of confusion about DOS and the command line (CMD). Many people think they are the same thing. But this is not the case.

DOS refers to an operating system, as does Windows and Linux. DOS is an old OS that was abandoned by most developers long ago. There is no DOS in any modern OS and there hasn't been for a long time. Modern versions of Windows (except 64 bit) provide an emulated environment in which well written DOS applications can run. The level of support is dropping with each new version of Windows and will no doubt soon disappear entirely.

The default user interface to DOS is command.com which is a command line environment.

Windows of course is a much newer OS and is under continual development. It also has a command line interface provided by cmd.exe, which happens to look much like command.com.

The DOS OS is no longer supported by Euphoria. The time and effort required to do so was out of all proportion to the number of people that were using it. And that number was only going to drop.

Euphoria continues to support the command line interface in the Windows OS (CMD), as well as Linux and OSX. A number of important enhancements were added with Euphoria 4 and there is little doubt more will be added in later versions.

DOS is a dying OS but the command line will likely be around for many more years.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu