CARVIEW |
patchPanel/
patchPanel
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.
Getting patchPanel from the CVS Repository
- Requirements
- How to check out patchPanel from CVS
- How to get the latest edits from CVS
- Compile patchPanel
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.
Requirements
- Disk space
- Checkout and build requires a paltry 250 K.
- CVS (version 1.10 or later)
- The concurrent version system. Common package names: debian: cvs, redhat: cvs
- c++ compiler
- I use g++. The version shouldn't matter. debian: g++, redhat: gcc-c++
- libc-dev
- For those not familiar with compiling C, you need to have dev libraries for libc. debian: libc6-dev, redhat:
- readline-dev
- debian: libreadline4-dev, redhat: ???
- ncurses-dev
- readline packages usually require ncurses, but in case of probs, look for debian: libncurses5-dev, redhat: ???
Anonymous CVS Checkout
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:
- Win95/98
doesn't have the notion of a home directory so you may have to set it
yourself or define it in
Admin/Preferences/WinCVS
in WinCVS - Make sure you are running at least CVS 1.10 or later.
Start by login as follows:
% cvs -d :pserver:anonymous@dev.w3.org:/sources/public login
after which you type "anonymous" as password.
Checkout the Latest Version
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.
Checkout a Specific Revision
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
How to Get the Latest Updates
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.
Compiling patchPanel
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
Eric Prud'hommeaux
$Date: 2004/09/08 19:17:27 $
Copyright © 2004 W3C (MIT, INRIA, Keio ), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.
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 | |
---|---|---|---|---|---|
![]() |
|||||
![]() |
|||||
![]() |
1.6 | 17 years | eric | - Vector.h | |
![]() |
1.20 | 17 years | eric | ~ switched to std::map | |
![]() |
1.4 | 21 years | eric | removed non-template stuff | |
![]() |
1.3 | 23 years | eric | more packaing | |
![]() |
1.1 | 23 years | eric | bit of packaging, lots of terminal control | |
![]() |
1.1 | 23 years | eric | bit of packaging, lots of terminal control | |
![]() |
1.2 | 23 years | eric | bit of packaging, lots of terminal control | |
![]() |
1.2 | 25 years | eric | s/this page intentionally left blank/not even started/ | |
![]() |
1.1 | 25 years | eric | now with exciting copyright info woo hoo! |
Webmaster