logo       

automatic start of interactive programs: msg#00029

t2.devel

Subject: automatic start of interactive programs

A question some of you that have done embedded programs with T2 that have interfaces.

I have a minimal T2 build I use as OS plattform for plant floor systems. They interact with PLCs, and other devices, and often display a status screeen.

In a past project I only needed to have a display of the "payload" program of my system, so I changes the init script to not spawn a getty on tty1, and instead redirected the output from my program to that tty. (program _name > tty1)
 
This worked great, but in my next project i need to have input (regular keyboard ) as well as reading/writing i/o ports.

So I need a method of starting the program on startup that have full access to the tty as root.
Any simple way to auto login or by pass the getty all together that will work?

If anyone have any suggestions, it would be greatly appreciated

Mikael Ostensson
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
lists@xxxxxxxxxxxxxx with a subject of: unsubscribe t2
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise