Hacker News new | ask | show | jobs
by bigjump 1054 days ago
The simple pranks are the best.

We just used to add an alias for 'ls' which introduced a subtle, but ever increasing delay each time it was run.

1 comments

Debian also comes with the package 'sl' that can be amusing. At first at least.
I seldomly mistype ls as sl but it always makes me smile when it happens. It also doesn't bothers me because you can quickly circumvent it by sending sl to background with ctrl+z and deal with it later...

But now that I think about it I wonder if you can prevent the job manager from back-grounding a task, would be quite the addition to sl heheh.

You can handle the TSTP signal to stop that.

However, it still leaves ABRT on the table that can be with ctrl-4 and ctrl-\. For that you'd need to disable the binding e.g. with stty and then handle TSTOP the same way I suppose—or just put it in raw mode.