.vimrc

Everything else.

.vimrc

Postby naodx » Thu Aug 16, 2001 5:34 am

I am relatively new to the world of unix programming and vim. I had previously installed vim-5.7 on my mac (under osx ) using instructions found at mac os x hints.com. In those instructions the author had a sample of his .vimrc file that he was running, which included color syntaxing and being able to use the arrow keys to navigate. Since installing vim-5.8, I receive the following errors, then vim starts up with no color syntaxing and no cursor control using the arrow keys.

Terminal entry not found in terminfo
'vt100' not known. Available builtin terminals are:
builtin_gui
builtin_ansi
builtin_xterm
builtin_iris-ansi
builtin_dumb
defaulting to 'ansi'

Terminal entry not found in terminfo
'beos-ansi' not known. Available builtin terminals are:
builtin_gui
builtin_ansi
builtin_xterm
builtin_iris-ansi
builtin_dumb
defaulting to 'ansi'

Below in a list of my .vimrc file that I'm running. Being new to this type of stuff I'm not even sure what alot of these things do, but I do enjoy being able to use color-syntaxing, using the arrow keys, being able to use the delete key to edit lines while in insert mode, and having the tab set to what I like.


set nocompatible
source $VIMRUNTIME/vimrc_example.vim
set selectmode=mouse
set backupdir=/tmp
set directory=/tmp
set guifont=Lucida_Console:h8
set guioptions-=T
set errorfile=/tmp/rutkowsk.errors.log
set ic
set grepprg=grep
set fileformats=dos,unix,mac
highlight StatusLineNC guifg=#ff0000 guibg=#000000
highlight StatusLine guifg=#00ff00 guibg=#000000
set hls
hi Normal guibg=black guifg=white
hi Search guibg=white guifg=black
hi IncSearch guibg=white guifg=black
set tags=./tags
set mousef
set term=builtin_beos-ansi
syntax on
set ts=4
set sw=4
set cindent
set et


Any ides that you can give me would be greatly appreciated. I'd like to bring back my settings I had in vim-5.7 to vim-5.8.

Thanks.
naodx
 
Posts: 5
Joined: Wed Aug 15, 2001 7:00 pm
Location: Omaha, Ne

Re: .vimrc

Postby apex » Thu Aug 16, 2001 6:18 am

Are you using vim under GTK+ or a terminal?
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm

Re: .vimrc

Postby naodx » Thu Aug 16, 2001 1:20 pm

I'm running vim under the os x terminal.
naodx
 
Posts: 5
Joined: Wed Aug 15, 2001 7:00 pm
Location: Omaha, Ne

Re: .vimrc

Postby apex » Thu Aug 16, 2001 9:57 pm

Do you have a recent ncurses installed?
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm

Re: .vimrc

Postby naodx » Fri Aug 17, 2001 3:09 am

Yes, I installed ncurses-5.0-990904, as per instructions. Also I installed libdl.pkg, also as recommended at versiontracker.com. Any idea what it may be? Should I try to re-install anything?


Thank you for your responses.
naodx
 
Posts: 5
Joined: Wed Aug 15, 2001 7:00 pm
Location: Omaha, Ne

Re: .vimrc

Postby apex » Fri Aug 17, 2001 5:52 am

I'm not sure what the problem is -- but i can try to debug a bit and maybe we can figure it out. Please email me the output of <BLOCKQUOTE><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><HR><pre>du /usr/local/share/terminfo</pre>[/quote]

apex@forked.net
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm

Re: .vimrc

Postby apex » Fri Aug 17, 2001 6:47 am

For interested parties the cause of this problem was not installing ncurses as root. ncurses isnt in .pkg format (yet) so to make a system wide installation it HAS to be done as root. If i wasnt stuck on a 14.4 I could download some of the older ports and convert them to packages [img]images/icons/tongue.gif"%20border="0[/img]
apex
 
Posts: 355
Joined: Sun Aug 05, 2001 7:00 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 13 guests

cron