vi and term type

Hi,

When I try to start vi on my embedded system it says that it can’t
recoginize the term type. The TERM env. var is set to qansi-m, I also tried
ansi, and vt100. I must be missing some files needed that define the term
types. Can anybody tell me what the problem might be.


Thanks,
Paul Vander Byl

Paul Vander Byl <paul@gandacar.ca> wrote:

Hi,

When I try to start vi on my embedded system it says that it can’t
recoginize the term type. The TERM env. var is set to qansi-m, I also tried
ansi, and vt100. I must be missing some files needed that define the term
types. Can anybody tell me what the problem might be.



Thanks,
Paul Vander Byl

Hello Paul,

I think it would one of the following:

/etc/termcap
/usr/lib/terminfo

Good luck.

The one file you need will be /usr/lib/terminfo/q/qansi-m.

If you wish to support more terminal types, you could copy the rest of the
terminfo files over as well (they’re small).

Kris

<dleach@qnx.com> wrote in message news:abeau2$ol9$1@nntp.qnx.com

Paul Vander Byl <> paul@gandacar.ca> > wrote:
Hi,

When I try to start vi on my embedded system it says that it can’t
recoginize the term type. The TERM env. var is set to qansi-m, I also
tried
ansi, and vt100. I must be missing some files needed that define the
term
types. Can anybody tell me what the problem might be.


Thanks,
Paul Vander Byl

Hello Paul,

I think it would one of the following:

/etc/termcap
/usr/lib/terminfo

Good luck.

Thanks,

Do you think it matters that these files belong to the sys group and
when I copy them over they now become root.


Paul Vander Byl


“Kris Warkentin” <kewarken@qnx.com> wrote in message
news:abee9b$rap$1@nntp.qnx.com

The one file you need will be /usr/lib/terminfo/q/qansi-m.

If you wish to support more terminal types, you could copy the rest of the
terminfo files over as well (they’re small).

Kris

dleach@qnx.com> > wrote in message news:abeau2$ol9$> 1@nntp.qnx.com> …
Paul Vander Byl <> paul@gandacar.ca> > wrote:
Hi,

When I try to start vi on my embedded system it says that it can’t
recoginize the term type. The TERM env. var is set to qansi-m, I also
tried
ansi, and vt100. I must be missing some files needed that define the
term
types. Can anybody tell me what the problem might be.


Thanks,
Paul Vander Byl

Hello Paul,

I think it would one of the following:

/etc/termcap
/usr/lib/terminfo

Good luck.

I don’t expect it would matter as long as they’re world readable.

Kris

“Paul Vander Byl” <paul@gandacar.ca> wrote in message
news:abefh8$sag$1@inn.qnx.com

Thanks,

Do you think it matters that these files belong to the sys group and
when I copy them over they now become root.


Paul Vander Byl


“Kris Warkentin” <> kewarken@qnx.com> > wrote in message
news:abee9b$rap$> 1@nntp.qnx.com> …
The one file you need will be /usr/lib/terminfo/q/qansi-m.

If you wish to support more terminal types, you could copy the rest of
the
terminfo files over as well (they’re small).

Kris

dleach@qnx.com> > wrote in message news:abeau2$ol9$> 1@nntp.qnx.com> …
Paul Vander Byl <> paul@gandacar.ca> > wrote:
Hi,

When I try to start vi on my embedded system it says that it
can’t
recoginize the term type. The TERM env. var is set to qansi-m, I
also
tried
ansi, and vt100. I must be missing some files needed that define
the
term
types. Can anybody tell me what the problem might be.


Thanks,
Paul Vander Byl

Hello Paul,

I think it would one of the following:

/etc/termcap
/usr/lib/terminfo

Good luck.
\