Page 1 of 1

Understanding rvlc

Posted: 05 May 2011 23:20
by albert60
Hi
I would like to understand how rvlc works with the input.
First I wrote on the console :

Code: Select all

rvlc <<EOF >info >EOF
And I get the result of the info command in the terminal.
But when I wrote

Code: Select all

rvlc <<EOF >info >description >EOF
I've got an error message:

Code: Select all

> Error in `info description' libvlc's "info description" is not a command Unknown command `info description'. Type `help' for help.
Can you please explain to me why didn't give the result of the two commands ??
Thanks for your help

Re: Understanding rvlc

Posted: 06 May 2011 04:40
by Jean-Baptiste Kempf
Because you have to give the commands one by one.

Re: Understanding rvlc

Posted: 06 May 2011 14:22
by albert60
But EOF triggers shutdown to rvlc... I have two questions:
1- Is it possible to enter more than one command to rvlc using a redirection of flow ?? (and how if it's possible)
2- How about using keyboard simulators ??
Thanks for your help

Re: Understanding rvlc

Posted: 06 May 2011 22:42
by Rémi Denis-Courmont
I cannot reproduce your problem. I just put each command on separate lines and it executes them in a row.

Re: Understanding rvlc

Posted: 07 May 2011 03:44
by albert60
Hi Rémi
Can you please give me an example of such operation using the commands add and info ??
I want to see how the input and the output do like.
Otherwise do you think I must update vlc ??
Thanks for your help