home *** CD-ROM | disk | FTP | other *** search
-
- Minimal Test Client for Pserver
- ===============================
-
- This is a really stupid little test and demonstration program that sends
- messages packed with different kinds of data to Pserver for formatting.
- These is little variety to the messages -- they just increment a count or
- two each time -- and you have no control over their content. I expect
- there to be more satisfying uses of Pserver than this.
-
- The program requires a console for both input and output, so it is probably
- best started in a CLI of its own (or you can use separate redirected
- windows for input and output). For proper operation of course you must
- also have Pserver running (with its own output window) before you try to
- send a message. (MinClient will inform you if it isn't.) Of course there
- is no problem in running several copies of MinClient.
-
- Each time you type the return key in its console, MinClient sends a message
- to Pserver for formatting. If you just type a return, the output will
- appear in the server's window, but you can redirect it back to your own via
- two paths, by typing a selection character before the return. If you type
- "f<return>" ("File"), Pserver will be passed the file handle of MinClient's
- OWN console, and the output will appear there instead. If you type
- "m<return>" ("Message"), it will be requested to pass the output string
- back to MinClient -- to do with as it will. What it actually does is just
- display it in this case. (Other characters will do the same job -- see the
- source; this is simply because I was used to them from another context.)
-
- You can send a 'QUIT' message to Pserver by "q<return>" (leaving MinClient
- running). Pserver will also quit if all copies of MinClient (or any other
- clients using port "Print_Format") exit. (You can start Pserver first,
- though, and it WILL wait around until a client shows up.)
-
- For more details on the workings of Pserver and MinClient, please refer
- directly to the sources. Their operation is heavily commented.
-
- ++++++++++++++++
-
-