Home > Perl > Introduction > GUI Application for CVS
GUI Application for CVS
Written by Philip L Yuson   

Who is this for
This article is for those who want to manage their CVS repositories and source codes using a GUI.

Warning, tkcvs might not work in Windows.

What you need to know

Perl Programming
Background on CVS

Now that you know how to checkout and import your source codes, you will sometimes want to know the difference between your source code and the one in the repository.

There are cvs commands to let you do this, but there is a better and easier way

tkcvs: GUI Front End for CVS
tkcvs lets you manage your source codes without you having to know cvs commands. Like all GUI applications, tkcvs shields you from memorizing the commands.

What you need to use tkcvs
FIrst, you will need the Tcl/Tk interpreter. If you are using Unix/Linux, you have a good chance that it is already installed. If you are using Windows, you will need to download the Windows exec file from Activestate.

Execute the downloaded Windows Exec file, to install the Tcl/Tk interpreter.

Determining if Tcl/Tk is installed
Start a command prompt window. In Unix/Linux, you need to be in a Window Manager (ex: KDE or GNOME).

Type:tclsh and press ENTER. This should display a percent sign at the leftmost side of the next line. Type exit to exit from the Tcl interpreter.

Your session should look like this:

C:\> tclsh
% exit

Where to get tkcvs
Since tkcvs is a Tcl/Tk script, you do not need to compile it. Just download the source and you are ready to go.

You can download the source from http://www.twobarleycorns.net/tkcvs.html. Select the zip file for your operating system. Save it onto your disk.

Unzip the downloaded file and you are ready to go

Starting tkcvs

  • Start the command prompt window again.

  • Go to the directory where you unzipped tkcvs.

  • Go to the bin directory under this.

  • Type this on the command prompt: wish tkcvs

This should display the tkcvs application.tkcvs Initial Window.

  • The topmost part of this window is the menu and the current directory.

  • The second part of this window is the file and information for each file.

  • The bottom part shows the filters that you can apply to the files displayed and also the buttons for performing cvs functions. Try placing the cursor on top of the buttons for a few seconds and it will show you what these buttons do.

Navigate through your disk and go to a cvs directory. It should display the status of your files and the dates and version number of each file.

For more information on how to use tkcvs, you can check out the Help facility of tkcvs

Copyright: © 2018 Philip Yuson