[lcdproc] Patch #7
David Douthitt
n9ubh@callsign.net
Tue, 18 Sep 2001 04:28:34 -0400
This time I compressed it :)
The biggest new features are:
client_set_func seemed to have some errors; I gave it a thorough
debugging.
I updated MtxOrb.c some; I mucked with input.c. My keyboard on my
LK202-25 gives a funky set of keys; it is "codified" in input.c - change
at will...
The biggest change was parse.c; I changed it to use pointers and do a
scan character by character. I also added the following enhancements:
1. Now a '#' in the first position is ignored as a comment.
2. Now excess whitespace should be handled (don't know if it was
previously...)
2a. Also, a line of ONLY whitespace is handled correctly (i.e.,
ignored)
2b. I think, too, that an EMPTY line will be handled correctly...
3. Tabs are *NOT* considered whitespace; neither is a return.
This means, mainly, that a script like:
------
#!/usr/bin/nc 127.0.0.1 13666
# This is a new script...
hello
screen_add B
widget_add B title title
widget_set B title [My Title]
------
....should work just fine! However, I get this error.... (just tried
it)...
invalid port ./l : No such file or directory
However, this works great!
nc 127.0.0.1 13666 < script
Which makes me think of a new project:
sleep [ <secs> ]
:)
Also, am I the only one who noticed that the port number is the
So-Called "Unlucky Number" 13 tacked on to the Number of the Beast
(666)?
Not a pleasant prospect....
-----------------------------------------------------------
To unsubscribe from this list send a blank message to
lcdproc-unsubscribe@lists.omnipotent.net