On Thu, 2002-02-21 at 10:57, Howard Lowndes wrote:
> On some boxen running KDE when I run setleds +num I get:
> KDGETLED: Invalid argument
> Error reading current led setting. Maybe stdin is not a VT?
> 
> Any ideas?

Unless you are running this command from a virtual terminal (tty0-ttyXXXX),
chances are it wont work. setleds uses an ioctl (KDGETLED)on the file descriptor
for stdin, and whatever is driving stdin responds as best it can. The tty
devices know how to respond to KDGETLED, most other things ptys, pts, etc
will return the above error (invalid argument).

Cheers,
  Malcolm V.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to