--- aalib-1.4.0.old/src/aalinuxkbd.c +++ aalib-1.4.0/src/aalinuxkbd.c @@ -200,7 +200,7 @@ static int rawmode_init(void) { if (!closed) - return; + return 0; mypid = getpid(); if (tty_fd == -1) { tty_fd = fileno(stdin);