|Zathrus||cacrus: what's the output from uname -a ?|
|Zathrus||ye gods.... that really is 2.|
you should really run yum update.... there's been a "few" security fixes
|cacrus||Oh this machine is just running in my vmware|
its for temporary perl scripting
and I use vi for that purpose
this machine is not running anything importatn .
|Alumin||I'm surprised this information isn't on the web site (or maybe I just couldn't find it?), but...is there a list of signals you can send to a running vim process?|
specifically, I'm looking for one that will tell Vim to "save all documents and quit"
|kick_||cacrus: security isn't only about your data, it's also about what can be done with your machine to others . But I guess you haven't enabled access from the outside, or have you ?|
|cacrus||No , its on a private net|
|cacrus||but still , I am still curious why it won't work .|
|Zathrus||cacrus: how were you starting vim?|
|Zathrus||rpm -qf /bin/vi /usr/bin/vim|
|centosian||if you start vim as vi, it acts like traditional vi (unless you have a ~/.vimrc file then it acts like vim)|
|cacrus||hmm , I did try a couple of .vimrc files|
before installing vim-enhanced
same result .
|Zathrus||centosian: true, but his issue was that he was still using vim-minimal instead of vim-enhanced. If you start /usr/bin/vim as vi it'll do as you say, but the additional features will be available.|
|centosian||* oh *|
|Zathrus||cacrus: apples and oranges.|
cacrus: you were still running /bin/vi when you typed "vi", not /usr/bin/vim -- and /bin/vi is vim-minimal which does *NOT* have syntax highlighting.
Kick_: and yes, the vim in RHEL4/CentOS4 base doesn't have that uid check... although I'm sure you know this already.
|cacrus||aahhh , now I get it , so vi-enhanced might update the alias to vi , so this means when I restarted|
|Zathrus||cacrus: yes, in /etc/profile.d/vim.sh -- as you noted. You could've just logged out and back in.|
now I realised that I should have just logged out
|Zathrus||or just type "vim" in the first place, as jamessan will recommend|
|jamessan||yeah, type what you mean. vi doesn't always point to vim so why type vi when you don't want vi?|
|kick_||Zathrus: ;-) yes|
|Zathrus||jamessan: because I am lazy and typing vi is a two decade old habit :P|
and, frankly, because on systems I'm new on I'll take whatever the hell I can get and then kvetch if I get vi instead.