From: Manuel E. S. <ra...@at...> - 2001-02-28 00:20:22
|
On Sat, Feb 17, 2001 at 02:24:00PM +0000, Christoph Bartelmus wrote: > Hi! > > Manuel Estrada Sainz "ra...@at..." wrote: > [...] > > How about a daemon which: > > o parses the config file > > o keeps track of IR sequences, mode and all > > o sends only "config" strings to clients > > o clients don't read .lircrc > > o clients don't keep track of anything, simply obey orders > > Yes, that's exactly what I already was thinking of some time ago. See the > link below. I'll put it on my TODO. I'd rather get confortable with the code while writing the configuration GUI, after that I will give it a try. > There was a thread on this topic some time ago on the mailing list. > Here's the link to one of the mails in the archive: > http://www.wh9.tu-dresden.de/~heinrich/lirc/list-archive/real/0832.html > You will have to log in with lirc, lirc. Don't forget to set your browser > to a fixed width font. I coded something for you to look at, please play with the view menu and tell me what you think: http://users.servicios.retecal.es/ranty/lirc/ Keep in mind that I hate automagical tools removing all my hand writen comments from files. > I currently don't have enough time to work on this. But nethertheless, > please read through the relevant mails and tell me what you do think about > it. Maybe you can continue the work Pablo has begun. This is what I think should be done: o Allow modification of all posible comments from the GUI o Allow for different levels of detail o Programs may tell what their posible config strings are with a "Template file". o Strings should be modifyable anyway o Fetch the list of remotes and buttons from lircd o Listen for button presses as a way of selection Also I am starting to look at the .lircrc parsing code and I have a problem and a suggestion. The problems is that it discards comments, and I need them. The suggestion is rewriting this code with flex/bison in such a way that it can be used for both the GUI and the library, and also a bison grammar would be easier to read and maintain than the current hand writen parser. Hope you like the prototype, please comment Manuel -- ------------------------------------------------- Manuel Estrada Ra...@at... ------------------------------------------------- God grant us the serenity to accept the things we cannot change, courage to change the things we can, and wisdom to know the difference. |