2 * setvesablank.c - aeb - 941230
4 * usage: setvesablank ON|on|off
14 main(int argc, char *argv[]) {
16 struct { char ten, onoff; } arg;
18 setlocale(LC_ALL, "");
19 bindtextdomain(PACKAGE, LOCALEDIR);
23 fprintf(stderr, _("usage: %s\n"), "setvesablank ON|on|off");
29 if (!strcmp(argv[1], "on"))
31 else if (!strcmp(argv[1], "ON"))
33 if (ioctl(fd, TIOCLINUX, &arg)) {
34 perror("setvesablank: TIOCLINUX");