Commit Graph
60 Commits
Author SHA1 Message Date
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
blt d0f5bc4656 Added details for the modular hd44780 driver. Documents the four wiring
methods that the driver supports.
2000-02-21 12:31:45 +00:00
blt 2f9283108b Fixed specifying --enable-drivers=all 2000-02-21 11:29:52 +00:00
blt e481f1311e Portable and maintable HD44780 driver files. 2000-02-21 11:24:09 +00:00
blt 6cefefd52c Modifications for a portable and maintable HD44780 lcd driver 2000-02-21 11:23:08 +00:00
jrray 8411ee67d1 Made sock_recv_string work.
sock_send_string and sock_send "corrected" to handle cases where not all
	the bytes intended to be sent are actually sent (must loop to
	send the remaining bytes).
File descriptors were not actually being closed by sock_close (they were
	only being shutdown).
2000-02-14 13:38:39 +00:00
jrray 08278d0e75 Added a multi-processor CPU usage display, doesn't work on uni-processor
machines (would show a blank screen, I think).
2000-02-14 13:19:19 +00:00
toykeeper ec911f5d05 Added credits file -- check to see if you're in it! 2000-02-04 05:07:26 +00:00
hklein 80e8067108 Metar client added. 2000-01-19 00:27:43 +00:00
hklein 4e9c270402 better socket handling, added fork to update metar information. 2000-01-18 14:43:49 +00:00
hklein a6ab97dfd9 modified close function. 2000-01-18 14:42:10 +00:00
hklein f652415192 added entry for lirc 2000-01-18 02:53:07 +00:00
hklein d04b1a790d fixed bug in socket handling. 2000-01-17 22:26:29 +00:00
hklein 08b9d8b1ec *** empty log message *** 2000-01-17 20:34:24 +00:00
hklein 6e977735f0 *** empty log message *** 2000-01-17 08:23:48 +00:00
hklein faa787c215 Modified Files:
acconfig.h acinclude.m4 server/Makefile.am
 	server/drivers/Makefile.am server/drivers/lcd.c
 Added Files:
 	README.lirc server/drivers/lircin.c server/drivers/lircin.h
2000-01-17 08:22:15 +00:00
smh 982834a8c7 *** empty log message *** 2000-01-15 01:48:29 +00:00
toykeeper e2401e4a72 Added PROTOCOL_VERSION define,
Started to change to new client-server protocol 0.2,
Added "slash" heartbeat mode...
2000-01-05 00:03:25 +00:00
ban 14df3acb82 * first check for ncurses, then curses (and not the other way) 1999-12-16 09:27:23 +00:00