Thread: man page for curl-loader
Status: Alpha
Brought to you by:
coroberti
From: BuraphaLinux S. <bur...@gm...> - 2007-06-25 07:51:55
Attachments:
curl-loader.1
|
Attached is a man page for curl-loader, since it appears there is not one that comes in the curl-loader-0.32 package. Would you like a man page for the configure file too? |
From: Robert I. <cor...@gm...> - 2007-06-25 15:43:56
|
On 6/25/07, BuraphaLinux Server <bur...@gm...> wrote: > Attached is a man page for curl-loader, since it appears there is not > one that comes in the curl-loader-0.32 package. > > Would you like a man page for the configure file too? Yes. Great! Thank you very much indeed. Actually, we need also a way to update, edit and correct as our procedure. Can you propose something? Thanks. Michael, we should arrange a Makefile target install, which will install our binary (no libs till now, all linked static), docs like config files examples, README and, finally, man-pages. May be it is worth to have a single man-page for all curl-loader issues? Your opinions would be very much appreciated. -- Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |
From: BuraphaLinux S. <bur...@gm...> - 2007-06-26 08:49:41
|
Hello, Updating the version and date is easy. Try this solution. In the top-level Makefile, near the top add these two lines: VERZUN=0.32 DEIGHT=`date +"%B %d, %Y"` Each release, change the VERZUN line to have the correct version number, or have a more elaborate rule that can generate it somehow. Then near the end before the generic rules add this (gmail may wrap and will probably ruin the real tabs you need; sorry; assuming GNU make): .PHONY: curl-loader.1 curl-loader.1: curl-loader.man sed -e"s/DUHVERZUN/$(VERZUN)/g" -e "s/DEIGHT/$(DEIGHT)/g" < curl-loader.man > curl-loader.1 Rename the curl-loader.1 I sent you to curl-loader.man Update curl-loader.man so the .TH line looks like this: .TH curl\-loader 8 "DEIGHT" "Version DUHVERZUN" Now you can do: make curl-loader.1 and you will get a curl-loader.1 with the .TH line with something like this: .TH curl\-loader 8 "June 26, 2007" "Version 0.32" I spell things incorrectly to prevent collisions with real variables; if you were paranoid you could use longer names or something. The 8 is the section number; since you have to be root to run this tool, I put it in section 8. To create the original page and to update content on man pages I maintain, I just use vi and type the groff/man commands I need. You can change words and add more content easily, remembering some simple rules: 1. Never begin a line with a period 2. Every hyphen must be escaped like \- 3. Create a line with nothing but .P on it to start a new paragraph. The groff.info file describes the groff commands and man macro set you would need to use, and for normal man pages it is easy. Most people learn to do this by copying existing man pages, and that is how I learned initially. So to add a new command-line switch just copy everything from a different one (I did many on the page) and then change the words and letters. To add normal paragraphs, just type them following the 3 rules above. To add sample files or sample commands, use the .nf/.fi to start no-fill and fill modes (fill is justify in groff). You can test your page any time with a line like this: make curl-loader.1 groff -man -Tascii curl-loader.1 | less -ic The most critical part of the man page is that content; the formatting doesn't matter if the content is wrong, and if the content is right people can use the program and they will (normally) forgive any ugly formatting. Is that what you were asking me, or did I just answer the wrong question? On 6/25/07, Robert Iakobashvili <cor...@gm...> wrote: > On 6/25/07, BuraphaLinux Server <bur...@gm...> wrote: > > Attached is a man page for curl-loader, since it appears there is not > > one that comes in the curl-loader-0.32 package. > > > > Would you like a man page for the configure file too? > Yes. > > Great! Thank you very much indeed. > > Actually, we need also a way to update, edit and correct as our procedure. > Can you propose something? Thanks. > > Michael, > we should arrange a Makefile target install, which will install > our binary (no libs till now, all linked static), docs like config > files examples, > README and, finally, man-pages. > > May be it is worth to have a single man-page for all curl-loader issues? > Your opinions would be very much appreciated. > > -- > Sincerely, > Robert Iakobashvili, > coroberti %x40 gmail %x2e com > ........................................................... > http://curl-loader.sourceforge.net > A web testing and traffic generation tool. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > curl-loader-devel mailing list > cur...@li... > https://lists.sourceforge.net/lists/listinfo/curl-loader-devel > |
From: Robert I. <cor...@gm...> - 2007-06-26 17:40:51
|
On 6/26/07, BuraphaLinux Server <bur...@gm...> wrote: > make curl-loader.1 > groff -man -Tascii curl-loader.1 | less -ic > > The most critical part of the man page is that content; the > formatting doesn't matter if the content is wrong, and if the > content is right people can use the program and they will > (normally) forgive any ugly formatting. > > Is that what you were asking me, or did I just answer the > wrong question? Exactly, what was required. Michael Moser is currently looking into incorporating the man page you provided into our building/making infrastructure and its extension. It's a shame for me for being using UNIX system and C-programming since 1982, I have never learn the issues of creating man-pages. Great and thank you very much! -- Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |
From: BuraphaLinux S. <bur...@gm...> - 2007-07-01 09:04:46
Attachments:
curl-loader-config.5
|
On 6/27/07, Robert Iakobashvili <cor...@gm...> wrote: > On 6/26/07, BuraphaLinux Server <bur...@gm...> wrote: > > make curl-loader.1 > > groff -man -Tascii curl-loader.1 | less -ic > > > > The most critical part of the man page is that content; the > > formatting doesn't matter if the content is wrong, and if the > > content is right people can use the program and they will > > (normally) forgive any ugly formatting. > > > > Is that what you were asking me, or did I just answer the > > wrong question? > > Exactly, what was required. Michael Moser is currently looking > into incorporating the man page you provided into our building/making > infrastructure and its extension. > > It's a shame for me for being using UNIX system and C-programming since > 1982, I have never learn the issues of creating man-pages. > > Great and thank you very much! Attached is my first draft at a curl-loader-config.5 man page. There is one part with a big FIXME! section for the RESPONSE_STATUS_ERRORS tag since I never was able to make that work. Clearly I don't understand it. However, all you need to do is fill in the stuff between the FIXME lines and remove the FIXME lines and the .br lines next to them and the page would be ready. Please check the rest of it in case I made some factual errors. My source was the README file, but it has some typos in it. Alternatively, tell me what to put in there in an email, and I can update the man page and send it back again. |
From: Robert I. <cor...@gm...> - 2007-07-01 10:07:49
|
On 7/1/07, BuraphaLinux Server <bur...@gm...> wrote: > Attached is my first draft at a curl-loader-config.5 man page. Thank you very much once more! Really appreciating. Michael, please, integrate it at some your free timeslot. Thank you. > There is one part with a big FIXME! section for the > RESPONSE_STATUS_ERRORS tag since I never was able > to make that work. Clearly I don't understand it. Let's say that some people like HTTP 403 response and consider it OK. There is no more some previously kept file on their server. If a virtual client fails on error, it does not continue a cycle by taking further urls. Instead, the client attempts another cycle by returning to the first url. When a client get 403 by default it is presented in all statistics as an error. So the people can add +403 and get operational status Success as well as such clients will continue to the next url. Please, explain the problem you encounter so that we will try to fix it. Thank you. -- Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |