Commit Graph
78 Commits
Author SHA1 Message Date
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
cjdebenh 376803348a Moved the #if defined section for IRIX/SOLARIS to after config.h is included 2001-05-15 03:48:39 +00:00
ppokorny 3fff6381b0 Fixed problems on systems using newer GLIB and GCC (2.96) which no
longer allow the -Wp,-lang-c-c++-comments directive.  Also cleaned
up getloadavg support that had problems on Solaris and RedHat 7.1.
Removed unused variables in a number of functions as a result of
warnings when compiled with --enable-debug config option.
2001-05-15 01:55:59 +00:00
ppokorny 3e4ce08d43 Added support for "client_add_key" and "client_delete_key" functions.
Clients must now request keys using either client_add_key or screen_add_key
to receive key events.  If a screen is active (on the display) and it
has registered a key with "screen_add_key" it will be the only client
to get that key.  If the current screen doesn't want the key, it will
be sent to all clients that have registered that key using "client_add_key".

If you want to define a "hot button" for your client, you should probably
register that "hot key" with "client_add_key" and then list the keys that
control your client with "screen_add_key" on each screen.  If you don't
have a "hot key", then just register keys with "screen_add_key" and you'll
get keystrokes only when your screen is active.

Also fixed some formatting (spaces versus tabs) in a couple of places.
2001-05-11 17:55:36 +00:00
ppokorny f0276139d0 Updated make instructions to document "autogen.sh" and new AUTOMAKE
requirement.
2001-04-28 22:25:03 +00:00
ppokorny 8d894779e0 This is the header file that describes the GLK12232-25SM driver
in glk.c
2001-04-27 15:56:11 +00:00
ppokorny bae6cd0c21 Added GLK12232-25SM support with glk driver.
Fixed lots of small problems in various places.
Added new protocol commands screen_add/del_key so screens
   can request keystrokes when they are being displayed.
Lots of work on CPU GRAPH and BIG NUMBER CLOCK screens.
Fixed 'output' function in MtxOrb.c
2001-04-27 15:44:37 +00:00
ppokorny 1bc47682e5 Added GLK12232-25SM support with glk driver.
Fixed --enable-debug flag to turn off optimizer (-O6)
2001-04-27 15:42:31 +00:00
ppokorny e216ed7d5c This is the header file for glkproto.c which documents the types and
functions available from that support "library"
2001-04-27 15:24:38 +00:00
ppokorny 877d8ac8e8 Added GLK12232-25SM support with glk driver.
Fixed lots of small problems in various places.
Added new protocol commands screen_add/del_key so screens
   can request keystrokes when they are being displayed.
Lots of work on CPU GRAPH and BIG NUMBER CLOCK screens.
Fixed 'output' function in MtxOrb.c
2001-04-27 02:20:38 +00:00
ppokorny bb10988d10 Added GLK12232-25SM support with glk driver.
Fixed lots of small problems in various places.
Added new protocol commands screen_add/del_key so screens
   can request keystrokes when they are being displayed.
Lots of work on CPU GRAPH and BIG NUMBER CLOCK screens.
Fixed 'output' function in MtxOrb.c
2001-04-27 01:55:16 +00:00
ppokorny 95fa296a94 This is the support library for glk.c (the GLK driver). It manages the
connection to the GLK and sets up the serial port correctly.
2001-04-27 01:37:17 +00:00
ppokorny f1cef3eafc This is the driver for the GLK12232-25SM. It should work on the other
GLx family members from Matrix Orbital.  Several fonts need to be
downloaded correctly for the driver to work.
2001-04-27 01:35:49 +00:00
William Ferrell 3cfa105602 Cosmetic change (corrected misspelled word in acinclude.m4 "Uknown" where
it should read "Unknown".)
2001-03-29 19:30:38 +00:00
William Ferrell 6c8a77ccc5 Applied Nathan Yawn's (natey@hcis.net) patch to add a driver for the BayRAD
display. The patch applied cleanly, and compiled properly. At least,
"it worked for me." :) I don't have such a display, thus I cannot test that
the driver actually works, but it at least doesn't do nasty things or break
the compile. Thanks, Nathan!
2001-03-29 19:24:18 +00:00
William Ferrell ba6f72ccba Applied Andre' Breiler's patch to improve curses/ncurses portability on
Solaris.
2001-03-22 23:15:53 +00:00
William Ferrell 6dabd0b8f3 Applied patches supplied by Andre' Breiler:
- bugfixes for display != MatrixOrb LCD
	- changes the meaning of output_state
		+ it's now a bitfield where evry bit corresponds to
		  one output
	- protocol change
		output on|off|value
		where on    = all outputs on
		      off   = all outputs off
		      value = output on for all 1 bits
	- changes the behavior for key presses
	  Keypresses are now deliverd to _all_ clients (not only
	  the one with the active screen)
	reason: I have an client which is only active a few seconds after
                an keypress
	- changes the protocol so that a response is sent for every
	  command
	reason: the client needs to communicate with the server with a
                minimal latency
