Register
It is currently Mon Nov 24, 2014 4:41 pm

Knight Industries Two Thousand (KITT)


All times are UTC - 6 hours


Post new topic Reply to topic  [ 1 post ] 
Author Message
 PostPosted: Mon Sep 04, 2006 2:02 am   
User avatar

Joined: Sat Sep 02, 2006 10:19 am
Posts: 13
Location: United Kingdom
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?? :P


Top
 Profile WWW ICQ  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP