Telnet Problem

When I try to telnet to or from my QNX machine I get the following:

termdef: Warning - terminal type previously set (TERM = qansi-m) is
unknown. Enter terminal type:

What gives?

Carl.

before you telnet enter
something like

export TERM=ansi # when you go out of QNX
export TERM=qnx # when you to into QNX :slight_smile:

beware of syntactical stuff like some OS’s require to split the terms:
TERM=ansi
export TERM # or setenv TERM when you are on a csh (e.g. Solaris …)

you have to play a bit with the TERM environment variable.
Moreover try ‘telnet -8’ when you go from QNX to QNX …
good luck

“Carl A. Moore” schrieb:

When I try to telnet to or from my QNX machine I get the following:

termdef: Warning - terminal type previously set (TERM = qansi-m) is
unknown. Enter terminal type:

What gives?

Carl.

============================================================================
Dipl.-Phys. Dr. Joerg Kampmann - Medizinische Hochschule Hannover
“Rechnergestuetzte Intensivpflege” OE 6204
D-30623 Hannover
Telefon: +49-(0)511-532-3438/3356 : Fax:+49-(0)511-532-8439
Mobilfunk (Handy E-Plus): +49-(0)177-276-3140
e-mail: kampmann@thg.mh-hannover.de / kampmann@ibk-consult.de
(Private)
www: http://www.mh-hannover.de/institut/ag_dv_intensiv/index.htm

@@@ -----------> QNX is a better RTOS (http://www.qnx.com) <----------
@@@

Check to see that you have the file /usr/lib/terminfo/q/qansi-m

Richard

Jörg Kampmann wrote:

before you telnet enter
something like

export TERM=ansi # when you go out of QNX
export TERM=qnx # when you to into QNX > :slight_smile:

beware of syntactical stuff like some OS’s require to split the terms:
TERM=ansi
export TERM # or setenv TERM when you are on a csh (e.g. Solaris …)

you have to play a bit with the TERM environment variable.
Moreover try ‘telnet -8’ when you go from QNX to QNX …
good luck

“Carl A. Moore” schrieb:

When I try to telnet to or from my QNX machine I get the following:

termdef: Warning - terminal type previously set (TERM = qansi-m) is
unknown. Enter terminal type:

What gives?

Carl.

============================================================================
Dipl.-Phys. Dr. Joerg Kampmann - Medizinische Hochschule Hannover
“Rechnergestuetzte Intensivpflege” OE 6204
D-30623 Hannover
Telefon: +49-(0)511-532-3438/3356 : Fax:+49-(0)511-532-8439
Mobilfunk (Handy E-Plus): +49-(0)177-276-3140
e-mail: > kampmann@thg.mh-hannover.de > / > kampmann@ibk-consult.de
(Private)
www: > http://www.mh-hannover.de/institut/ag_dv_intensiv/index.htm

@@@ -----------> QNX is a better RTOS (> http://www.qnx.com> ) <----------
@@@

Hi…
Same problem I faced…
now the real thing… do something like below

login as root
cd /usr/bin
mv telnet Telnet <=====note the spelling
cat > telnet
export TERM=ansi
/usr/bin/Telnet $* <== note the spelling
export TERM=qnasi-m
^D <== ie Ctrl-D
chmod 755 ./telnet

done
now it will work forever… (why?? see the posting in this thread…)

Keep Smiling

When I try to telnet to or from my QNX machine I get the following:

termdef: Warning - terminal type previously set (TERM = qansi-m) is
unknown. Enter terminal type:

What gives?

Carl.

Sent via Deja.com http://www.deja.com/
Before you buy.