Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: VDR developer version 1.1.20



Joerg Riechardt wrote:
> Klaus Schmidinger wrote:
> > - If a PC keyboard is used as remote control, the string entry
> > fields in the menus now accept character input directly (however,
> > this works only for keys that are not otherwise defined as remote
> > control keys).
> >
> >- The keyboard is now by default always active to control VDR. The
> > 'make' option REMOTE=KBD is therefore obsolete. When compiling VDR
> > with REMOTE=RCU or REMOTE=LIRC,
> >
> >  the keyboard can thus now be active together with the remote
> > control.
>
> I use -P"remote -i /dev/input/event0 -t /dev/tty1", with this "string
> entry fields in the
>   menus now accept character input directly" doesn't work. What can I
> do to make it work?

You have to use the built-in KBD remote control of vdr,
not the -t option of the remote plugin. 

There is just one problem in 1.1.20:
The KBD remote control does not work if vdr is started from a shell script:

vdr.c:
| bool HasStdin = tcgetpgrp(STDIN_FILENO) == getpid() && tcgetattr(STDIN_FILENO, &savedTm) == 0;
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is always false if vdr is started from runvdr:
tcgetpgrp: 10365 getpid: 10373

Oliver



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index