vi on strongArm does not work

starting ‘vi’ on StrongArm will be rejected with
‘unrecognized TERM type’ although
TERM is set to ‘vt100’
Any idea??

Volker

Volker Gottschalk <v_gottschalk@de.ibm.com> wrote:

starting ‘vi’ on StrongArm will be rejected with
‘unrecognized TERM type’ although
TERM is set to ‘vt100’
Any idea??

Is /usr/lib/terminfo available on your target?

Volker


cburgess@qnx.com

No, /usr/lib/terminfo is not on the SA board.
I tried to ftp ‘terminfo’ from a QNX6.1-x86 host but
/usr/lib/ on SA board is read-only.
Is it possible to load terminfo subsequently? If yes - in
which path? Or is it necessary to build a new image for the SA-board
which
includes ‘terminfo’??

Thanks for response!
Volker

Colin Burgess wrote:

Volker Gottschalk <> v_gottschalk@de.ibm.com> > wrote:
starting ‘vi’ on StrongArm will be rejected with
‘unrecognized TERM type’ although
TERM is set to ‘vt100’
Any idea??

Is /usr/lib/terminfo available on your target?

Volker


cburgess@qnx.com

Volker Gottschalk <v_gottschalk@de.ibm.com> wrote:

No, /usr/lib/terminfo is not on the SA board.
I tried to ftp ‘terminfo’ from a QNX6.1-x86 host but
/usr/lib/ on SA board is read-only.
Is it possible to load terminfo subsequently? If yes - in
which path? Or is it necessary to build a new image for the SA-board
which
includes ‘terminfo’??

Thanks for response!
Volker

If you have a place where you can install/extract the terminfo dir,
then you could use a proc sym link as a temp. measure

ln -svP /usr/lib/terminfo /usr/lib/terminfo

This should work, but you need to set the sym link each time you
reboot. When you next build an image for the board you can include
the diretory.

Peter

Colin Burgess wrote:

Volker Gottschalk <> v_gottschalk@de.ibm.com> > wrote:
starting ‘vi’ on StrongArm will be rejected with
‘unrecognized TERM type’ although
TERM is set to ‘vt100’
Any idea??

Is /usr/lib/terminfo available on your target?

Volker


cburgess@qnx.com

I believe you can also use the TERMINFO and TERMINFO_DIRS environment
variables to force vi to get terminfo from a different (non-standard)
location.

Rob Rutherford

“Peter Martin” <peterm@qnx.com> wrote in message
news:9offen$cim$1@nntp.qnx.com

Volker Gottschalk <> v_gottschalk@de.ibm.com> > wrote:
No, /usr/lib/terminfo is not on the SA board.
I tried to ftp ‘terminfo’ from a QNX6.1-x86 host but
/usr/lib/ on SA board is read-only.
Is it possible to load terminfo subsequently? If yes - in
which path? Or is it necessary to build a new image for the SA-board
which
includes ‘terminfo’??

Thanks for response!
Volker

If you have a place where you can install/extract the terminfo dir,
then you could use a proc sym link as a temp. measure

ln -svP /usr/lib/terminfo /usr/lib/terminfo

This should work, but you need to set the sym link each time you
reboot. When you next build an image for the board you can include
the diretory.

Peter

Colin Burgess wrote:

Volker Gottschalk <> v_gottschalk@de.ibm.com> > wrote:
starting ‘vi’ on StrongArm will be rejected with
‘unrecognized TERM type’ although
TERM is set to ‘vt100’
Any idea??

Is /usr/lib/terminfo available on your target?

Volker


cburgess@qnx.com

Of course, the other option is to add the following line to your mkifs
or mkefs build file…

/usr/lib/terminfo

which will suck back the whole directory in one-gulp.

chris


Robert Rutherford <ruzz@ruzz.com> wrote:

I believe you can also use the TERMINFO and TERMINFO_DIRS environment
variables to force vi to get terminfo from a different (non-standard)
location.

Rob Rutherford

“Peter Martin” <> peterm@qnx.com> > wrote in message
news:9offen$cim$> 1@nntp.qnx.com> …
Volker Gottschalk <> v_gottschalk@de.ibm.com> > wrote:
No, /usr/lib/terminfo is not on the SA board.
I tried to ftp ‘terminfo’ from a QNX6.1-x86 host but
/usr/lib/ on SA board is read-only.
Is it possible to load terminfo subsequently? If yes - in
which path? Or is it necessary to build a new image for the SA-board
which
includes ‘terminfo’??

Thanks for response!
Volker

If you have a place where you can install/extract the terminfo dir,
then you could use a proc sym link as a temp. measure

ln -svP /usr/lib/terminfo /usr/lib/terminfo

This should work, but you need to set the sym link each time you
reboot. When you next build an image for the board you can include
the diretory.

Peter

Colin Burgess wrote:

Volker Gottschalk <> v_gottschalk@de.ibm.com> > wrote:
starting ‘vi’ on StrongArm will be rejected with
‘unrecognized TERM type’ although
TERM is set to ‘vt100’
Any idea??

Is /usr/lib/terminfo available on your target?

Volker


cburgess@qnx.com

cdm@qnx.com > “The faster I go, the behinder I get.”

Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Of course, if it’s an embedded target you might not want to include
support for all the terminals (although they are very small, the default
set totals 100K on my system). If you only want to support pterms just
add /usr/lib/terminfo/q in your mkifs/efs buildfile (it’ll save you a
whopping 60K :slight_smile:.

-----Original Message-----
From: Chris McKillop [mailto:cdm@gateway.intra.qnx.com]On Behalf Of
Chris McKillop
Posted At: Sunday, September 23, 2001 10:47 PM
Posted To: os
Conversation: vi on strongArm does not work
Subject: Re: vi on strongArm does not work



Of course, the other option is to add the following line to your mkifs
or mkefs build file…

/usr/lib/terminfo

which will suck back the whole directory in one-gulp.

chris


Robert Rutherford <ruzz@ruzz.com> wrote:

I believe you can also use the TERMINFO and TERMINFO_DIRS environment
variables to force vi to get terminfo from a different (non-standard)
location.

Rob Rutherford

“Peter Martin” <> peterm@qnx.com> > wrote in message
news:9offen$cim$> 1@nntp.qnx.com> …
Volker Gottschalk <> v_gottschalk@de.ibm.com> > wrote:
No, /usr/lib/terminfo is not on the SA board.
I tried to ftp ‘terminfo’ from a QNX6.1-x86 host but
/usr/lib/ on SA board is read-only.
Is it possible to load terminfo subsequently? If yes - in
which path? Or is it necessary to build a new image for the
SA-board
which
includes ‘terminfo’??

Thanks for response!
Volker

If you have a place where you can install/extract the terminfo dir,
then you could use a proc sym link as a temp. measure

ln -svP /usr/lib/terminfo /usr/lib/terminfo

This should work, but you need to set the sym link each time you
reboot. When you next build an image for the board you can include
the diretory.

Peter

Colin Burgess wrote:

Volker Gottschalk <> v_gottschalk@de.ibm.com> > wrote:
starting ‘vi’ on StrongArm will be rejected with
‘unrecognized TERM type’ although
TERM is set to ‘vt100’
Any idea??

Is /usr/lib/terminfo available on your target?

Volker


cburgess@qnx.com

cdm@qnx.com > “The faster I go, the behinder I get.”

Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<<