Re: Vim test suite

2006-12-18 Thread A.J.Mechelynck

Nikola Knezevic wrote:

Hi,
is there any vim test suite and where I can find it?

I would like to run the tests on vim compiled from repository, to check 
is everything is ok.


Thanks.
Nikola



Install the sources, see
(W32)   http://users.skynet.be/antoine.mechelynck/vim/compile.htm
(U*x)   http://users.skynet.be/antoine.mechelynck/vim/compunix.htm

compile Vim, then run make test. I don't know if it works on Windows.

What is your problem? After I compile Vim, if
src/vim --version |more (on Unix-like systems)
or
src\vim --version |more (on Dos-like systems)
src\gvim
:version
:q

can be run, and shows the correct version, the correct featureset (Normal, 
Big, Huge, etc.), and the +features dear to me, I usually regard the build as 
correct (until or unless I come aross a bug), and I install the result of 
the compile to where it will have to run (after closing any Vim process).


You may also want to redirect the output from the (compile) make to a logfile 
and examine that at leisure. Some warnings are unavoidable, like those for 
(IIRC) the Perl and Python interfaces.


The current release/patchlevel is 7.0.178.


Best regards,
Tony.


Re: Vim test suite

2006-12-18 Thread Nikola Knezevic

On 18 Dec 2006, at 15:15 , A.J.Mechelynck wrote:



What is your problem? After I compile Vim, if
src/vim --version |more (on Unix-like systems)
or
src\vim --version |more (on Dos-like systems)
src\gvim
:version
:q



Thanks Tony.
I don't have problem with Vim :) I'm doing research on system  
manageability, and I'm experimenting how an app behaves on different  
systems/different versions. Vim is sth I use every day, so I thought  
starting from it.
make test is something I really appreciate, since I can run then  
automatically.


I would also need older versions. How to/where from obtain them?

Cheers,
Nikola






Re: v107m of netrw available -- needs testing!

2006-12-18 Thread Charles E Campbell Jr

scott wrote:


i am running SUSE linux 10.0, my current vim is 7.0.178

i've tried this before in an attempt to get away from the way all these
latest netrws reset my formatoptions for me

I'm afraid that I don't see this problem.  I've even tried it with your 
stated preference of fo=tcroqn.


vim somefile
:Explore somedirectory
(select a file)

and the resulting formatoption still has tcroqn (I put  set fo=tcroqn 
into my .vimrc for testing).


I also tried it using   vim -g -c Explore   and the formatoption's t was 
still retained.


Are you sure you disabled/removed the older version of netrw?


this one gives numerous errors:

Error detected while processing function netrw#Explore:
line2:
E121: Undefined variable: b:netrw_curdir
E15: Invalid expression: b:netrw_curdir
line   68:
E121: Undefined variable: curfile
E116: Invalid arguments for function 
substitute(curfile,'^.*/','','e').'\','cW')

E116: Invalid arguments for function search
 



I've got this Explore bug fixed in v107n.

And, about vimball:  read   :help usevimball   to find out how to 
override the use of the

runtimepath's first directory as the root for unpacking the vimball.

Regards,
Chip Campbell



swapping three columns in a file..

2006-12-18 Thread sasikumar.kandhasamy


Hi All,

  How to swap the three columns in file without using substitute
command? 

Let us say file with the following contents,

//BOF

A1 B1 C1 

A2 B2 C2

//EOF.

 Then after swapping the file content should be,

//BOF

C1 A1 B1

C2 A2 B2

//EOF

Thanks  Regards,
Sasikumar Kandhasamy
Project Engineer
Wipro Technologies
Madivala-1|Bangalore.
 
Mobile- +91-9986378586 | Phone: 30292842
 
Dreams into Thoughts and Thoughts into Actions -- Dr. A P J Abdul
Kalam


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com