#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <linux/kd.h>
#include <sys/utsname.h>
#include <signal.h>
#include <unistd.h>
const char *banner =
"sifled v0.4 - (c)2001-2002 Martin Pot <m.t.pot@ieee.org>\n"
"(based on ifled 0.6 by Mattias Wadman <napolium@sudac.org>)\n"
"This program is distributed under the terms of GPL.\n";
const char *help =
"%sUsage: %s tty interface [options]\n"
"\ttty\t\tTty to flash LEDs on, use \"console\" for current.\n"
"\tinterface\tInterface to monitor, for example: eth0\n"
"Options:\n"
"\t-c crt\t\tLED config 3 chars, num, caps and scroll-lock.\n"
"\t\t\tr = Receive t = Transmit\n"
"\t\t\tu = Drop (receive) i = Drop (transmit)\n"
"\t\t\tj = Error (receive) k = Error (transmit)\n"
"\t\t\tReceive or transmit:\n"