[vdr] Help of SVDRP commands

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Tue Sep 25 18:01:57 CEST 2007


On 09/24/07 10:44, Torsten Kunkel wrote:
> 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

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



More information about the vdr mailing list