b43479efd1
Correction for bug 467036
gfk2001-10-08 16:09:55 +00:00
db935c35bf
Corrected HD44780 to work with the curses driver.
robijn2001-10-06 13:51:45 +00:00
f8b89f2666
This is a "cleaner" fix (hack) to get around s getting clobbered in main.c. It also documents extensively WHERE it is getting clobbered; now if one only knew why.....
ddouthitt2001-10-06 01:27:09 +00:00
10a79e3859
Re-enable a hack in main.c to fix a "clobbered" pointer; this is NOT a fix. Work continues...
ddouthitt2001-10-06 00:32:02 +00:00
a070f75d4b
Remove -Wno-unused from compile-time options; this prevents catching of MANY possible problems. LCDproc should compile cleanly without warnings WITHOUT this set.
ddouthitt2001-10-06 00:31:08 +00:00
df90652a8b
This updates these drivers with minor bug fixes.
ddouthitt2001-10-05 23:50:37 +00:00
709e53495e
Minor fix for heartbeat function...
ddouthitt2001-10-05 17:17:11 +00:00
50cdea1134
Modified the HD44780 driver to work with keypad.
robijn2001-10-05 15:05:59 +00:00
d8daf2bf6f
Added output_heartbeat(driver, heart_type) to the library functions. Thus, for many drivers, creating the appropriate driver function for heartbeats should be simple.
ddouthitt2001-10-04 21:10:07 +00:00
39b84431a0
Added a heartbeat function to the driver code. Both the MatrixOrbital driver and the curses driver now have their own heartbeat functions.
ddouthitt2001-10-04 21:05:15 +00:00
a1a557a767
Changed clear function in Matrix Orbital driver: now only changes within buffer (no clear function code sent to the LCD display).
ddouthitt2001-10-03 05:52:42 +00:00
7bc81c1a3c
Fixed a bug where driverargs (pointers to arguments to drivers) was not initialized to nulls.
ddouthitt2001-10-03 02:36:23 +00:00
9169630fe9
Fixes to the lcdm001 driver: heartbeat problems fixed
ddouthitt2001-10-02 20:53:39 +00:00
7c0e1bd0d1
Fixed "HD44780 does not compile" bug. Not using drv_base anymore.
robijn2001-10-02 14:04:34 +00:00
9d8b1f45a3
Fixed miscellaneous bugs relating to optimization of MatrixOrbital driver. Now only displays that which has changed...
ddouthitt2001-10-01 21:54:02 +00:00
487242f925
Fixed bug that caused anything beyond the heartbeat not to get updated properly. Only affected optimized MtxOrb driver.
ddouthitt2001-10-01 21:53:27 +00:00
ac10e5d4d3
Added 000_CVS_READ_1ST to give instructions how to get configure and company generated (CVS LCDproc only has autogen.sh, just as it should be :)
William Ferrell2001-09-30 17:39:26 +00:00
bd431cfc36
Fixed up support for screen refresh using ^L - in case something sends gunk to the screen.
ddouthitt2001-09-30 04:46:10 +00:00
cc56196ef0
Added support for ^L (redraw screen). Operation is invisible to callers of getkey().
ddouthitt2001-09-30 04:18:39 +00:00
4558e344e8
Fixed silly bug in new_framebuf().
ddouthitt2001-09-30 04:17:40 +00:00
dcea08d3fa
Bug caught by Robin Adams <robin@adams-online.de> where getkey was not being checked for spurious nulls after driver initialization. Turns out getinfo was in the same category. Both: fixed.
ddouthitt2001-09-28 21:29:23 +00:00
07608e742e
Tried to reduce amount of work necessary to flip the backlight - since under VNC, this occurs rather slowly. Less work is done, but the result has not changed.
ddouthitt2001-09-28 21:23:16 +00:00
5c136ae24e
Fixed bug relating to configuration file not being read.
ddouthitt2001-09-28 21:21:32 +00:00
4f60edc230
This file contains the beginnings of a "library" (not in the true sense) of functions to be used by drivers. Things like freeing a framebuffer, creating a frame buffer, andding characters or strings to a framebuffer, et al, are here...
ddouthitt2001-09-28 21:16:31 +00:00
e37ae29f66
Added lcd_lib.c to the makefile.
ddouthitt2001-09-28 21:15:13 +00:00
2ae4511295
Made default (example) configuration more reasonable. Changed sense of -t option for the MtxOrb driver: now gets WxH (20x4) instead of type of display (LKD, VFD, etc..)
ddouthitt2001-09-28 21:13:26 +00:00
6208cdba06
Added User command to LCDd.conf and documented it.
ddouthitt2001-09-28 17:04:22 +00:00
bf5daf36ad
Now the curses driver supports a -B option: backlight color (on) color. This goes with the "standard" background color option -b to give the appearance of a backlight.
ddouthitt2001-09-28 00:41:05 +00:00
cb76443a51
Curses driver is now sizeable: use the -t option in the configuration file (in the Arguments command line)
ddouthitt2001-09-28 00:08:23 +00:00
ad5de5bb17
Drivers specified on the command line (-d) override any specified in the configuration file.
ddouthitt2001-09-28 00:06:27 +00:00
214c957726
Fix help screen in MatrixOrbital driver to reflect correct options.
ddouthitt2001-09-28 00:05:32 +00:00
74153173c1
Fixed major bug: drivers that accepted size arguments could wind up with more than 80 characters (20x4) in their display, and thus overwrite memory outside of the allocated 80 characterwframebuffer.
ddouthitt2001-09-27 23:46:55 +00:00
71c3035611
* Changed MatrixOrbital driver to support the traditional -t option (for type: 20x2, 20x4, 20x6) etc.
ddouthitt2001-09-27 23:23:42 +00:00
b8bf32b27f
Updated LCDd.conf to reflect changes in configuration processing:
ddouthitt2001-09-27 20:52:12 +00:00
2ed349c691
Cleaned up option processing. Added code to use getopt(3) but never got it working (it's #ifdef'd out). Expanded flexibility of -t option (now accepts any case, and looks at only first three characters); so "-t lkd202-25" works as expected...
ddouthitt2001-09-27 20:51:16 +00:00
8cef4f9af6
Added support for the "Driver" keyword in a global section of the configuration file.
ddouthitt2001-09-27 20:49:29 +00:00
105bc0b95e
Removed use of global static lcd structure from stv5730.c; now uses the dynamically allocated stv5730 structure.
ddouthitt2001-09-27 18:29:04 +00:00
403754f1e6
Fixed bug that caused drv_base.c to be compiled.
ddouthitt2001-09-27 16:45:06 +00:00
dbaee0b30a
Added documentation about the LB216 gotten from the mailing list. Removed dependence on base driver functions.
ddouthitt2001-09-27 16:15:05 +00:00
eb6e99e7e8
Server no longer uses a fixed lcd structure, but now a pointer to a lcd_logical_driver structure (lcd_ptr). Fixed bug in lcd.c which caused lcd_drv_getkey_loop to act badly.
ddouthitt2001-09-27 16:12:55 +00:00
ae2f2d5638
Documented in configuration file the ability to use different names for the drivers (ie, "MatrixOrbital" instead of "MtxOrb"). Added more detailed documentation elsewhere, also.
ddouthitt2001-09-27 16:10:56 +00:00
897133efdd
Fixing some compile time problems that showed up using gcc 2.95 under Solaris 8 (first time on SF Compile Farm!)
ddouthitt2001-09-27 13:49:04 +00:00
d67120f519
Updated configure scripts, et al, to use and recognize the SVGAlib driver and an upcoming Toshiba T6963 driver...
ddouthitt2001-09-26 22:29:00 +00:00
97e340635a
Somehow, running the debug driver in the background just didn't make sense. Changed debug driver to reflect this - will yank syslog() out later...
ddouthitt2001-09-26 20:35:32 +00:00
fda1f15520
Updated lcd.c to support multiple input drivers. Drivers themselves do not change. Output only goes to the first driver specified.
ddouthitt2001-09-26 14:57:13 +00:00
f5e08408fb
Fixed bug that caused curses driver not to change colors in response to option settings.
ddouthitt2001-09-25 22:59:52 +00:00
16d57ba2ec
Fixed bug in curses driver that caused it not to compile.
ddouthitt2001-09-25 22:55:56 +00:00
110b53a90e
Completed adding color support to curses driver (with the exception of backlight, which I don't understand anyway...)
ddouthitt2001-09-25 22:10:30 +00:00
31d9cc98c0
Added support for the new svga driver into lcd.c; however, the Makefiles will need to be modified to support linking against libvga and libvgagl, and support for the SVGALIB_DRV define will have to be added to autoconf or whatever.
ddouthitt2001-09-25 15:36:42 +00:00
a69505658a
Forgot to update the ChangeLog as I went...
ddouthitt2001-09-25 15:17:22 +00:00
44e7f83dfd
Removed all traces of sprintf() from all server code and from all drivers. All drivers compile without warnings.
ddouthitt2001-09-25 15:02:33 +00:00
ba630ec1d2
Updated debug driver: + Convert to use syslog instead of printf + Fixed some memory allocation bugs: in particular, driver is only a local variable! Use static variable debug_drv instead....
ddouthitt2001-09-25 07:19:08 +00:00
1d59e67b69
lcd.c: Making preparations to enable multiple input sources...
ddouthitt2001-09-25 06:21:07 +00:00
12deda27a4
+ Remove dependency on lcd.* (use internal structure instead) + Remove dependency on drv_base_* (mostly drv_base_close)
ddouthitt2001-09-25 01:01:55 +00:00
cf6ce9f1a4
+ Improve data validity checking.
ddouthitt2001-09-25 00:54:24 +00:00
4b24b2e6f1
Patched lcd.c to work with older drivers that use 0 or (void *) -1 as valid function pointer values (now logs to syslog); fixed text driver, curses driver, and CFontz driver to work correctly in new environment.
ddouthitt2001-09-25 00:13:57 +00:00
1be66aa0b9
Modified curses driver to work with new driver structure.
ddouthitt2001-09-24 23:28:05 +00:00
8edc1a9aff
Update instructions to remove reference to autogen (used by developers only)
ddouthitt2001-09-24 22:59:10 +00:00
875ee72589
Major change was to convert from multiple drivers to a single driver. Other minor things: comments, more robust MtxOrb driver, and more use of syslog.
ddouthitt2001-09-24 22:33:59 +00:00
f23292a554
Minor miscellaneous comment updates: mostly identifying drivers at the top of their source code....
ddouthitt2001-09-24 16:30:31 +00:00
2e654fd333
Added driver for SED1520 graphic LCDs, STV5730 TV Output plus a small fix for render.c for bigger display sizes
afrob2001-09-22 11:45:12 +00:00
968a733d88
Fixed docs/Makefile.am to recognize new LCDd.8 file
ddouthitt2001-09-21 22:14:50 +00:00
40f04f85a7
Added README to drivers directory, to document how drivers are called and other things.
ddouthitt2001-09-21 21:10:09 +00:00
6a0e23dc3e
Massive changes (first commit), including but not limited to:
ddouthitt2001-09-21 21:08:10 +00:00
909f9791cf
Updated LCDd man page: added description of entire LCDd protocol (v0.3) and moved the man page from section 1 to section 8 (where daemons live)...
ddouthitt2001-09-21 20:15:37 +00:00
b70199c651
Updated map for ISO 8859-1 to HD44780 charset translation.
haemi2001-09-11 18:27:13 +00:00
5636de1c5c
Added character map for remapping some German "umlauts".
haemi2001-09-09 21:37:49 +00:00
38f5701821
Added character mapping for HD44780 displays. Mostly German "umlauts".
haemi2001-09-09 21:21:30 +00:00