Sponsored Content
Special Forums UNIX and Linux Applications integrating svn (subversion) with vi editor Post 302332798 by otheus on Friday 10th of July 2009 05:22:08 AM
Old 07-10-2009
There are three possibilities: 1. Create a wrapper script around vi. 2. Write autoload scripts and trigger scripts for vim. 3. Use the Linux iNotify feature.

1 is the most basic, but requires that all instances of vi (that users have access to) are moved to a special folder and replaced with soft-links to their new locations. It will still be (almost) impossible to prevent users from using the real editor, so you might be prepared for that.

2 requires everyone use and work with vim, which might be okay for you. The vim scripting language is powerful and you can benefit from complete control of the vim editor.

3 demands you use Linux or another OS with something like "inotify" which is a kernel feature. Processes can essentially tell the kernel "notify me if a file changes", and that process can for instance, so the svn commit. However, I don't know if you can control the aspect of user's login to svn.
 

10 More Discussions You Might Find Interesting

1. Programming

about wave file integrating.

Now I have two wave file(*.wav) at Tru64 Unix machine. I want to make a new wave file including the two wave file. how I should finish this programmer. If you know, can you give me the format of the wave file(*.wav) and Sun au file(*.au). Thank you. (1 Reply)
Discussion started by: livic
1 Replies

2. Red Hat

SVN subversion performance issue.

Hello to everyone, I am having svn performace issue. Whenever i am doing svn checkout it's slower on one machine than other Xen machine. I will try to explain what is goin on here. I have 3 machine and all three running linux (Centos 5) Machine A is running Svn server. Machine B... (6 Replies)
Discussion started by: email-lalit
6 Replies

3. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

4. UNIX for Advanced & Expert Users

Problem with Subversion SVN

Hi, I am trtying to install SVN server with Apache. I have already configured apache with SVN modulesh and the same can be seen in the modules directory. -rwxr-xr-x 1 root root 34740 Jul 3 13:43 mod_authz_svn.so -rwxr-xr-x 1 root root 385133 Jul 3 13:43 mod_dav_svn.so now the... (1 Reply)
Discussion started by: Siddheshk
1 Replies

5. UNIX for Dummies Questions & Answers

Integrating bash with sql.

Hi Guys, I m just curious to know whether it is possible to store the output of a shell command to a database . My main aim is to use a full capacity of sql language to analyze the output generated by shell script. for example. by storing the 5 instances of of top at different interval we... (6 Replies)
Discussion started by: pinga123
6 Replies

6. UNIX for Advanced & Expert Users

SVN Subversion Mac Questions

Hello all, I am the owner of a company that just lost it's programmer. Because I am not a programmer, I am trying to see if I can get some assistance setting up the following: Hey - couple questions On the SERVER SVN is kept. Is is maintained under the user USERSERVER The problem is... (0 Replies)
Discussion started by: yoyoyo777
0 Replies

7. Programming

Integrating Jconsole with Eclipse

Hi Guys, I was hoping someone has integrated Eclipse with jconsole to monitor their applications. I have not seen this in action . Any help is much appreciated http://images.devshed.com/fds/smilies/smile.gif Thanks (0 Replies)
Discussion started by: aish11
0 Replies

8. Solaris

How to integrate SVN client to SVN server repository.

Hi, I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7. bash-3.00# ./svn --version svn, version 1.7.4 (r1295709) compiled Mar 2 2012, 12:59:36 Here my requirement is how to integrate svn client to One of the SVN server repository. My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

9. SuSE

SVN(subversion) installation on SLES 11

I had installed svn on SLES 11 using comands: zypper addrepo http://download.opensuse.org/repositories/devel:tools:scm:svn/SLE_11/devel:tools:scm:svn.repo zypper refresh zypper install subversion But when I run svn it gives me error as: linux-uw85:~/Desktop # svn help svn: error while... (4 Replies)
Discussion started by: rupeshkp728
4 Replies

10. Shell Programming and Scripting

Making post down hook script for svn regarding sending emails after an file is committed in svn

Hi Folks , I am asking this question but i apologise please if this is not the correct forum , I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies
VIMTUTOR(1)						      General Commands Manual						       VIMTUTOR(1)

NAME
vimtutor - the Vim tutor SYNOPSIS
vimtutor [-g] [language] DESCRIPTION
Vimtutor starts the Vim tutor. It copies the tutor file first, so that it can be modified without changing the original file. The Vimtutor is useful for people that want to learn their first Vim commands. The optional argument -g starts vimtutor with gvim rather than vim, if the GUI version of vim is available, or falls back to Vim if gvim is not found. The optional [language] argument is the two-letter name of a language, like "it" or "es". If the [language] argument is missing, the lan- guage of the current locale will be used. If a tutor in this language is available, it will be used. Otherwise the English version will be used. Vim is always started in Vi compatible mode. FILES
/usr/share/vim/vim72/tutor/tutor[.language] The Vimtutor text file(s). /usr/share/vim/vim72/tutor/tutor.vim The Vim script used to copy the Vimtutor text file. AUTHOR
The Vimtutor was originally written for Vi by Michael C. Pierce and Robert K. Ware, Colorado School of Mines using ideas supplied by Charles Smith, Colorado State University. E-mail: bware@mines.colorado.edu. It was modified for Vim by Bram Moolenaar. For the names of the translators see the tutor files. SEE ALSO
vim(1) 2001 April 2 VIMTUTOR(1)
All times are GMT -4. The time now is 10:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy