aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkraxel <kraxel>2004-05-18 12:39:38 +0000
committerkraxel <kraxel>2004-05-18 12:39:38 +0000
commitec23de55331d3597e625ab42f7b50394ae34be1f (patch)
tree3823af5f1430acb4883a38a922169c102a721c6c
parent3a28add0b68757c7c929b959c5b5ce3c717f7525 (diff)
downloadfbida-ec23de55331d3597e625ab42f7b50394ae34be1f.tar.gz
- fixes.
-rw-r--r--fbi.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/fbi.c b/fbi.c
index c12de4a..af61502 100644
--- a/fbi.c
+++ b/fbi.c
@@ -1232,6 +1232,11 @@ main(int argc, char *argv[])
char *line, *info, *desc;
char linebuffer[128];
+#if 0 /* debug aid */
+ fprintf(stderr,"pid %d\n",getpid());
+ sleep(30);
+#endif
+
if (NULL != (line = getenv("FRAMEBUFFER")))
fbdev = line;
if (NULL != (line = getenv("FBGAMMA")))
@@ -1349,6 +1354,7 @@ main(int argc, char *argv[])
svga_dither_palette(8, 8, 4);
dither = TRUE;
init_dither(8, 8, 4, 2);
+ dither_line = dither_line_color;
break;
case 15:
case 16:
@@ -1541,6 +1547,13 @@ main(int argc, char *argv[])
}
break;
case KEY_VERBOSE:
+#if 0 /* fbdev testing/debugging hack */
+ {
+ ioctl(fd,FBIOBLANK,1);
+ sleep(1);
+ ioctl(fd,FBIOBLANK,0);
+ }
+#endif
statusline = !statusline;
need_refresh = 1;
break;