Hi,
I noticed new SVDRP commands are limited to 9 characters.
./svdrpsend.pl help [...] 214-Plugin dummy v0.0.1 - Enter description for 'dummy' plugin 214- 123456789 [...]
[...] static const char *HelpPages[] = { "12345678901234567890\n" " Print some stuff.", [...]
I found MAXHELPTOPIC in the svdrp.c causing this limitation. But why? :) I don't see any reasons for this limitation. When calling the Plugin, this limit to 10 chars isn't implemented. At least there should be a hint in the PLUGIN.html on this abbreviation.
Greetings
Torsten
On 09/24/07 10:44, Torsten Kunkel wrote:
Search for MAXHELPTOPIC in svdrp.c to see the places where this is used.
Plugin, this limit to 10 chars isn't implemented. At least there should be a hint in the PLUGIN.html on this abbreviation.
To be honest, I never would have expected anybody to implement SVDRP commands that long - after all, you have to type them. Is there really a need for such long command names?
Klaus
No, not really, but I was wondering why this was implemented. I prefer readable commands like "ISTIMERRUNNING" (just an example), I can remember these better than ITRN or something like this :) But I can cut down the commands to below 10 chars without a problem. Just wondering :)
Torsten