Modem TX and RX status via Num Lock-Caps Lock-Scroll Lock

Modem TX and RX status via Num Lock-Caps Lock-Scroll Lock

Post by Rod Tro » Tue, 08 Nov 1994 05:15:25



'Netters,

A time ago someone asked about implementing their Num Lock, Caps Lock,
and Scroll Lock keyboard lights as a modem transmit and receive status
indicator.  

Has anyone accomplished this?  If so, is the code at an archive site?

-Rod
--
-----------
If you yell try : Rod Troch                  | Zeta Beta Tau

Pgp key available upon request.              | happyHappy joyJoy
         Don't mess with TEXAS. (Lonestar - A Linux box)

 
 
 

1. how to get the status of num, caps, scroll lock?

hi,

do you know how to get the status of num, caps, scroll lock? i am
writing a program which changes the LEDs on keyboard. after exiting the
program, i need to restore the original state of LEDs. would you tell me
which function in C can achieve this?

thx a lot!!

p.s. i use setledstate() in /usr/src/linux/drivers/char/keyboard.c to
set the LEDs in my program.

--
- By Hackker
****************************************************
  Mr. Hackker Wong,
  Y99 Student of Computer Science,
  The Chinese University of Hong Kong.
****************************************************
 -The World can't run without computer technicians-

2. Have two keyboards at the same time

3. Name of TCP control block list head (2.3)

4. CAPS lock and NUM lock

5. IP_ALIAS not working: ifconfig returns "SIOCAIFADDR: Invalid argument"

6. Reset Keyboard? (caps lock/num lock)

7. .tar.gz

8. netscape rpm from compaq + my box = lock lock lock

9. Num Lock key locks dtwm

10. caps lock -> fn lock modification possible?

11. Caps lock locks 5.0.0

12. : Caps Lock key locks keyboard