1832487 Members
4103 Online
110043 Solutions
New Discussion

what is RCS

 
SOLVED
Go to solution
Marc Ahrendt
Super Advisor

what is RCS

i am on 11.00 and learned that for a CVS application the RCS binaries are out-dated.
1) where do i get the latest RCS binaries?
...like /usr/bin/rlog which on my system is dated back to 02/1999
2) what does RCS even mean?
i searched the forums and docs.hp.com and found nothing, thx in advance for any help
hola
13 REPLIES 13
Patrick Wallek
Honored Contributor

Re: what is RCS

Here is a version of RCS (Revision Control System).
http://hpux.cs.utah.edu/hppd/hpux/Users/rcs-5.7/

This allows you to keep track of who is modifying whatever files you set RCS up to monitor.
Sridhar Bhaskarla
Honored Contributor

Re: what is RCS

RCS is revision control system where you can keep track of versions of files. I thoroughly use RCS for my scripts. It offers basics revision control but if you need it for bigger tasks, there are professional softwares like PVCS, HP Softbench etc.,

If a "check-in" is applied to a file, it creates the RCS archive of the file with a suffix of ,v.

For ex., if your script is my_script

$ci my_script

will create a ,v file. Now you can checkout this file, modify and keep checking in to create revisions.

rlog gives you the information about the RCS archive and the revision histories and tags.

It comes by default with HP and I don't think we can do anything to upgrade the "version of RCS" itself.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Eileen Millen
Trusted Contributor

Re: what is RCS

It is used for keeping track of changes in programs or files.
revision control - not sure what s is.
The man page says that it was developed by
Walter R. Tichy
Eileen
linuxfan
Honored Contributor

Re: what is RCS

Hi Marc,

Here are couple of links for RCS tutorials

http://www.csc.calpoly.edu/~dbutler/tutorials/winter96/rcs/

Very basic tutorial for RCS
http://galton.uchicago.edu/~gosset/Compdocs/rcs
.html

-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Santosh Nair_1
Honored Contributor

Re: what is RCS

I'm not sure that I understood your first statement, but as far as I know, CVS no longer depends on RCS...at least as of v.1.10.

-Santosh
Life is what's happening while you're busy making other plans
Marc Ahrendt
Super Advisor

Re: what is RCS

Patrick: i downloaded the source code and tried to do a "make" and got the following error
"./conf.sh: This command should not be run with superuser permissions."
1) i cannot install as root?

Sridhar: i think/hope i can upgrade the RCS version that ships with HP-UX 11.00 ...because its over 2 years old in my newly installed system!

Ramesh: that uchicago.edu link forbids me from seeing anything

Santosh: actaully i need updated RCS stuff for viewcvs and/or cvsweb ...not for CVS itself. viewcvs/webcvs allow users to view files on the browser

2) has anyone had any luck installing RCS on HP-UX 11.00, as i mentioned to Patrick, i am having problems with the source code from his given link

thx again, and for such quick responses!
hola
Patrick Wallek
Honored Contributor
Solution

Re: what is RCS

Did you try downloading the precompiled binaries? If you get those for 11.0, you should just have to gunzip them and install via swinstall.

It's a lot easier than trying to compile your own.
Sridhar Bhaskarla
Honored Contributor

Re: what is RCS

I really wonder if the version of RCS in the WEB is an upgrade for what you have as the default. I am not quite sure. I feel you may want to check the patches for upgrading the version.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Santosh Nair_1
Honored Contributor

Re: what is RCS

Mark,

That's odd. I just downloaded the source from the same URL and was able to compile and install as root. I just untarred the source, did a make, and then did a make install.

Could you try deleting the unarchived source, re-extracting from the archive and then try to build it.

-Santosh
Life is what's happening while you're busy making other plans
linuxfan
Honored Contributor

Re: what is RCS

Hi Marc,

In the previous post the .html was missing, but this should work.

http://galton.uchicago.edu/~gosset/Compdocs/rcs.html

Also i tried downloading the rcs 5.7 and tried make both as a regular user and as root and had no problem.

I infact tried recreating the Makefile (./configure.old) and then ran make, had no problems. (when HP bundled this software, they modified the configure and moved it to configure.old)
-Ramesh
They think they know but don't. At least I know I don't know - Socrates
Marc Ahrendt
Super Advisor

Re: what is RCS

Patrick: i feel that is cheating, but i did what you said (got the depot) and it installed into /opt/rcs OK
1) now i have the problem of having RCS binaries in /usr/bin (old ones) and in /opt/rcs (new ones)
2) now i have the problem of having RCS man pages in /usr/share/man/man1.Z (old) and in /opt/rcs/man (new)
3) is it OK to just move the binaries and man pages over, and redo "catman -m" ...as so not to modify PATH and MANPATH

Sridhar: yes, viewcvs needs a later version of rlog to function properly

Santosh: thx for your input, i did it your way and the make was OK. it was not clear to me that you could just run make after tar. i ran configure after tar (mv configure.old configure) then ran make to get the error

Ramesh:
1) if you got make to work after doing a configure, then i am just wondering if you did that as root?

thx again for your great responses!
hola
Sridhar Bhaskarla
Honored Contributor

Re: what is RCS

oh ok... I never got to work with CVS... So didn't get to install the later version of RCS.

Anyway.. time to call it a day..

Enjoy your weekend.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Bill Thorsteinson
Honored Contributor

Re: what is RCS

RCS - Revision Control System (file based)
CVS - Concurrent Versioning System (project based)

I use both extensively. The latest versions of CVS use
an internal implementation of RCS. For managing
sets of files in a directory tree CVS works well. Remote
access and concurrent development are well handled.

For tracking changes to single files or small sets of
files I use RCS. I track my system configuration file
changes this way.

CVS uses a CVS subdirectory to track changes and
location of the central repository.

RCS will use an RCS subdirectory to store the RCS files.

As CVS uses RCS to manage files, individual files can be moved between the two systems. Both handle
branching, change logging, and other configuration
management issues.