View Full Version : Termcap and vi?
lcreech
02-16-2002, 10:48 PM
Following dsboyce's how-to on installing vi isn't working on 25xtreme. After fixing the libpath problem, no /etc/ld.so.conf or ldconfig by putting the libtermcap in /lib and chmod 755. I get the following error:
bash-2.02# export TERM=vt100
bash-2.02# /var/hack/bin/vim test
terminal entry not found '
vt100' not builtin. Available terminals are:
builtin_dumb
defaulting to 'dumb'
capabiliy cm required.^@
"test"[NewFile]~~~~~~~~~~~~~~~~~~~~~~ :q
!
bash-2.02#
RUBiK
02-16-2002, 11:11 PM
what does 'echo $TERMCAP' say?
it should be set to '/var/hack/.termcap'.. if not,
'export TERMCAP=/var/hack/.termcap'
check your .bashrc as the env variable is set there...
lcreech
02-17-2002, 12:10 AM
That solved it! It wasn't set. I think this should be in the How-To
Thanks
lcreech
02-17-2002, 12:16 AM
That solved it! It wasn't set. I think this should be in the How-To
Thanks
lcreech
02-17-2002, 12:44 AM
No sure how the double post happened, but this is what .bashrc should have in it, it would save alot of people trouble:
alias vi="vim"
export TERMCAP="/var/hack/.termcap"
export PATH="$PATH:/var/hack/bin"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/var/hack/lib"
RUBiK
02-17-2002, 02:50 AM
btw.. the .bashrc file that comes in that vi.zip file provided on this forum DOES contain all those variable definitions (minus the 'vi' alias, perhaps) and the instructions do mention to make sure to use the .bashrc file that is included (unless, of course, you know what you're doing and can just "merge" in the few new things into your custom .bashrc, etc.)
lcreech
02-17-2002, 01:30 PM
I see that it is. I could have sworn that I sent the new .bashrc over and was wondering why I had 2 copies of a dos users .bashrc. The new one is more like I'm used to.
Thanks
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.