home *** CD-ROM | disk | FTP | other *** search
- A little questionnaire program by Karl Eklund. version 1
- ---------------------------------------------------------
-
- Works with DLG, maybe with other BBS programs - perhaps needing some
- modification.
-
-
- Files in this archive:
- questions the executable
- questions.c the source (I use DICE)
- readme this here file you're reading right now
-
-
- This is the way it works
- ------------------------
-
- In a file called dlgconfig:misc/newusers.questions you keep the QUESTIONS.
- One per line. If you have a * first on a line, the line will be output
- without no following prompt. Otherwise, after printing a question, the
- program will prompt for an answer, then store the question and the answer
- in a file called dlgconfig:misc/newusers.answers.
-
- Call the program with the following command line;
- questions <underscored user name>
-
- That is, from a DLG menu: [path]questions %UNAME
-
- Configure this menu entry as: Raw mode off, Echo on. All other switches
- don't matter.
-
- If you don't like the file names, you have to re-compile the program or
- change them with a hex editor. Maybe I'll change this in the future.
-
- The program will store a file called 'q' in the user's directory when he
- has completed the questionnaire. If that file exists when the program is
- run, the user will be asked if he wants to answer the same questions once
- more.
-
-
- Practical Use (The reason for me writing this program)
- ------------------------------------------------------
-
- I wrote the program to have as a new user questionnaire - so that the users
- would have to answer some questions before being upgraded. This program
- was called from a menu option in the main menu of the BBS.
-
- This way, I would validate a user first when he answers these questions
- correctly.
-
-
- Other
- -----
-
- Spread this program as you like, feel free to change it in any way, make
- improvements, etc. If you do, however, I recommend you to change this
- documentation file so that it correlates with the source and executable
- files.
-
-
- You can reach me at my BBS: +46-490-17420, FidoNet node 2:204/420, or at
- InterNet Karl_Eklund%spam@sfbbs.edvina.se or flink.se!mist!spam!Karl_Eklund
-