2001-03-22 22:51:49 +00:00
William Ferrell 5cc0287cff Patched load.c to fix compilation error reported by Bruno Kerouanton
(patch submitted by Andre' Breiler)
2001-03-22 15:58:32 +00:00
cjdebenh 44ad386d74 Quick patch to add sanity checking incase w->x is not set to a valid value.
I encountered this problem being caused by a variety of client.
Line added is #180
2000-12-28 05:30:53 +00:00
cjdebenh 3f65d9d371 Update to allow it to handle the 4x20 version of the lcd 2000-12-20 00:45:29 +00:00
cjdebenh b227f3cad9 Finished port of lcdproc to Solaris. 2000-12-20 00:39:16 +00:00
cjdebenh a1be5b7039 Changes made to configure.in to check for libraries needed on Solaris automatically.
Should help with protability to other similar OS's
2000-12-20 00:38:06 +00:00
William Ferrell 82764f08e3 Thanks to Chris Debenham <chris.debenham@aus.sun.com>, the LCDproc server
process LCDd now compiles and runs properly on Solaris! Additionally, he
has provided a new driver for a 16x2 LCD made by an Australian company.

I've compiled and executed this new code on a Solaris 2.6 box, and while I
don't have the display the new driver uses, LCDd tries to use it anyway,
fails (since the device isn't installed), and continues running, so this
looks solid!
2000-11-29 18:48:53 +00:00
blt f150f213bf Fixed missing union semun definition 2000-11-09 11:12:54 +00:00
cstein af99913d34 Support for nanosleep and gettimeofday delay methods added 2000-07-25 22:12:21 +00:00
toykeeper 0c07dacfea Another attempt to fix the MtxOrb weirdness. Changed the general-purpose
output so it doesn't send anything unless something actually happened.
2000-05-25 18:21:22 +00:00
toykeeper e5d1a9d431 Modified draw_frame(), to see if it fixes the flashing problems people are
having...
2000-05-24 21:34:13 +00:00
toykeeper 8b5b842c89 - Fixed acconfig comment-splitting problem.. (?)
- "-i off" option now works when placed after a driver
- CFontz driver no longer attempts to use 19200 baud if asked.
2000-05-13 20:21:16 +00:00
William Ferrell 6a115b4446 More formatting changes, new tags file. 2000-04-03 22:13:57 +00:00
William Ferrell 0d703c5864 Formatting changes. Again. CVS *will* get this right if it kills both of
us. :)
2000-03-30 21:58:02 +00:00
William Ferrell ddfd41f53e More formatting updates. Reduced whitespace, looks even better. 2000-03-30 20:43:33 +00:00
William Ferrell a98c8109a8 Added a tags file. I dunno if this is something that's really supposed to
be in a CVS repository, but for now, it is, so there. :)
2000-03-30 20:28:01 +00:00
William Ferrell f5a5e9653b Removed lcddriver.c (doesn't do anything, isn't in any makefiles, etc.).
Passed *every* piece of source in this project through indent. I'm setting
things up with ctags soon and am actually going to *gasp* use a nice
programming environment to continue development in. :)
2000-03-30 20:20:41 +00:00
William Ferrell 2222adcfbe Modified the INSTALL file a bit -- we're using automake/autoconf now, not
"edit Makefile, make, make install" ... :)
2000-03-28 19:23:15 +00:00
hklein 001f7f6dd4 *** empty log message *** 2000-02-26 22:16:46 +00:00