vi and TERM type problem

Hi all,

I have a strange problem with vi ens other console apps that use specific terminal type.
On x86 with qnx 6.2.0 there are no problems ( the term type is qansi-m )
On ppc405 with qnx 6.2.1 when I try to start vim it crushes with “Unknown TERM type” error - the
terminal there is qansi.
I tried to change it to qansi-m, vt100 and a few other but with no success…
This happens both in esh and ksh (on the x86 machine I use ksh)…

Any ideas what might be the problem?

Regards,

Alexander Popov ProSyst Bulgaria Inc.
Team Leader 48 Vladajska Str.
Dept: Real Time OS and Java VM Sofia 1606, Bulgaria
Phone: +359 2 952 35 81/203 http://www.prosyst.com
Mobile: +359 87 663 193 OSGi Technology Leaders

Alexander Popov <s_popov@prosyst.bg> wrote:

Hi all,

I have a strange problem with vi ens other console apps that use specific terminal type.
On x86 with qnx 6.2.0 there are no problems ( the term type is qansi-m )
On ppc405 with qnx 6.2.1 when I try to start vim it crushes with “Unknown TERM type” error - the
terminal there is qansi.

You need the appropriate files from: /usr/lib/terminfo/
available on your target system.

In particular:

/usr/lib/terminfo/q/qansi-m

I tried to change it to qansi-m, vt100 and a few other but with no success…
This happens both in esh and ksh (on the x86 machine I use ksh)…

For vt100, it would be:

/usr/lib/terminfo/v/vt100

And, /etc/termcap is also a useful file for terminal type stuff.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Thanks David

On 23 Apr 2003 15:53:55 GMT David Gibbs <dagibbs@qnx.com> wrote:

Alexander Popov <> s_popov@prosyst.bg> > wrote:
Hi all,

I have a strange problem with vi ens other console apps that use specific terminal type.
On x86 with qnx 6.2.0 there are no problems ( the term type is qansi-m )
On ppc405 with qnx 6.2.1 when I try to start vim it crushes with “Unknown TERM type” error - the
terminal there is qansi.

You need the appropriate files from: /usr/lib/terminfo/
available on your target system.

In particular:

/usr/lib/terminfo/q/qansi-m

I tried to change it to qansi-m, vt100 and a few other but with no success…
This happens both in esh and ksh (on the x86 machine I use ksh)…

For vt100, it would be:

/usr/lib/terminfo/v/vt100

And, /etc/termcap is also a useful file for terminal type stuff.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.


Alexander Popov ProSyst Bulgaria Inc.
Team Leader 48 Vladajska Str.
Dept: Real Time OS and Java VM Sofia 1606, Bulgaria
Phone: +359 2 952 35 81/203 http://www.prosyst.com
Mobile: +359 87 663 193 OSGi Technology Leaders