Accessing Linux from QNX4

I tried to access Linux (Mandrake 9) from console of QNX4 (no GUI) by ssh:

OLDTERM=$TERM
TERM=vt100
stty load protocol 1
echo $OLDTERM “->” $TERM
on -f 10 ssh linux
TERM=$OLDTERM
stty load protocol 0

However not everything works correcty (e.g. function keys F1 - F10 in mc, …)
with such terminal.

Has somebody experience with such a connection and has he a solution
working as good as sitting behind the linux console ?

Any help is appreaciated, Andy

andy@microstep-mis.com wrote:

I tried to access Linux (Mandrake 9) from console of QNX4 (no GUI) by ssh:

OLDTERM=$TERM
TERM=vt100
stty load protocol 1
echo $OLDTERM “->” $TERM
on -f 10 ssh linux
TERM=$OLDTERM
stty load protocol 0

However not everything works correcty (e.g. function keys F1 - F10 in mc, …)
with such terminal.

Even without Linux involved, you lose most key if you change TERM to
vt100. The real VT-100 had only four function keys.

Has somebody experience with such a connection and has he a solution
working as good as sitting behind the linux console ?

Have you tried copying /usr/lib/terminfo/q/qansi to your Linux box, and
setting TERM to qansi?

Wojtek Lerch <wojtek_l@yahoo.ca> wrote:

andy@microstep-mis.com > wrote:
I tried to access Linux (Mandrake 9) from console of QNX4 (no GUI) by ssh:

OLDTERM=$TERM
TERM=vt100
stty load protocol 1
echo $OLDTERM “->” $TERM
on -f 10 ssh linux
TERM=$OLDTERM
stty load protocol 0

However not everything works correcty (e.g. function keys F1 - F10 in mc, …)
with such terminal.

Even without Linux involved, you lose most key if you change TERM to
vt100. The real VT-100 had only four function keys.

Has somebody experience with such a connection and has he a solution
working as good as sitting behind the linux console ?

Have you tried copying /usr/lib/terminfo/q/qansi to your Linux box, and
setting TERM to qansi?

YES!, qansi is the right choice (it was even available in /usr/share/terminfo)
works fine. Thanks, Andy