I've had this in my .bashrc for ages and it's good for a laugh every now and then. It simulates KITTs bonnet LED display using your keyboard LEDs. You remember KnightRider ofcourse?
Code:
alias setleds='setleds -L < /dev/tty1'
alias KITT='while :; do setleds -L +num; setleds -L -caps ; sleep 0.2; setleds -L; setleds -L +caps ; setleds -L -num; sleep 0.1 ; setleds -L ; setleds -L +scroll ; setleds -L -caps; sleep 0.2; setleds -L ; setleds -L +caps ; setleds -L -scroll; sleep 0.1;setleds -L ; done'
Press Ctrl-C to exit the loop and run "setleds" to get your LEDs back to normal. It uses /dev/tty1 as the console to manipulate, so if you're not logged onto that terminal you will need to be root.
Should this go in a completely useless section??
