Hi friends,
I wrote a program on an embedded system and have trouble controlling it from my Linux host connected to this embedded system through network.
- Close the terminal, not the application
I can start a terminal on my Linux host, telnet the embedded system and start the application. However, as soon as I close the terminal on the Linux host, the application will terminate too. How can I keep the application running after I close the terminal? I definitely want it to be running independent of my Linux host actions.
- Start the application as embedded system turns on
Currently I can start the application from the Linux host. However, I won't have a Linux host in the field and I want the application to be automatically turned on as the embedded system powers up. What should I do to make the embedded system load and start the application for me?
- Monitor the application
When I start the application on the embedded system from a terminal on my Linux host, the terminal displays the standard outputs (produced by C++) from the application. That's how I monitor the application now. However, if the application is already running, how can I catch and display the standard outputs on the Linux host? Can I start a terminal and then somehow catch the outputs?
- Keyboard control the application
How can I strike certain keys from my Linux host and control (start/ stop/resume) the application on the embedded system? Should I first start a terminal and connect to the application? What kind of functions should I write in the application?
I just started building applications on Linux and embedded systems a month ago and have these rudimentary questions. I greatly appreciate any help you can give to me,
Sam