#vim - Mon 30 Apr 2007 between 12:24 and 12:38

NY Lost Funds



Zathruscacrus: what's the output from uname -a ?
cacrusits 2.6.9-34.EL
Zathrusye gods.... that really is 2.
you should really run yum update.... there's been a "few" security fixes
cacrusOh 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 .
AluminI'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 ?
cacrusNo , its on a private net
kick_o
k
;-)
cacrusbut still , I am still curious why it won't work .
Zathruscacrus: how were you starting vim?
cacrusvi
Zathrusthat's why.
cacrus??
Zathrusrpm -qf /bin/vi /usr/bin/vim
centosianif you start vim as vi, it acts like traditional vi (unless you have a ~/.vimrc file then it acts like vim)
s/like/more like/
cacrushmm , I did try a couple of .vimrc files
before installing vim-enhanced
same result .
Zathruscentosian: 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 *
Zathruscacrus: 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.
cacrusaahhh , now I get it , so vi-enhanced might update the alias to vi , so this means when I restarted
Zathruscacrus: yes, in /etc/profile.d/vim.sh -- as you noted. You could've just logged out and back in.
cacrusyes
now I realised that I should have just logged out
Zathrusor just type "vim" in the first place, as jamessan will recommend
jamessanyeah, type what you mean. vi doesn't always point to vim so why type vi when you don't want vi?
kick_Zathrus: ;-) yes
Zathrusjamessan: 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.

Page: 2 9 

IrcArchive

NY Lost Funds