Commit Graph
112 Commits
Author SHA1 Message Date
ddouthitt cf0990c28a Updated lcd.c:
* Added preliminary support for a Toshiba T6963 driver.
* Fixed a bug in the driver_list function which caused some
  unpretty output...
2001-09-26 20:27:41 +00:00
ddouthitt c3214b482a This is an example configuration file for LCDd.conf. 2001-09-26 20:19:46 +00:00
ddouthitt 9e3b973905 Updated lcd.c:
* Now supports multiple input sources
* Further compartmentalized
* Added function to list drivers in nice format (for help screen)
* More bulletproofing
2001-09-26 20:09:32 +00:00
ddouthitt f4df93d8e7 Updated curses and svgalib drivers:
* Now supports the use of the new "daemonize" variable in the
  lcd_logical_driver structure: permits output drivers to specify whether
  becoming a daemon is logical or not... if not, run in foreground...
2001-09-26 20:06:42 +00:00
ddouthitt 5ec2511d52 Updated server main():
* Uses getopt(3) -- getopt_long(3) appears to be a GNU extension
  (not used)
* Supports the use of a configuration file!  Defaults to /etc/LCDd.conf
2001-09-26 20:05:07 +00:00
ddouthitt fda1f15520 Updated lcd.c to support multiple input drivers. Drivers themselves
do not change. Output only goes to the first driver specified.
2001-09-26 14:57:13 +00:00
ddouthitt f5e08408fb Fixed bug that caused curses driver not to change colors in
response to option settings.
2001-09-25 22:59:52 +00:00
ddouthitt 16d57ba2ec Fixed bug in curses driver that caused it not to compile. 2001-09-25 22:55:56 +00:00
ddouthitt 110b53a90e Completed adding color support to curses driver (with the exception of
backlight, which I don't understand anyway...)
2001-09-25 22:10:30 +00:00
ddouthitt 0ab3148268 Updated svgalib driver, lb216 driver, and bayrad driver:
* Remove all references to lcd.*
* Remove all references to base driver functions
2001-09-25 21:18:40 +00:00
ddouthitt 7bae66ab97 Updated SLI driver:
* Removed all references to lcd.* (now uses sli->*)
* Removed all function pointers of NULL or (void *) -1
* Added base functions as necessary

Compiles cleanly; requires field testing.
2001-09-25 17:26:25 +00:00
ddouthitt 02233ef172 Updated sed1520.c driver:
* Lots of control-Ms in the file!  Removed.
* Removed all reference to lcd.* in favor of sed1520->*

Compiles cleanly; field testing required.
2001-09-25 16:58:18 +00:00
ddouthitt 226ec0c7b2 Updated glk driver:
* Removed all reference to lcd.* ; replaced with glk->*

Field testing is required.
2001-09-25 16:53:07 +00:00
ddouthitt 949a45dd0f Updated debug driver:
* Remove all usage of global lcd structure
2001-09-25 16:47:02 +00:00
ddouthitt 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.
2001-09-25 15:36:42 +00:00
ddouthitt a69505658a Forgot to update the ChangeLog as I went... 2001-09-25 15:17:22 +00:00
ddouthitt 44e7f83dfd Removed all traces of sprintf() from all server code and
from all drivers.  All drivers compile without warnings.
2001-09-25 15:02:33 +00:00
ddouthitt 0307a9112e Updated CFontz driver:
* Uses syslog instead of printf or fprintf (except during init)
* Replaced sprintf with snprintf throughout
* Removed all references to lcd.* and replaced with CFontz->*

Note: this compiles, that's all I can say - but the changes are not
major structural or logical changes.
2001-09-25 14:34:40 +00:00
ddouthitt a7bf3b00ad Minor changes (almost entirely in main.c):
* Heavily commented options
* Fixed bug introduced into default_duration and -w (my fault)
* Defined configuration file string defaults (no processing yet)
* Added simple optimization to option processing
* Reformed some comments for easier readability
* Fixed bug that caused program not to drop root privs when
  running on port under 1024
* Converted further to use syslog instead of printf
2001-09-25 14:03:13 +00:00
ddouthitt 4a75325042 Updated text driver:
+ Uses syslog instead of printf's
+ No dependency on global lcd struct
+ Fixed bug which would've occured when no framebuffer found on init
2001-09-25 07:29:38 +00:00
ddouthitt 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....
2001-09-25 07:19:08 +00:00
ddouthitt 1d59e67b69 lcd.c: Making preparations to enable multiple input sources... 2001-09-25 06:21:07 +00:00
ddouthitt 174cf351c5 Joystick driver:
+ Cleaned up slightly
+ Converted to use syslog instead of printf
+ Re-enabled free() in joy_close()
2001-09-25 06:20:27 +00:00
ddouthitt 607b4154b0 Updated curses driver (again):
* Now clears entire screen in appropriate color setting
* Now leaves goodbye screen on screen
2001-09-25 05:24:00 +00:00
ddouthitt 41a5973e29 Updated curses driver:
* Added preliminary color support
* Changed to using "window" instead of full screen
* Added window border
* Window is positionable
* Fixed possible bug in curses_drv_string
2001-09-25 05:10:19 +00:00
ddouthitt 12deda27a4 + Remove dependency on lcd.* (use internal structure instead)
+ Remove dependency on drv_base_* (mostly drv_base_close)
2001-09-25 01:01:55 +00:00
ddouthitt cf6ce9f1a4 + Improve data validity checking. 2001-09-25 00:54:24 +00:00
ddouthitt 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.
2001-09-25 00:13:57 +00:00
ddouthitt 1be66aa0b9 Modified curses driver to work with new driver structure. 2001-09-24 23:28:05 +00:00
ddouthitt 8edc1a9aff Update instructions to remove reference to autogen
(used by developers only)
2001-09-24 22:59:10 +00:00
ddouthitt 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.
2001-09-24 22:33:59 +00:00
ddouthitt f23292a554 Minor miscellaneous comment updates: mostly identifying drivers at
the top of their source code....
2001-09-24 16:30:31 +00:00
afrob 2e654fd333 Added driver for SED1520 graphic LCDs, STV5730 TV Output plus a small fix for render.c for bigger display sizes 2001-09-22 11:45:12 +00:00
ddouthitt 968a733d88 Fixed docs/Makefile.am to recognize new LCDd.8 file 2001-09-21 22:14:50 +00:00
ddouthitt 40f04f85a7 Added README to drivers directory, to document how drivers are called
and other things.
2001-09-21 21:10:09 +00:00
ddouthitt 6a0e23dc3e Massive changes (first commit), including but not limited to:
* Ability to specify port and address to bind to
* By default, binds only to 127.0.0.1 port 13666
* Client commands now return usage when no options given
* New driver command: getinfo
* Added comments all over the place
* Used #defines to further document code
* Used #defines to set up compile-time defaults, etc.
* Cleaned up client command argument analysis in client_functions.c
* Beginning support of syslog
* Some bug fixes
2001-09-21 21:08:10 +00:00
ddouthitt 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)...
2001-09-21 20:15:37 +00:00
haemi b70199c651 Updated map for ISO 8859-1 to HD44780 charset translation. 2001-09-11 18:27:13 +00:00
haemi 5636de1c5c Added character map for remapping some German "umlauts". 2001-09-09 21:37:49 +00:00
haemi 38f5701821 Added character mapping for HD44780 displays. Mostly German "umlauts". 2001-09-09 21:21:30 +00:00
William Ferrell 209c6b85df My e-mail address is wwf@splatwerks.org now, not choadster@earthlink.net :) 2001-08-05 17:27:01 +00:00
cjdebenh 0adcde06cc add LCDd.1 to man pages 2001-08-03 00:57:13 +00:00
cjdebenh 66e32ee5d8 Updated man pages for lcdproc/LCDd 2001-08-03 00:55:30 +00:00
ppokorny 761e4d3938 Updated version to 0.4.2 and added comments to ChangeLog documenting
the updates.
2001-07-19 01:07:33 +00:00
ppokorny e7316389e8 Fixed compile errors on FreeBSD related to cfmakeraw and friends on the
serial port side.  Also fixed problems with ioperm on the parallel port
side.

