Re:DOS is long dead, long live FreeDOS
by kijin on Tuesday February 05, 2013 @10:26PM
(#5174740)
Here's an interesting anecdote about FreeDOS.
In South Korea, a surprisingly large number of online merchants sell brand-new PCs with FreeDOS on it. FreeDOS PCs are usually around $100 cheaper than their Windows 7/8 counterparts, so these products have an advantage when the buyer uses a price comparison service.
The official story is that since most people nowadays already have a spare license of Windows from their old PC, they can just install it on their new PCs instead of buying Windows again. Of course, this is bullshit, because the "spare license" is likely to be an OEM copy that is tied to the old PC. But it doesn't matter, because everyone understands that you're supposed to install a pirated copy of Windows on your FreeDOS PC. So for tech-savvy Korean consumers, FreeDOS just means pirated Windows. A rather unpalatable association for a piece of free software to have, IMO.
On the other hand, if you actually install a legitimate copy of Windows, you get to enjoy a complete lack of bloatware that manufacturers usually impose on PC buyers. The PC comes with a CD that contains the necessary device drivers and nothing else.
Re:DOS is long dead, long live FreeDOS
by dredmorbius on Wednesday February 06, 2013 @03:14AM
(#5175440)
Not just South Korea.
In the US, it's possible to buy "no OS" systems from some vendors (I've picked up small form-factor systems this way), which on delivery turn out to have FreeDOS installed.
Load your preferred Linux distro and roll. Or something like that.
Re:DOS is long dead, long live FreeDOS
by yuhong on Wednesday February 06, 2013 @12:16AM
(#5174996)
I wonder why it would be $100 cheaper. OEMs are supposed to get a discount. But yea, the exchange rates etc are why MS provides geographically restricted versions of Windows.
Re:DOS is long dead, long live FreeDOS
by bad_user on Wednesday February 06, 2013 @01:39AM
(#5175215)
It's not just in South Korea. It happens in Romania/Europe too and in fact PCs with Windows bundled sometimes are $200 more expensive.
Microsoft may or may not have anything to do with it. It might be that these PC manufacturers provide Windows for their more expensive models as a way for differentiating them from the cheaper ones. Also not all manufacturers get the same deal.
For example I bought a Thinkpad E530 without Windows on it. The other model that was available to me had the same specs, plus an extra 16 GB SSD mSata and Windows and was $270 more expensive. I got the cheaper model and I replaced the hard-drive with a 256 GB SSD, which was a far better deal.
Personally I'm glad that this happens, because I don't run Windows and it would be pretty bad if I had to pay the Windows tax.
Re:DOS is long dead, long live FreeDOS
by shared4you on Wednesday February 06, 2013 @03:15AM
(#5175441)
This happens in India as well. I've seen my friends get a DOS laptop, either install Ubuntu (or some distro) or pirated Windows. You get to save upto ₹5000/-
Re:DOS is long dead, long live FreeDOS
by astral303 on Tuesday February 05, 2013 @11:49PM
(#5174934)
Oh man, this tugs on all sorts of sentimental DOS strings. Especially that first phrase about people under 30 not knowing what DOS is.
When was the last time you have used the B: drive?
Anyway, an interesting thing is that growing up in Russia, using DOS, we were all gung-ho about using Norton Commander and its clones, such as DOS Navigator, to supplement the vanilla command-line DOS experience.
And I'm telling you, it was oh such a great experience, that to this day, I still wonder how I manage to get by in my vanilla command line bash shell. Sure, all the auto-complete tricks are insanely useful (and maybe that's all we really needed?), but I recall the whole two-directory layout was super useful in being able to move files around and do quick edits and what not. Midnight Commander just doesn't do it for me. I tried FAR Manager on Windows, and also no dice. They all feel heavy and not as natural.
To put it into perspective, anyone who's really really into VIM, think about how you love how fast you can be with VIM, despite the obscure key combinations and the modal overhead (haha, bias showing?). Anyway, think about how once you get used to all that power, you wonder how you can survive without it anywhere else. That's what using Norton Commander /DOS Navigator was like in MS-DOS. Using a Solaris/HP-UX command line circa 1998 felt like going back to stone age.
Re:DOS is long dead, long live FreeDOS
by thristian on Wednesday February 06, 2013 @02:45AM
(#5175349)
I was a Norton Commander fan back in the days of DOS, and so when I moved to Linux, I've always had a soft-spot for Midnight Commander... just, you know, not enough to actually use it for anything.
It's always puzzled me that Norton Commander was so indispensable for DOS, but Midnight Commander is not so useful under Linux. I think the reason is just that the file-management I do these days is very different from what I needed to do under DOS; I don't have to copy files around to or from floppies to transfer them, nor do I have to shuffle files around from one partition to another to maintain enough disk space. I don't even have to navigate between all the different directories where my apps are installed, because in Linux they're all on my $PATH.
Using MC, I really miss bash's tab-completion (Esc-Tab completion isn't the same) although ^S incremental search helps. The NC copy/move/rename dialogs are really designed around the MS-DOS semantics of filename globbing (under DOS, you can say "copy .doc .bak" to make a backup of every document, but "cp .doc .bak" does something very different in Linux), so coping/moving/renaming files in Midnight Commander feels weird.
I dunno, I want to like Midnight Commander, but I just think it's a brilliantly-designed user-interface for solving problems that don't exist, or don't exist in the same form, as they did in MS-DOS.
Re:DOS is long dead, long live FreeDOS
by dredmorbius on Wednesday February 06, 2013 @03:18AM
(#5175447)
As someone who dislikes GUI file navigators, the two uses I find for MC are as a file archive explorer and for remote file operations. MC will open tarballs of various compression variants, ar archives, etc., and in particular, RPM and DEB files). Want to dig out something without expanding and digging through the archive? Use MC.
Similarly, you can access remote systems (via ssh) as if they were local, though I'll more often use lftp's fish:// protocol. Or lately, sshfs.
Which I suppose more or less makes your point that under Linux these are mostly solved problems.
Re:DOS is long dead, long live FreeDOS
by mkhattab on Wednesday February 06, 2013 @12:19AM
(#5175003)
> Oh man, this tugs on all sorts of sentimental DOS strings. Especially that first phrase about people under 30 not knowing what DOS is.
I'm under 30 (28) and I still remember DOS and breaking (running arbitrary commands on) my Dad's work laptop, that he never used. The single greatest benefit of FreeDOS is letting me play my old games, specifically "Are You Afraid of the Dark? The Tale of Orpheo's Curse."[1] This is, still, one of the most entertaining games I've played. I replay the game every year or two as a personal tradition. Some day I'll force my kids to play it.
Re:DOS is long dead, long live FreeDOS
by pavel_lishin on Wednesday February 06, 2013 @12:27AM
(#5175020)
> growing up in Russia, using DOS, we were all gung-ho about using Norton Commander and its clones
One of my earliest memories is my grandmother teaching me "нц" (nc, apparently the Norton Commander binary) so I could navigate my way to Tetris. (Yes, we're that stereotypical.)
Re:DOS is long dead, long live FreeDOS
by pjmlp on Wednesday February 06, 2013 @02:16AM
(#5175291)
> Oh man, this tugs on all sorts of sentimental DOS strings. Especially that first phrase about people under 30 not knowing what DOS is.
Not only that, youth generation seems not able to separate the distintion between programming languages and their implementations.
They all think a strong type language (a la Pascal/Ada) with GC needs can only exist in a VM, dynamic languages (a la Lisp) cannot be compiled to native code or C like languages are always compiled to native code.
I tend to think we were able to grasp these subjects much better.
Re:DOS is long dead, long live FreeDOS
by derleth on Wednesday February 06, 2013 @02:22AM
(#5175309)
> Not only that, youth generation seems not able to separate the distintion between programming languages and their implementations.
To be fair, this has always been true. Look at the old idea "Lisp is Slow", which is literally nonsense once you gain the ability to separate language from implementation.
Re:DOS is long dead, long live FreeDOS
by bad_user on Wednesday February 06, 2013 @01:49AM
(#5175237)
My first computer had DOS 6.22 and Windows for Workgroups 3.11 on it.
I was a Norton Commander user, however I do not have such fond memories of it. Yes it was more efficient than navigating and doing stuff at the raw command line, but that's only because the command-line in DOS and Windows completely sucks in all ways imaginable.
Nowadays my command-line only feels limiting whenever I want thumbnails on my files ... like when searching for a PDF, or rearranging my photos folder. In such instances NC would be useless anyway.
Re:DOS is long dead, long live FreeDOS
by Tekker on Tuesday February 05, 2013 @07:45PM
(#5174282)
I have Windows 7 and still work in the DOS box daily. First tried DOS 1.0, have been using it consistently since 3.0, and it really took off after 5.0 (was a beta tester for DOS 5.0). Can't imagine functioning in Windows without DOS/command prompt, although I know it sucks, functionality-wise compared to Linux command shell.
Re:DOS is long dead, long live FreeDOS
by damian2000 on Tuesday February 05, 2013 @08:03PM
(#5174331)
I could be wrong, but I think the command prompt (cmd.exe) is just a command shell sitting on windows SDK calls. There's lots of the DOS-typical commands still in there, but its not DOS as such.
Re:DOS is long dead, long live FreeDOS
by justin66 on Wednesday February 06, 2013 @08:13PM
(#5179940)
This gets tricky. In windows 7 32-bit, you'll have cmd.exe and a DOS execution environment which will run a lot of actual DOS binaries. It's not as great or flexible as DOSBox because it can't give you access to actual (or simulated) hardware, which a lot of DOS programs demand, but it works for many things.
In windows 7 64-bit, you've got cmd.exe but no execution of DOS binaries (or win16 binaries, for that matter). Since you're almost always better off with DOSBox or the XP virtual environment, no great loss.
Re:DOS is long dead, long live FreeDOS
by malkia on Tuesday February 05, 2013 @09:47PM
(#5174641)
That's not really DOS, but the command-line (shell). A little geek cries in me, everytime coworker calls it DOS (I loved the DOS back in the days... Anyone remmember unreal mode, DOS4GW, Quemm, Process Killer, etc.)
Re:DOS is long dead, long live FreeDOS
by cantankerous on Tuesday February 05, 2013 @09:29PM
(#5174586)
As much as I don't want to, I think I need to point out that Cygwin has been so much of a bother to me that I now find it more convenient to just install Linux inside Virtual Box as a better free alternative. Cygwin was good before all these virtualization tools became so available, but now I find it incredibly frustrating and lacking compared to a traditional Linux OS, which is easily accessible now from a Windows environment.
EDIT: Console2 is nice, though. I can get behind that.
Re:DOS is long dead, long live FreeDOS
by nikatwork on Wednesday February 06, 2013 @01:15AM
(#5175136)
I do agree, Cygwin is a nice fallback position though. Eg I can't use a Linux VM here at work because my local PC has bugger all memory and besides, their security policy won't allow it. (Don't try and apply logic, it's a megacorp).
Re:DOS is long dead, long live FreeDOS
by malkia on Tuesday February 05, 2013 @09:48PM
(#5174643)
I use cygwin but with FAR Commander (midnight commander-like app for the console mode of Windows). Sometimes I use it under the CMD.exe shell, but I have an additional one that uses the /bin/bash.exe as one (from cygwin).
Re:DOS is long dead, long live FreeDOS
by DeepDuh on Tuesday February 05, 2013 @10:01PM
(#5174667)
As someone so experienced with DOS, may I ask you something: Which script interpreters do you run from it? Is it sane for doing python development for example? And how do you glue that stuff together, using batch files? Isn't that ugly as hell?
One thing that I've come so accustomed to in unix environments is the ease of creating CLI tools in a nice language like python and then glue it all together with bash scripts. I can't really imagine being so productive in DOS, but maybe I just don't know it enough, hence the question.
Re:DOS is long dead, long live FreeDOS
by mixmastamyk on Tuesday February 05, 2013 @11:48PM
(#5174929)
It isn't DOS, DOS was an operating system. You're probably thinking of the Windows Command prompt, with a shell that is a descendant of command.com.
To your question, it is just as easy to write console Python tools in Windows as it is under Unix. I've written quite a few work on both.
Glue scripts (Batch files) are just fine too, as long as you don't try to do too much with them. When something gets too complex, move that part to Python, or really any language you like. To be honest I like that, I'd prefer people not write complex things in shell scripts that could be done more elegantly in a programming language.
Re:DOS is long dead, long live FreeDOS
by alayne on Tuesday February 05, 2013 @10:41PM
(#5174765)
If you enjoy Unix shells, you will probably hate PowerShell. I use a bunch of GNU utilities compiled for Windows that are probably about ten years old. Cygwin is too much effort for an unnatural feeling environment and PowerShell was designed by people who may have been exposed to harmful influences such as the VAX DCL.
Re:DOS is long dead, long live FreeDOS
by talaketu on Wednesday February 06, 2013 @02:01AM
(#5175255)
You already can. Shell redirection just connects file descriptors - they don't need to be text files.
Maybe what you mean, is you want a terminal that can display a number of well-know content-types, negotiate with an upstream process for the content, receive that as a stream of bytes, for display to the user. :)
Re:DOS is long dead, long live FreeDOS
by laurent123456 on Tuesday February 05, 2013 @09:14PM
(#5174546)
I'm not sure what makes them say that DOS is dead. There are and there will always be plenty of command line tools on Windows, so there's no way Microsoft is going to completely remove the shell.
Re:DOS is long dead, long live FreeDOS
by malkia on Tuesday February 05, 2013 @09:45PM
(#5174637)
But that's the command-line shell (it's a 32-bit Windows process), not 16-bit DOS with optional Extended/unreal mode. This is no longer supported since XP (one of the reasons to keep XP, or have it installed as Windows XP mode on Windows Vista, 7, etc.).
There are plenty of good games for DOS that I still play - Heroes of Might And Magic, Star Control, Archon, Alley Cat, Digger, many others.
Re:DOS is long dead, long live FreeDOS
by justin66 on Wednesday February 06, 2013 @08:20PM
(#5179963)
> But that's the command-line shell (it's a 32-bit Windows process), not 16-bit DOS with optional Extended/unreal mode. This is no longer supported since XP (one of the reasons to keep XP, or have it installed as Windows XP mode on Windows Vista, 7, etc.).
I'm not 100% sure, but 99%, that you'll find that it's still supported in the 32-bit versions of Vista and 7.
In South Korea, a surprisingly large number of online merchants sell brand-new PCs with FreeDOS on it. FreeDOS PCs are usually around $100 cheaper than their Windows 7/8 counterparts, so these products have an advantage when the buyer uses a price comparison service.
The official story is that since most people nowadays already have a spare license of Windows from their old PC, they can just install it on their new PCs instead of buying Windows again. Of course, this is bullshit, because the "spare license" is likely to be an OEM copy that is tied to the old PC. But it doesn't matter, because everyone understands that you're supposed to install a pirated copy of Windows on your FreeDOS PC. So for tech-savvy Korean consumers, FreeDOS just means pirated Windows. A rather unpalatable association for a piece of free software to have, IMO.
On the other hand, if you actually install a legitimate copy of Windows, you get to enjoy a complete lack of bloatware that manufacturers usually impose on PC buyers. The PC comes with a CD that contains the necessary device drivers and nothing else.
In the US, it's possible to buy "no OS" systems from some vendors (I've picked up small form-factor systems this way), which on delivery turn out to have FreeDOS installed.
Load your preferred Linux distro and roll. Or something like that.
Microsoft may or may not have anything to do with it. It might be that these PC manufacturers provide Windows for their more expensive models as a way for differentiating them from the cheaper ones. Also not all manufacturers get the same deal.
For example I bought a Thinkpad E530 without Windows on it. The other model that was available to me had the same specs, plus an extra 16 GB SSD mSata and Windows and was $270 more expensive. I got the cheaper model and I replaced the hard-drive with a 256 GB SSD, which was a far better deal.
Personally I'm glad that this happens, because I don't run Windows and it would be pretty bad if I had to pay the Windows tax.
When was the last time you have used the B: drive?
Anyway, an interesting thing is that growing up in Russia, using DOS, we were all gung-ho about using Norton Commander and its clones, such as DOS Navigator, to supplement the vanilla command-line DOS experience.
And I'm telling you, it was oh such a great experience, that to this day, I still wonder how I manage to get by in my vanilla command line bash shell. Sure, all the auto-complete tricks are insanely useful (and maybe that's all we really needed?), but I recall the whole two-directory layout was super useful in being able to move files around and do quick edits and what not. Midnight Commander just doesn't do it for me. I tried FAR Manager on Windows, and also no dice. They all feel heavy and not as natural.
To put it into perspective, anyone who's really really into VIM, think about how you love how fast you can be with VIM, despite the obscure key combinations and the modal overhead (haha, bias showing?). Anyway, think about how once you get used to all that power, you wonder how you can survive without it anywhere else. That's what using Norton Commander /DOS Navigator was like in MS-DOS. Using a Solaris/HP-UX command line circa 1998 felt like going back to stone age.
It's always puzzled me that Norton Commander was so indispensable for DOS, but Midnight Commander is not so useful under Linux. I think the reason is just that the file-management I do these days is very different from what I needed to do under DOS; I don't have to copy files around to or from floppies to transfer them, nor do I have to shuffle files around from one partition to another to maintain enough disk space. I don't even have to navigate between all the different directories where my apps are installed, because in Linux they're all on my $PATH.
Using MC, I really miss bash's tab-completion (Esc-Tab completion isn't the same) although ^S incremental search helps. The NC copy/move/rename dialogs are really designed around the MS-DOS semantics of filename globbing (under DOS, you can say "copy .doc .bak" to make a backup of every document, but "cp .doc .bak" does something very different in Linux), so coping/moving/renaming files in Midnight Commander feels weird.
I dunno, I want to like Midnight Commander, but I just think it's a brilliantly-designed user-interface for solving problems that don't exist, or don't exist in the same form, as they did in MS-DOS.
Similarly, you can access remote systems (via ssh) as if they were local, though I'll more often use lftp's fish:// protocol. Or lately, sshfs.
Which I suppose more or less makes your point that under Linux these are mostly solved problems.
I'm under 30 (28) and I still remember DOS and breaking (running arbitrary commands on) my Dad's work laptop, that he never used. The single greatest benefit of FreeDOS is letting me play my old games, specifically "Are You Afraid of the Dark? The Tale of Orpheo's Curse."[1] This is, still, one of the most entertaining games I've played. I replay the game every year or two as a personal tradition. Some day I'll force my kids to play it.
[1]: http://www.youtube.com/watch?v=rj4gsrXUjA4
One of my earliest memories is my grandmother teaching me "нц" (nc, apparently the Norton Commander binary) so I could navigate my way to Tetris. (Yes, we're that stereotypical.)
Not only that, youth generation seems not able to separate the distintion between programming languages and their implementations.
They all think a strong type language (a la Pascal/Ada) with GC needs can only exist in a VM, dynamic languages (a la Lisp) cannot be compiled to native code or C like languages are always compiled to native code.
I tend to think we were able to grasp these subjects much better.
To be fair, this has always been true. Look at the old idea "Lisp is Slow", which is literally nonsense once you gain the ability to separate language from implementation.
I was a Norton Commander user, however I do not have such fond memories of it. Yes it was more efficient than navigating and doing stuff at the raw command line, but that's only because the command-line in DOS and Windows completely sucks in all ways imaginable.
Nowadays my command-line only feels limiting whenever I want thumbnails on my files ... like when searching for a PDF, or rearranging my photos folder. In such instances NC would be useless anyway.
http://www.pixelbeat.org/misc/dosbox/
http://www.naclbox.com/
In windows 7 64-bit, you've got cmd.exe but no execution of DOS binaries (or win16 binaries, for that matter). Since you're almost always better off with DOSBox or the XP virtual environment, no great loss.
Also, Console2 makes working with the cmd prompt slightly more bearable (easier copy and paste etc).
EDIT: Console2 is nice, though. I can get behind that.
One thing that I've come so accustomed to in unix environments is the ease of creating CLI tools in a nice language like python and then glue it all together with bash scripts. I can't really imagine being so productive in DOS, but maybe I just don't know it enough, hence the question.
To your question, it is just as easy to write console Python tools in Windows as it is under Unix. I've written quite a few work on both.
Glue scripts (Batch files) are just fine too, as long as you don't try to do too much with them. When something gets too complex, move that part to Python, or really any language you like. To be honest I like that, I'd prefer people not write complex things in shell scripts that could be done more elegantly in a programming language.
(Disclaimer: not the OP)
Sadly, DCL had (some) use beyond VMS: http://en.wikipedia.org/wiki/DIGITAL_Command_Language
Maybe what you mean, is you want a terminal that can display a number of well-know content-types, negotiate with an upstream process for the content, receive that as a stream of bytes, for display to the user. :)
There are plenty of good games for DOS that I still play - Heroes of Might And Magic, Star Control, Archon, Alley Cat, Digger, many others.
I'm not 100% sure, but 99%, that you'll find that it's still supported in the 32-bit versions of Vista and 7.
DOS is the whole OS you boot in to.