3 ms·
Perhaps I missed it in the FAQ, but how do you turn it off? CTRL+C? I understand that you're aiming for simplicity here, but it would be handy to have a menub
by kaffeinecoma 15y ago
Perhaps I missed it in the FAQ, but how do you turn it off? CTRL+C?
I understand that you're aiming for simplicity here, but it would be handy to have a menubar icon (or whatever is appropriate for the given platform) to indicate that it's running or not.
Or maybe you actually have that, but it's not clear that you do from the website.
- dpritchett 15y agoCtrl-C doesn't do it for you?
- kaffeinecoma 15y agoPresumably, but I haven't tried running it. I'd kind of like to know how to turn off something that's going to do port-forwarding on my machine before starting it up.
- dpritchett 15y agoThe /usr/bin/show script simply locates the gem and runs it in a Ruby process. You can kill it like any other console program. Inspect the gem if you're curious. The interesting part of the gem starts off like this: def showoff(rhost, rport, lport=80, host='localhost') @session.forward.remote lport, host, rport [1] http://rubygems.org/gems/showoff-io http://rubygems.org/gems/showoff-io
- bobwaycott 15y agoA menubar icon (assuming you're meaning Mac OS (or any OS really)) is not something you get from a simple shell script, typically. Please correct me if I'm wrong.
- bxr 15y agoNormally a gui tool doesn't advertize how you invoke it from the commandline, but there are plenty of cases where the command-line invoked application doesn't retain the foreground while running. This tool is probably non-interactive at the console, I have zero expectation that it won't fork off into the background.