Package: kon2 Version: 0.3.9b-17 kon2 doesn't run on linux-2.6.9-2-686.
matx# kon Kanji ON Console ver.0.3.9 (2000/04/09) mmap: Success KON> error reading /etc/kon.cfg matx# Because, mmap() return value check was wrong. Following patch fix the problem. --- src/display/vga.c.orig 2000-04-09 10:17:04.000000000 +0900 +++ src/display/vga.c 2005-01-15 17:48:31.000000000 +0900 @@ -692,7 +692,7 @@ GRAPH_BASE ); close(devMem); - if ((long)gramMem < 0) { + if ((long)gramMem == -1L) { perror("mmap"); return FAILURE; } Other sources, such as j31sx.c and j3100.c, also contain this bug. These shoud be corrected too, but I've not checked. The error message "error reading /etc/kon.cfg" is erroneous. Until 2.6.8, the returned pointer of mmap() might point to lower 2GB region, so, it didn't cause problem. K.Kumon -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]