how to define terminal attached serial port

I have a terminal(a diplay screen attached by a keyboard).I connect the
terminal to PC through serial port (com2).
I use stty to define the com2,make it as some as the terminal self
define(such as speed bit,odd bit,stop bit,and terminal style -ansi).
I think that through this define ,I can use the terminal login into qnx.But
in the terminal ,when I hit a key in terminal,nothing display
in the terminal ? what should I do?
My system is qnx 6.1.0.
how to define and config to use terminal in the serial port to login into
qnx?

Did you add /dev/ser2 to /etc/config/ttys?

Pavol Kycina

“zhz_zhang” <zhz_zhang@263.net> wrote in message
news:a0hl02$s74$1@inn.qnx.com

I have a terminal(a diplay screen attached by a keyboard).I connect the
terminal to PC through serial port (com2).
I use stty to define the com2,make it as some as the terminal self
define(such as speed bit,odd bit,stop bit,and terminal style -ansi).
I think that through this define ,I can use the terminal login into
qnx.But
in the terminal ,when I hit a key in terminal,nothing display
in the terminal ? what should I do?
My system is qnx 6.1.0.
how to define and config to use terminal in the serial port to login into
qnx?
\

“Pavol Kycina” <kycina@microstep-hdo.sk> wrote in message
news:3c3303de$1@asrpx.mshdo

Did you add /dev/ser2 to /etc/config/ttys?
I am a beginner ,I don’t know how to add it?

Can you give me step in detail?
Appreciate your help!

Pavol Kycina

“zhz_zhang” <> zhz_zhang@263.net> > wrote in message
news:a0hl02$s74$> 1@inn.qnx.com> …
I have a terminal(a diplay screen attached by a keyboard).I connect the
terminal to PC through serial port (com2).
I use stty to define the com2,make it as some as the terminal self
define(such as speed bit,odd bit,stop bit,and terminal style -ansi).
I think that through this define ,I can use the terminal login into
qnx.But
in the terminal ,when I hit a key in terminal,nothing display
in the terminal ? what should I do?
My system is qnx 6.1.0.
how to define and config to use terminal in the serial port to login
into
qnx?


\

You probably have /etc/config/ttys file, and it contains sth like this:

con1 “/bin/login” qansi-m on
con2 “/bin/login” qansi-m on

Just add one line:

ser2 “/bin/login” vt100 on

(I assume you have vt100 terminal, if not, put the name of yours there, you
can find supported ones in /usr/lib/terminfo)

Pavol Kycina


“zhz_zhang” <zhz_zhang@263.net> wrote in message
news:a13par$dm0$1@inn.qnx.com

“Pavol Kycina” <> kycina@microstep-hdo.sk> > wrote in message
news:3c3303de$> 1@asrpx.mshdo> …
Did you add /dev/ser2 to /etc/config/ttys?
I am a beginner ,I don’t know how to add it?
Can you give me step in detail?
Appreciate your help!


Pavol Kycina

“zhz_zhang” <> zhz_zhang@263.net> > wrote in message
news:a0hl02$s74$> 1@inn.qnx.com> …
I have a terminal(a diplay screen attached by a keyboard).I connect
the
terminal to PC through serial port (com2).
I use stty to define the com2,make it as some as the terminal self
define(such as speed bit,odd bit,stop bit,and terminal style -ansi).
I think that through this define ,I can use the terminal login into
qnx.But
in the terminal ,when I hit a key in terminal,nothing display
in the terminal ? what should I do?
My system is qnx 6.1.0.
how to define and config to use terminal in the serial port to login
into
qnx?




\

Hi folks,
I’m sorry for my $0.02 here :wink: Just some statistics on missing etc/config/ttys documentation (I
hope it’s useful for QNX doc team :wink:)
In addition to this thread, take a look at:

Subject: tinit on multiple consoles?
Date: Wed, 19 Dec 2001 18:44:04 -0500
Xref: inn.qnx.com qdn.public.qnxrtp.os:6528

Subject: serial modem login
Date: Tue, 4 Dec 2001 14:08:02 +1100
Xref: inn.qnx.com qdn.public.qnxrtp.installation:3926

Subject: tinit…
Date: 19 Nov 2001 11:53:00 GMT
Xref: inn.qnx.com qdn.public.qnxrtp.os:6036

Best regards,
Eduard.

ed1k <ed1k@yahoo.com> wrote:
: Hi folks,
: I’m sorry for my $0.02 here :wink: Just some statistics on missing etc/config/ttys documentation (I
: hope it’s useful for QNX doc team :wink:)

Thanks for the feedback – it helps us determine what we need to add to the
docs.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems