Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » General Discussion   » .vimrc

UBBFriend: Email this page to someone!    
Author Topic: .vimrc
naodx
Junior Member
Member # 20

posted August 15, 2001 10:34 PM      Profile for naodx   Email naodx   Send New Private Message      Edit/Delete Post  Reply With Quote 
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.


Posts: 5 | From: Omaha, Ne | Registered: Aug 2001  |  IP: Logged
apex
Administrator
Member # 1

posted August 15, 2001 11:18 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
Are you using vim under GTK+ or a terminal?
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
naodx
Junior Member
Member # 20

posted August 16, 2001 06:20 AM      Profile for naodx   Email naodx   Send New Private Message      Edit/Delete Post  Reply With Quote 
I'm running vim under the os x terminal.
Posts: 5 | From: Omaha, Ne | Registered: Aug 2001  |  IP: Logged
apex
Administrator
Member # 1

posted August 16, 2001 02:57 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
Do you have a recent ncurses installed?
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
naodx
Junior Member
Member # 20

posted August 16, 2001 08:09 PM      Profile for naodx   Email naodx   Send New Private Message      Edit/Delete Post  Reply With Quote 
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.


Posts: 5 | From: Omaha, Ne | Registered: Aug 2001  |  IP: Logged
apex
Administrator
Member # 1

posted August 16, 2001 10:52 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
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
code:
du /usr/local/share/terminfo

apex@forked.net


Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
apex
Administrator
Member # 1

posted August 16, 2001 11:47 PM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
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
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2