News for hackers. Stuff that matters.
Re:Dwarf Fortress starting during apt-get upgrade by giancarlostoro on Wednesday August 16, 2017 @01:17AM (#15025113)
When I did my first few programming courses we were using C and on Windows, and using system("pause"); was our way of keeping cmd from closing. So as a joke over the years I've made a pause script for Linux in Python, Perl and even bash just so I can make such code valid.

But putting a whole game in place of a standard Linux util sounds like awesome menace, reminds me of the sl command (steam locomotive) which you can install on Debian (and maybe other distros?) for those who may typo ls they'll get a fun surprise :)

Re:Dwarf Fortress starting during apt-get upgrade by pawadu on Wednesday August 16, 2017 @04:25AM (#15025826)
wasnt getc() available on windows?
Re:Dwarf Fortress starting during apt-get upgrade by Const-me on Wednesday August 16, 2017 @05:52AM (#15026217)
It was and still is, the name is _getch() from <conio.h>

However, I can see how for a beginner programmer system("pause"); is more intuitive than printf/_getch() combo. Especially if said programmer is already familiar with windows shell and its commands.

Re:Dwarf Fortress starting during apt-get upgrade by c0nfused on Wednesday August 16, 2017 @03:31PM (#15030438)
sl also starts for LS too in case you have capslock on.