hector Colina wrote:
euridice:/home/hector/dosemu-1.1.5# patch -p0 -s < ../patch
Use -p1 instead. Or update to 1.1.5.6. And apply the attached patch also (with -p0).
--- src/plugin/kbd_unicode/keymaps.c Sun Jul 20 17:43:22 2003
+++ src/plugin/kbd_unicode/keymaps.c Mon Jul 21 21:45:58 2003
@@ -2369,7 +2369,8 @@
fd = getfd();
if(fd < 0) {
- fprintf(stderr, "no console\n");
+ error("Unable to open console to evaluate the keyboard map.\n"
+ "Please specify your keyboard map explicitly via the $_layout
option\n");
return 1;
}
--- src/env/video/X.c Sun Jul 20 17:43:22 2003
+++ src/env/video/X.c Mon Jul 21 21:47:49 2003
@@ -3407,10 +3407,10 @@
if (strlen(p)) {
font = XLoadQueryFont(display, p);
if(font == NULL) {
- error("X: Unable to open font \"%s\", using builtin", p);
+ error("X: Unable to open font \"%s\", using builtin\n", p);
}
else if(font->min_bounds.width != font->max_bounds.width) {
- error("X: Font \"%s\" isn't monospaced, using builtin", p);
+ error("X: Font \"%s\" isn't monospaced, using builtin\n", p);
XFreeFont(display, font);
font = NULL;
}
