Can I define a given Terminal type for a software running on

Hello everyone!

I wish use a given Terminal type(such as /dev/ser1) for my software.

And while I use this Terminal, there is no login or logout for me.

Can someone help me?

Thanks.


Jiang weilian
2004-12-29

Do you want /dev/ser1 to run a specific program or a shell?
And if a shell, do you want the user to have to login?


Jiang weilian <linwei_design@yahoo.com.cn> wrote:

Jw > Hello everyone!

Jw > I wish use a given Terminal type(such as /dev/ser1) for my software.

Jw > And while I use this Terminal, there is no login or logout for me.

Jw > Can someone help me?

Jw > Thanks.

Jw > Jiang weilian
Jw > 2004-12-29

Yes I want /dev/ser1 to run a specific program, but I don’t want the user to
have to login.



“Bill Caroselli” <qtps@earthlink.net> дÈëÏûÏ¢
news:cqutlm$kff$4@inn.qnx.com

Do you want /dev/ser1 to run a specific program or a shell?
And if a shell, do you want the user to have to login?


Jiang weilian <> linwei_design@yahoo.com.cn> > wrote:

Jw > Hello everyone!

Jw > I wish use a given Terminal type(such as /dev/ser1) for my software.

Jw > And while I use this Terminal, there is no login or logout for me.

Jw > Can someone help me?

Jw > Thanks.

Jw > Jiang weilian
Jw > 2004-12-29

Look at the helpviewer page for tinit. Basicly, your want to add a
line to the /etc/config/ttys that looks like:
ser1 “/my_dir/my_program” qansi-m on


Jiang Weilian <linwei_rdte@hotmail.com> wrote:
JW > Yes I want /dev/ser1 to run a specific program, but I don’t want
JW > the user to have to login.

Realize also that tinit is for text mode devices.

Bill Caroselli <qtps@earthlink.net> wrote:
BC > Look at the helpviewer page for tinit. Basicly, your want to add a
BC > line to the /etc/config/ttys that looks like:
BC > ser1 “/my_dir/my_program” qansi-m on


BC > Jiang Weilian <linwei_rdte@hotmail.com> wrote:
BC > JW > Yes I want /dev/ser1 to run a specific program, but I don’t want
BC > JW > the user to have to login.

Ok, Thank you very much. I’ll try to test by your way.

“Bill Caroselli” <qtps@earthlink.net> дÈëÏûÏ¢
news:cr10ag$3kk$4@inn.qnx.com

Realize also that tinit is for text mode devices.

Bill Caroselli <> qtps@earthlink.net> > wrote:
BC > Look at the helpviewer page for tinit. Basicly, your want to add a
BC > line to the /etc/config/ttys that looks like:
BC > ser1 “/my_dir/my_program” qansi-m on


BC > Jiang Weilian <> linwei_rdte@hotmail.com> > wrote:
BC > JW > Yes I want /dev/ser1 to run a specific program, but I don’t want
BC > JW > the user to have to login.