Vedit question

Hi,
I am trying to create a very limited version of qnx4.25 to put on a
small CompactFlash card. I would like to have vedit on the card. I tried
copying over the /qnx4/vedit directory onto my Flash disk, but when I
run vedit I get the following message

term_load error. No such file or directory

does anyone have any idea why?


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

Nevermind, forgot to add the terminfo directory in /usr/lib to the Flash
card.

Chris Nasr wrote:

Hi,
I am trying to create a very limited version of qnx4.25 to put on a
small CompactFlash card. I would like to have vedit on the card. I tried
copying over the /qnx4/vedit directory onto my Flash disk, but when I
run vedit I get the following message

term_load error. No such file or directory

does anyone have any idea why?


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

Chris Nasr <cnasr@mechtronix.ca> wrote:

Hi,
I am trying to create a very limited version of qnx4.25 to put on a
small CompactFlash card. I would like to have vedit on the card. I tried
copying over the /qnx4/vedit directory onto my Flash disk, but when I
run vedit I get the following message

term_load error. No such file or directory

I think you need the /usr/lib/terminfo/q/* stuff.
Or maybe you need /etc/termcap.

One of the two – there are two different libraries for doing
terminal independent programming – termlib and termcap – and
one needs /etc/termcap, and the other needs the /usr/lib/terminfo stuff.

-David

QNX Training Services
dagibbs@qnx.com

Ok, vedit works now, it even works in telnet (when using Kermit95) but I also
want to make vi work in case someone is just using regular telnet.
It works fine in standard qnx, but when run in telnet I get this message

Unrecognized TERM type

does anyone know why? Perhaps I have not setup telnetd right somehow, although
it works fine in Kermit95 using the qansi type.


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.

You might need to change the TERM environment variable when you telnet to
whatever server you’re connecting with. For example, when I telnet to my
FreeBSD machine, and try to do terminal-dependent stuff, I have to set TERM
to be vt100 (or whatever term type you want). Then it seems to work.

R B Adler


“Chris Nasr” <cnasr@mechtronix.ca> wrote in message
news:3AEEB783.35784834@mechtronix.ca

Ok, vedit works now, it even works in telnet (when using Kermit95) but I
also
want to make vi work in case someone is just using regular telnet.
It works fine in standard qnx, but when run in telnet I get this message

Unrecognized TERM type

does anyone know why? Perhaps I have not setup telnetd right somehow,
although
it works fine in Kermit95 using the qansi type.


Chris Nasr
cnasr[at]mechtronix[dot]ca
Mechtronix Systems Inc.