5 ms·
I'm really sad about this. I grew up with useless crappy windows games and messing around in the DOS prompt. I love the fact that I'm still using it. I know b
by icc97 10y ago
I'm really sad about this. I grew up with useless crappy windows games and messing around in the DOS prompt.
I love the fact that I'm still using it.
I know batch file programming is ridiculous, some of the most mental looking code I've written is part of that. But I get some masochistic pleasure from using it, I've automated tons of my work through it. Much cudos goes to Rob van der Woude's batch scripting site [1].
But finally, finally they did some really nice updates to the DOS prompt in Windows 10 so that it fills the screen properly and line wraps correctly.
In the DOS prompt I've got:
- SSH (natively compiled)
- Pretty much all the linux command tools I want grep, cat, sed etc (thanks be to Git SCM and all it's precursors e.g. GOW)
- Vim
- Lovely consolatas mono font - which gives lovely crisp font rendering - better than any of the DOS 'replacements'
- Rather lovely Solarized dark colours
- GNU Readline [2] (hitting tab gets you a slash at the end of the directory, yay!)
- Chocolatey package management
Seriously, the DOS prompt can be quite lovely to use [3]
I know Powershell is all shiny and new with added .net up it's arse, but I don't need it and it's not what I was typing in as I grew up. I even went about changing all my .bat files to .cmd files to be ultra modern this year.
I think there'd be uproar in the Linux world if bash was 'put out to pasture' (reminds me of the horse in Animal Farm) as is happening to DOS.
[1]: http://www.robvanderwoude.com/
[2]: http://mridgers.github.io/clink/
[3]: https://dl.dropboxusercontent.com/u/7765571/images/screenshots/dos.png
- voycey 10y agoCare to share what tools you installed all of that with? I think you can still do all of that in Powershell...
- icc97 10y agoI'm sure you can do it all with Powershell, I just don't want to switch :) But as for getting it all installed, it's pretty easy: 1. Chocolatey [1] 2. Git chocolatey package [2] (gives GNU tools, SSH - there is also a separate OpenSSH package from MS [6]) 3. Vim chocolatey package [3] 4. Consolas font (just change the DOS window properties) 5. Solarized colours [4] 6. GNU Readline (clink) [5] [1]: https://chocolatey.org/install [2]: https://chocolatey.org/packages/git [3]: https://chocolatey.org/packages/vim [4]: https://github.com/neilpa/cmd-colors-solarized/ [5]: http://mridgers.github.io/clink/ [6]: https://chocolatey.org/packages/openssh Edit: fixed formatting, added OpenSSH package link
- voycey 10y agoYeah I think I need to get on board with this Choco thing - I looked at it a few years back but its app support was poor at best!
- icc97 10y agoI use it for pretty much everything - I forgot to say, even clink I mentioned above I installed via Chocolatey. You do occasionally have issues that the Chocolatey package isn't up to date, but it's mostly pretty good. Here's the list of packages I installed with it: 7zip 16.02 7zip.install 16.02 autohotkey.portable 1.1.24.00 chocolatey 0.9.10.3 chocolatey-uninstall.extension 1.1.0 chromium 54.0.2801.0 clink 0.4.7 DotNet3.5 3.5.20160716 dropbox 5.4.24 Emacs 24.5.0.20150611 evince 2.32.0.145 f.lux 3.10 FBReader 0.12.10.1 git 2.9.0 git.install 2.9.0 googledrive 1.29.2074.1528 greenshot 1.2.8.12 haskell-stack 1.1.2 keepass 2.34 keepass.install 2.34 keepass-keepasshttp 1.8.4.1 libreoffice 5.1.4 LightTable 0.8.1 mediamonkey 4.1.12 meld 3.16.0 mm-choco.extension 0.0.1 MsSqlServer2012Express 11.00.3000.20140928 nodejs 6.3.0 nodejs.install 6.3.0 nsis-unicode 2.46.5 Octave 3.6.4 openvpn 2.3.11 paint.net 4.0.6 pandoc 1.17.1 poedit 1.8.7 postgresql-9.3 9.3.5.3