I'm working on a SBC9261 board with touchscreen, running Linux 2.6.24.
is the standard output and /dev/tty0
is the console on the touchscreen.
What I would like to do is to clone the standard output to the touchscreen, so the console would be displayed twice.
It would be like :
~ $ ./whatEverScript > /dev/tty0
but the output would also appear on /dev/ttyS0
Do you have an idea ?
Thank you !