Live data from Hacker News

Sl: a steam locomotive in your terminal

aasen.in

31–40 of 58 posts

Re: Sl: a steam locomotive in your terminal

#32

How did you get this in the main repositories? I'm curious what the process is for something like that.

According to someone else's comment this thing is at least 20 years old. AFAIK these things go by popularity, after all any sort of game is also non-productive...

Re: Sl: a steam locomotive in your terminal

#33
post #24

> The following code changes the default behaviour of ls from listing > files to turning your terminal into an unstoppable steam locomotive. > The only way to end it is closing the terminal, so use this with caution. erm, that's easily stopped: [ctrl]+z $ pkill -9 sl

^Z will just suspend `sl`, at which point bash will immediately launch another copy. That's what the loop is for.

Re: Sl: a steam locomotive in your terminal

#35
post #24

> The following code changes the default behaviour of ls from listing > files to turning your terminal into an unstoppable steam locomotive. > The only way to end it is closing the terminal, so use this with caution. erm, that's easily stopped: [ctrl]+z $ pkill -9 sl

erm, no? "while true; sl; done"

Hold ctrl + c down, eventually sl will have quit, and bash will quit the while loop. I've never had issues quitting out of

  while true; do echo "stuff"; done
for example.

Re: Sl: a steam locomotive in your terminal

#36

I've always wondered: why is it a locomotive? Why not a penguin or something else? Just thinking aloud here: ls stands for 'list'.... so sl stands for 'tsil'.... which is a model of a train? No, that's not it. I think there's a missing part to this joke. [edit] Just stepped away from my desk and took two steps and figured it out: sl = steam locomotive

Regarding the penguin: sl(1) was originally written in 1992; Linux itself didn't hit 1.0 until 1994, and the Linux penguin itself wasn't introduced until 1996.

Re: Sl: a steam locomotive in your terminal

#38

We need one for "got"

Got, Got Milk?, Displays Got Milk? Advert. Boring GOThic, Changes terminal font to Gothic? GoT, Game of Thrones, Decapitates user?, Automatically fires up BitTorrent client and grabs latest episode? Plays ASCII art GoT episode? Cat's all of GRRM's GoT novels into your terminal? (That'll teach you).

A shitogram for modern age.

Re: Sl: a steam locomotive in your terminal

#39
post #7

When a colleague accidentally types their password to our cluster into a chat window, the first thing I do is login as them and alias ls=sl. Another fun one is to add `telnet towel.blinkenlights.nl` to their .bashrc, so on login they get to watch ascii star wars.

... and if you unset telnet's escape char, they will watch it to the end.

Re: Sl: a steam locomotive in your terminal

#40
post #2

I highly recommend the debian bug tracker on `sl`: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614158 Also, for those that love their cars "pre-tuned by german engineers", there is `gti`: http://r-wos.org/hacks/gti

There are some nice closed bugs too. Here is an argument over whether it should support ^C by default: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598992
Post reply on HN