aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux.c
diff options
context:
space:
mode:
authorreinelt <>2000-03-24 11:36:56 +0000
committerreinelt <>2000-03-24 11:36:56 +0000
commita64e6fe1fc676771b589503916bde0f857401119 (patch)
tree1b31309b468fb2de31bf93282e40b7279844e5f9 /lcd4linux.c
parent53195ac9c4d7426fa9d8806621370c265aeb3fe5 (diff)
downloadlcd4linux-a64e6fe1fc676771b589503916bde0f857401119.tar.gz
[lcd4linux @ 2000-03-24 11:36:56 by reinelt]
new syntax for raster configuration changed XRES and YRES to be configurable PPM driver works nice
Diffstat (limited to '')
-rw-r--r--lcd4linux.c9
-rw-r--r--lcd4linux.conf.sample14
2 files changed, 13 insertions, 10 deletions
diff --git a/lcd4linux.c b/lcd4linux.c
index 668e3b1..c471843 100644
--- a/lcd4linux.c
+++ b/lcd4linux.c
@@ -1,4 +1,4 @@
-/* $Id: lcd4linux.c,v 1.10 2000/03/23 07:24:48 reinelt Exp $
+/* $Id: lcd4linux.c,v 1.11 2000/03/24 11:36:56 reinelt Exp $
*
* LCD4Linux
*
@@ -20,6 +20,12 @@
*
*
* $Log: lcd4linux.c,v $
+ * Revision 1.11 2000/03/24 11:36:56 reinelt
+ *
+ * new syntax for raster configuration
+ * changed XRES and YRES to be configurable
+ * PPM driver works nice
+ *
* Revision 1.10 2000/03/23 07:24:48 reinelt
*
* PPM driver up and running (but slow!)
@@ -143,6 +149,7 @@ void main (int argc, char *argv[])
lcd_put (2, 1, " (c) 2000 M.Reinelt");
lcd_flush();
+ // FIXME: just debugging
exit (0);
sleep (3);
diff --git a/lcd4linux.conf.sample b/lcd4linux.conf.sample
index cb68fba..3a2be42 100644
--- a/lcd4linux.conf.sample
+++ b/lcd4linux.conf.sample
@@ -4,21 +4,17 @@
#Contrast 160
#Display X11
-#rows 2
-#columns 20
-
DISPLAY PPM
-rows 4
-columns 20
-pixelsize 5
-pixelgap 1
-rowgap 1
-colgap 1
+size 20x4
+font 5x8
+pixel 5+1
+gap 5x5
border 20
foreground 102000
halfground 70c000
background 80d000
+
#Row1 "*** %o %v ***"
#Row2 "%p CPU %r MB RAM"
#Row3 "Busy %cu%% $r10cs+cb"