2 * totextmode.c - aeb - 2000-01-20
15 #include "kbd_error.h"
18 main(int argc, char *argv[]) {
21 set_progname(argv[0]);
23 setlocale(LC_ALL, "");
24 bindtextdomain(PACKAGE_NAME, LOCALEDIR);
25 textdomain(PACKAGE_NAME);
27 if (argc == 2 && !strcmp(argv[1], "-V"))
28 print_version_and_exit();
31 kbd_error(EXIT_FAILURE, 0, _("usage: totextmode\n"));
35 if (ioctl(fd,KDSETMODE,KD_TEXT)) {
36 kbd_error(EXIT_FAILURE, errno, "totextmode: KDSETMODE");