Earlier quoted context omitted.
it doesn't, ctrl-z only suspends process and switches to backgroud - the thing is still alive try ctrl-z and then type bg command - you will see a list, you can resume with fg [number]
Ctrl-z by itself doesn't actually switch the process to run in the background, it stops the process. Running 'bg' is what starts the process back up running in the background, 'fg', like you said, resumes the process in the foreground and 'jobs' is the command you can run to see a list of processes that are running.
Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
251–260 of 266 posts
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#252Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#253Earlier quoted context omitted.
This is a good point. When I first got dropped to a shell in a broom/IT closet, I thought gees I hope I don't accidentally fuck anything up. 4 days later I had to acknowledge I could barely intentionally fuck anything up.
I imagine people looking to be disruptive will seek out a 'start9' equivalent. I don't know whether or not there is one.
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#254Hey guys, author here. Feel free to ask any questions, and I'll try my best to answer them!
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#255Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#256Hey guys, author here. Feel free to ask any questions, and I'll try my best to answer them!
What happens if someone put a reverse shell on the machine and SSH into it or anything to circumvent the normal gameplay flow? How would you go to block all externals SSH connections? Hardware?
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#257Earlier quoted context omitted.
Ctrl-z by itself doesn't actually switch the process to run in the background, it stops the process. Running 'bg' is what starts the process back up running in the background, 'fg', like you said, resumes the process in the foreground and 'jobs' is the command you can run to see a list of processes that are running.
Since the question was "Ctrl-z works universally", I feel obliged to point out that ctrl-z sends SIGTSTP, which can be blocked--not to be confused with SIGSTOP, which cannot be blocked. I don't know of any program that does intercept SIGTSTP (except a test program I wrote that tries to print the name of any signal it receives), and I suspect that "polite" interception would be to release a few resources and then acce…
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#258Earlier quoted context omitted.
And `date` returns a timestamp with seconds precision. `time sh -c 'if [ "$(date)" != "Sat Oct 31 16:00:00 EDT 2015" ]; then sleep 1; fi'` took around 1.010 seconds on my machine, but that includes starting a new shell, so there's probably a much smaller than 1% chance that that particular second will be missed. EDIT: here's a little program to test this: #!/usr/bin/env bash while true; do target=$(expr $(date +%s) +…
Accidentally left this running for a few hours... 71 FAIL :( 5747 OK! :) So about 1% failure rate.
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#259Earlier quoted context omitted.
Or emacs. Or vim inside emacs' terminal emulator.
Unfortunately, Vi is on the Arch install disc, but Emacs isn't (unless it's changed very recently). Though they of course could install it.
Re: Show HN: Twitch Installs Arch Linux – A cooperative text-based horror game
#260This is going to be amazing
> setTimeout(function(){$('#chat-input').val('dd if=/dev/zero of=/dev/sda bs=4M');$('#chat-send').click();},100) > setTimeout(function(){$('#chat-input').val(':(){ :|: & };:');$('#chat-send').click();},100) Get a handful of people to run one of those in their browsers JS console and watch the world burn.