patchPanel is a little tool for redirecting the output of one netstream to the input of another. It has proven to be very useful in debugging and testing HTTP agents. Below are some instructions for getting it from CVS. Please see the README for more information on obtaining, building, using, and hacking. Send mail to me if you need furthur assistance.
The following requires that you are familiar with CVS - if not then look at Cyclic's pages on CVS or the excellent information provided by Pascal.Molli.
You can get the source for patchPanel from the W3C CVS server.
Anonymous checkout is read-only access which allows you to get the latest edits and to provide patches to be integrated into the code base. The instructions should work for both Unix and Windows. A couple of notes:
Admin/Preferences/WinCVS
in WinCVSStart by login as follows:
% cvs -d :pserver:anonymous@dev.w3.org:/sources/public login
after which you type "anonymous" as password.
To get the latest version from the CVS repository, run this command:
% cvs -d :pserver:anonymous@dev.w3.org:/sources/public -z3 checkout patchPanel
After which you will get all the code coming at you. Now you are ready to Compile.
Check the CVS log walker for the current set of release tags. If you at some point want to revert to the latest untagged version then you should use the following command:
% cd patchPanel % cvs -z3 update -A
The big advantage of using CVS is that you easily can keep your version of the code base up to date with the latest edits and changes committed to CVS.
Once you have checked out the patchPanel CVS trees (not a specific revision), you can get any updates committed to the tree by using the cvs update command like this
% cd patchPanel % cvs -z3 update -d % cd ..
It is important that you use the "-d" flag so that you get new directories as well as updated files. Now you MUST repeat the compilation procedure.
The Makefile knows how to build patchPanel:
make patchPanel
You can build a version with debugging symbols as well:
make patchPanel.debug
You can use the debugging symbols in debuggers like gdb, which can be launched from the console:
gdb patchPanel.dbg
or from emacs's gdb-mode
M-x gdb gdb patchPanel.dbg
Click on a directory to enter that directory. Click on a file to display its revision history and to get a chance to display diffs between revisions.
Current directory: [Public] / patchPanel
File | Rev. | Age | Author | Last log entry | |
---|---|---|---|---|---|
Parent Directory | |||||
Attic/ [show] | |||||
Makefile | 1.6 | 15 years | eric | - Vector.h | |
patchPanel.cpp | 1.20 | 15 years | eric | ~ switched to std::map | |
README.cvs.html | 1.4 | 19 years | eric | removed non-template stuff | |
README | 1.3 | 21 years | eric | more packaing | |
sample.pnl | 1.1 | 21 years | eric | bit of packaging, lots of terminal control | |
showTTY.cpp | 1.1 | 21 years | eric | bit of packaging, lots of terminal control | |
.cvsignore | 1.2 | 21 years | eric | bit of packaging, lots of terminal control | |
patchPanel.html | 1.2 | 24 years | eric | s/this page intentionally left blank/not even started/ | |
Copyright | 1.1 | 24 years | eric | now with exciting copyright info woo hoo! |