ftp.nice.ch/pub/next/unix/developer/RevScanner.README

This is the README for RevScanner.s.tar.gz [Download] [Browse] [Up]

RevScanner
by Dave Strout
NeXT Developer
Information Sciences Institute
dstrout@darpa.mil

RevScanner is an Object that looks through whatever file contains it to find all the RCS keywords.  See co(1) for a list of the keywords.

To use it:
1. Copy RevScanner.[hm] into your Project directory.
2. Add RevScanner to your project in the inspector.
3. Create an instance of RevScanner.
4. Add a Scrolling Text Field from the IB Text palette to your project.
	This is where the RCS header info will appear.
5. Connect a control (menu item, button) to the action 'scan:' on the
	RevScanner Instance.
6. Connect the outlet 'theScrollingText' to the Scrolling text object
	from step 4.
7. If the Scrolling Text is on a panel or window, connect the outlet
	'thePanel' to the title bar.

That's it!

In each of your file that are in the project, put a line like:

static char rcsid[]="$Id";

Note that it doesn't have to be rcsid specifically, but it should be static to avoid collision with your other files.


Feedback is welcome.

dave.
dstrout@darpa.mil

PLEASE NOTE:
conf.h, rcsbase.h, rcsmap.h, and the match() function in RevScanner are butchered from RCS 5.5, which is:

Copyright (C) 1982, 1988, 1989 Walter Tichy
   Copyright 1990 by Paul Eggert
   Distributed under license by the Free Software Foundation, Inc.

None of these people bear any responsibility for these files in the form presented here.  They may not even know that these versions exist.  IT'S NOT THIER FAULT!

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.