Scroll to navigation

tkxcd(n) tkxcd(n)

NAME

tkxcd tk xcleardiff look-a-like

SYNOPSIS

tkxcd [ file_old file_new ] |
[ -rcs file_name version_old version_new ] |
[ -rcs file_name version_old ] |
[ -rcs file_name ]

COPYRIGHT

tkxcd 1.1.0 is Copyright (c) 1996 by John C. Quillan

DESCRIPTION

tkxcd is a diff front end that has a look and feel similar to that of Artia Clearcases xcleardiff. It is written in tcl/tk.

This program displays diffs side by side highlighting the changed, inserted, and deleted areas in different colors. It will add extra lines that are not highlighted to keep the identical lines next to each other.

There is are two buttons (Previous Diff)and (Next Diff) which will jump through the files to the next location that there are differences. There is also a button labeled (U) or (L) which will let you change the status of the two windows synchronized scrolling. L is for Linked which means that the two windows scroll in sync when either scrollbar is moved. The U means that the two windows are Unlinked and scroll separately.

OPTIONS

use the rcs mode which can diff two versions of a file or the current version verses a previous version or a current version against what it is checked out from.

CONFIG FILE

There are configurable variables that can change the look of tkxcd.

The file is located in you home directory is called


.tkxcdrc
Set font (Any X11 Font) (default 6x10)
Set if there should be color highlighting on left side window (default 0)
Delete Color (default red1)
Insert Color (default green3)
Change Color (default DodgerBlue1)
Determines if window text is edit-able or not (default 0)

MENUS

WARNING: The only menu that currently works is the file->quit.

EXAMPLES

Here are some examples

To diff two text file foo_old.c and foo_new.c

tkxcd foo_old.c foo_new.c

to diff two version of a RCS file foo.c for 1.4 and 1.2

tkxcd -rcs foo.c 1.2 1.4

to diff the current version of a RCS file against a old version 1.3

tkxcd -rcs foo.c 1.3

to find out what you have change since you checked out foo.c

tkxcd -rcs foo.c

AUTHOR

John C. Quillan quillan@doitnow.com

http://www.doitnow.com/~quillan

BUGS

1.
The Previous_Diff and Next_Diff buttons do not keep track of where you manually scroll in the file, so if you scroll to the bottom of a file with a diff at the very top, hitting Next_Diff will return you to the top of the file.

2.
The implementation of the RCS code is not very good and could use some improvement.

3.
Will not recognize if two files are identical.

4.
Does not support any other version control products.

5.
To windows will not re-sync when you re-link them with the re-link button.

1997 Feb 04 John C. Quillan