![]() |
editing ~/.vimrc in FreeBSD
I have made it to the file but I am wondering what to do in order to create syntax highlighting. I have added the line
Code:
syntax oncould this be a reason? thanks |
does ":syntax on" work when you type it in vim interactively?
|
Quote:
Code:
sudo apt-get install vim-full |
this should be the full vim:
http://ftp2.at.freebsd.org/pub/FreeB...-7.2.166_1.tbz compared to vim-lite-7.2.166_1.tbz does freebsd give you options what to install when you use pkg_add -i vim ? vim syntax highlighting: http://www.vim.org/htmldoc/syntax.html basically to enable it, it's :syntax enable |
These are directly from the very useful handbook Press Previous to package method :-) (2 methods: Package method and port method)
http://www.freebsd.org/doc/en/books/...rts-using.html You can use Code:
pkg_add -r vimCode:
portsnap fetchCode:
portsnap fetchthen goto /usr/ports/editors/vim Code:
make install cleanif you dont have X installed then i dunno this is a little old article http://www.tequilafish.com/2005/08/1...out-x-windows/ |
error: FTP Unable to get ftp://ftp.freebsd.org/etc etc etc No address record.
pkg_add: unable to fetch 'ftp://ftp."""" by URL |
seems as though I don't have any internet connection....
|
Tried the ports method?
You really have no connectivity to anything in there? ifconfig? Btw how old your FreeBSD is? if its VERY old then http://lessfaq.wordpress.com/2008/05...ecord-freebsd/ But i dont think that is the case.. Is DNS working (etc/resolv.conf)? output of Code:
host ftp.freebsd.org |
Quote:
so I am pretty confused right now. |
Seems like you have only the loopback device there (lo0)
Could you post the output of Code:
ifconfigAlso if you kindly would post what says Code:
dmesg |
$ ifconfig
Code:
fwe0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500Code:
ums0: 3 buttons and Z dir. |
fwe0 is your wireless ethernet over firewire? you use that or the card. (rj45)
Code:
bfe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500It seems it doesn´t get any ip, you have static ip or do you normally get it automatically. try command Code:
dhclient bfe0and post the output. thanks. To get the dhcp work at boottime place this line to your /etc/rc.conf Code:
ifconfig_bfe0="DHCP" |
Kazahh it works....thank you very much.
|
| All times are GMT -5. The time now is 12:28 PM. |