CVS, Perl and VI


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting CVS, Perl and VI
# 1  
Old 03-04-2002
CVS, Perl and VI

I am trying to write a Perl script to cover a few CVS commands (setup specifically), however the VI screen that pops up and requests a comment, what is the best way of entering the text automatically (will be a variable name) and then saving that cvs notification from my Perl program?

Help is appreciated!
Shakey21
# 2  
Old 03-05-2002
Do you mean the "message" text when you do a checkin?

If so:

cvs ci -m "Your message text' filename


Check the appropriate manpages for more details.
# 3  
Old 03-06-2002
not really, when you do a commit, or import stuff into cvs it opens VI for the version comment. I just want to enter that comment automatically from the script and save, close. does that make sense?
Shakey21
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Help With CVS - Not enough space

Hi, I am having a strange issue with CVS. The output shows that there is not enough space for the .cvspass. the .cvspass is in the users home dir, which has 4GB available. Error Message: cvs status: cannot read /home/<user>/.cvspass: Not enough space cvs status: authorization... (6 Replies)
Discussion started by: techy1
6 Replies

2. AIX

Using cvs on AIX

Hello. I am using CVS on my AIX 6.1 box. I have gotten the repository setup and everything is working from command line. Now I want to use CVS on my Windows 7 machine using the remote repository on my AIX box. Has anyone else tried this? Why can't I get this to work? I have tried using... (3 Replies)
Discussion started by: hpodhrad
3 Replies

3. Shell Programming and Scripting

CVS file operation in Perl

Hi All, I have one CVS file, and doing some actions on it. I have removed some columns by SWITCH: { $column eq 'COL1' && do {next;}; $column eq 'COL2' && do {next;}; push(@columns, $column); ... (1 Reply)
Discussion started by: gentleDean
1 Replies

4. Red Hat

CVS Configuration Help

Hello, I have read a great deal of documentation on CVS and I hope I have not overlooked what I need but I have certain issues with CVS that I cannnot resolve. The setup for the /etx/xinetd.d file I have is as follows: # default: off # description: The CVS service can record the history... (2 Replies)
Discussion started by: mojoman
2 Replies

5. Red Hat

CVS on redhat

Hi all, i am trying to set up a CVS server on linux and to remote access the repository using WinCVS. I am facing some problem and i am unsure whether is it the client or the server not set up properly. In my winCVS client, i clicked Admin ->login and i specify my CVSROOT to be ":... (5 Replies)
Discussion started by: new2ss
5 Replies

6. Debian

What is CVS...?

Hi everyone... Could one of you kind Linux experts please let me know what CVS is In return I will kindly give you a thumbs up :b: a good trade I feel!! (1 Reply)
Discussion started by: TonyChapman
1 Replies

7. Solaris

cvs error

dear all I'm one of the CVS administrators here at my company and i have this cvs error in the messages Sep 18 07:20:37 dev cvs: Dying gasps received from client. can any one help me about this error ............. thanks murad jaber (1 Reply)
Discussion started by: murad.jaber
1 Replies

8. UNIX for Advanced & Expert Users

Cvs Cr-lf

I've experienced a problem with CVS when I've checked out sh script. When new build was created sources were checked out from CVS under Windows. Later this build was deployed under Linux und I recieved error from shell becouse of CR-LF EOL in file. I've tryed command dos2unix and become script... (7 Replies)
Discussion started by: Hitori
7 Replies

9. UNIX for Dummies Questions & Answers

CVS on UNIX

Hey guys, I am trying to setup CVS to run with an SSH connection, but am hitting a brick wall. I seem to be getting CVS to login correctly, but when I attempt to check out a module I am getting the following error: ksh: cvs: not found This is kinda implying to me that its not loading... (2 Replies)
Discussion started by: LiquidChild
2 Replies

10. UNIX for Advanced & Expert Users

Regarding Synchronizing 2 CVS.

Hi As a System Admin, I have to handle synchronzing 2 CVS. But I'm new to CVS & hardly have any knowledge of such tools. Please help me, is there any way, that can automatize the process for synchronizing the 2 remotely residing CVS database with out manual intervension. Ex:- CVA... (1 Reply)
Discussion started by: S.Vishwanath
1 Replies
Login or Register to Ask a Question