Added --waittime option to the server to specify how long the server
should leave a screen up before changing to the next screen.
2001-07-18 22:30:12 +00:00
cjdebenh cc73d8e28a Swaped order of HAVE_PROCFS_H and HAVE_SYS_PROCFS_H top allow the structured version to override the sys version 2001-05-30 00:33:19 +00:00
ppokorny 5d6406feb1 When changing from a widget-based storage (that was, in retrospect a
horrible hack) to a screen data item, I neglected to fix the code that
doles out key events to screens and clients.  This meant screens didn't
get keys.  It's now fixed.
2001-05-25 15:22:34 +00:00
ppokorny 00cc9fca23 + Changed protocol to 0.3 because we now accept both -foo and foo
as argument introducers.  in 0.4-pre10, these were changed
   from foo to -foo and this broke many clients.  This change
   should fix that and be backward/forward compatible.
 + Added a noop function to the protocol.  This is useful for writing
   shell script clients of LCDproc.
 + Changed the shared sock_send_string function to NOT send the
   ending NUL ('\0') byte with the string.  This was confusing
   in Perl clients which saw NUL's as the first character of
   each reply.  WARNING: The LCDPROC client depended on this
   behavior, your client may too.  Use the newline instead.
   See the code in clients/lcdproc/main.c (look for "switch(buf[i])")
   to see one way to handle this.  This should allow new clients
   to connect to old servers and vice-versa.
 + Messed with include structure in .c files.  It should no longer
   be necessary to specify ../.. to get to shared code headers.
   Also, since we are using automake, the global config.h can be
   found with just #include "config.h" as it's location is included
   in a -I to the compilers.  As a result "make distcheck" now works.
2001-05-25 03:14:27 +00:00
cjdebenh 211a3a4b04 update for Solaris - use ifdef around cfmakeraw, include config.h 2001-05-15 03:59:01 +00:00
cjdebenh a65dd59c94 Added ifdef SOLARIS to allow errno.h and strings.h to be included (needed for errno and bzero 2001-05-15 03:54:10 +00:00