aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux.c
diff options
context:
space:
mode:
authorreinelt <>2000-03-25 05:50:43 +0000
committerreinelt <>2000-03-25 05:50:43 +0000
commit2c038ac106629d78c31763f8c8498e579b3b672c (patch)
treee0a3e000e02552dd1bed71381d54ace8b9fc4c07 /lcd4linux.c
parent800d7b54d618d4c66fcd15f762333959af08ddd1 (diff)
downloadlcd4linux-2c038ac106629d78c31763f8c8498e579b3b672c.tar.gz
[lcd4linux @ 2000-03-25 05:50:43 by reinelt]
memory leak in Raster_flush closed driver family logic changed
Diffstat (limited to '')
-rw-r--r--lcd4linux.c17
-rw-r--r--lcd4linux.conf.sample10
2 files changed, 18 insertions, 9 deletions
diff --git a/lcd4linux.c b/lcd4linux.c
index c471843..0d48d36 100644
--- a/lcd4linux.c
+++ b/lcd4linux.c
@@ -1,4 +1,4 @@
-/* $Id: lcd4linux.c,v 1.11 2000/03/24 11:36:56 reinelt Exp $
+/* $Id: lcd4linux.c,v 1.12 2000/03/25 05:50:43 reinelt Exp $
*
* LCD4Linux
*
@@ -20,6 +20,11 @@
*
*
* $Log: lcd4linux.c,v $
+ * Revision 1.12 2000/03/25 05:50:43 reinelt
+ *
+ * memory leak in Raster_flush closed
+ * driver family logic changed
+ *
* Revision 1.11 2000/03/24 11:36:56 reinelt
*
* new syntax for raster configuration
@@ -144,14 +149,18 @@ void main (int argc, char *argv[])
process_init();
+ // FIXME: just debugging
+ lcd_clear();
+ lcd_put (1, 1, "so what!");
+ lcd_bar (BAR_R|BAR_H2, 2,1,50,19,46);
+ lcd_flush();
+ exit (0);
+
lcd_clear();
lcd_put (1, 1, "* LCD4Linux V" VERSION " *");
lcd_put (2, 1, " (c) 2000 M.Reinelt");
lcd_flush();
- // FIXME: just debugging
- exit (0);
-
sleep (3);
lcd_clear();
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample
index 3a2be42..9be532f 100644
--- a/lcd4linux.conf.sample
+++ b/lcd4linux.conf.sample
@@ -5,11 +5,11 @@
#Display X11
DISPLAY PPM
-size 20x4
+size 10x2
font 5x8
-pixel 5+1
-gap 5x5
-border 20
+pixel 3+1
+gap 4x4
+border 5
foreground 102000
halfground 70c000
background 80d000
@@ -17,7 +17,7 @@ background 80d000
#Row1 "*** %o %v ***"
#Row2 "%p CPU %r MB RAM"
-#Row3 "Busy %cu%% $r10cs+cb"
+#Row3 "Busy %cb%% $r10cs+cb"
#Row4 "Load %l1%L$r10l1"
Row1 "Load %l1%L$r10cs+cb"