take over /dev/tty too
authornotaz <notasas@gmail.com>
Sun, 3 Jan 2016 00:52:14 +0000 (02:52 +0200)
committernotaz <notasas@gmail.com>
Sun, 3 Jan 2016 00:52:14 +0000 (02:52 +0200)
no idea why this was made to fail, clearly needed for some
statically linked SDL versions...

loader/override.c

index 4ba4018..8c91644 100644 (file)
@@ -36,7 +36,7 @@ static const struct dev_fd_t takeover_devs[] = {
   { "/dev/fb1",     FAKEDEV_FB1 },
   { "/dev/fb/1",    FAKEDEV_FB1 },
   { "/dev/mmuhack", FAKEDEV_MMUHACK },
-  { "/dev/tty",     -1 }, // XXX hmh..
+  { "/dev/tty",     FAKEDEV_TTY0 },
   { "/dev/tty0",    FAKEDEV_TTY0 },
 #ifdef PND
   { "/dev/input/event*", -1 }, // hide for now, may cause dupe events