home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / enterprs / cpm / utils / s / secrtary.lzh / USERMAN1.TXT < prev    next >
Encoding:
Text File  |  1993-03-31  |  21.3 KB  |  3 lines

  1. G1000#COMMENT USERMAN1  ALL OF THIS IS COPYRIGHTED 1979, G. YOUNG, INC
  2.  
  3. 1010#PNUM 1
  4. "1020#TITLE SECRETARY USER MANUAL
  5. 1030\
  6. D1040[This discussion teaches you to use the functions of SECRETARY
  7. D1050using specific examples.  For a generalized description of the
  8.  1060commands, see Section II.]
  9. 1070 
  10. 1080 
  11. ,1090<SECTION I -- HOW TO USE THE SECRETARY
  12. 1100 
  13. 1110PART 1.    STARTING UP
  14. 1120 
  15. "1130A) BACKING UP FOR PROTECTION
  16. =1140[The diskette you have is in single density format, but
  17. =1150because the origin is at 2D00, it will work on either a
  18. D1160single or double density system.  The first thing to do, if it
  19. 91170has not already been done, is to copy the diskette.
  20. 61180Then save the original diskette and use the copy
  21. 1190for all runs.]
  22. 1200 
  23.     1210\15
  24. 1220B) EXECUTING SECRETARY
  25. G1230[After you have generated a backup copy of the disk, load it into
  26. G1240drive 1 and next to the asterisk or plus sign typed by DOS, type]
  27. 1250<GO SECRTARY
  28. ;1260[SECRETARY will load and execute.  It will then type]
  29. $1270     USED: 0  AVAILABLE: 34684
  30. 1280     #
  31. '1290[This tells you that SECRETARY is
  32. )1300capable of holding 34684 characters
  33. 71310in its memory.  The biggest data file it can hold
  34. 21320is 34684 divided by 256 or about 135 blocks.
  35. :1330The pound sign # indicates that SECRETARY is waiting
  36. *1340for you to enter a command or data.]
  37. 1350 
  38.     1360\15
  39. "1370C) ENTERING COMMANDS OR DATA
  40. ?1380[The commands will be discussed in detail later, but only
  41. C1390the first four characters of each command are necessary to be
  42. D1400typed.  These four characters may be entered in upper or lower
  43. @1410case.  If you type an invalid command, a list of the valid
  44. 51420four-letter commands will be printed.  The data
  45. I1430is always preceded by a line number.  This line number can be from 
  46. >1440one to four digits (allowing for 9999 lines.)  A line is
  47. K1450terminated by a carriage return.  The input lines cannot be more than
  48. 1460136 characters long.
  49. M1470If you want SECRETARY to ignore a line so that you can retype it, enter
  50. O1480control-C.  The line will be erased and the # sign will appear indicating
  51. D1490it is ready for a new command or data line.  The backspace key
  52. Q1500can be used to backspace on the line before the carriage return is entered.
  53. J1510SECRETARY will ring the bell once seven characters before the end of
  54. J1520the line and once for each character that will not fit on the line.]
  55. 1530\7
  56. -1540D) RECONFIGURING  FOR YOUR INSTALLATION
  57. L1550[SECRETARY is shipped with memory set at 36K, the backspace key is the
  58. C1560backspace character, a CRT is not used, the printer prints on
  59. E1570continuous forms paper, line wrap around is enabled, input line
  60. K1580length is set for 64 characters, and the disk is single density only.
  61. -1590If all of these apply to your system or
  62. G1600if SECRETARY has already been reconfigured for your installation,
  63. I1610go to Part 2.  The first time the program is used it will print the
  64. 1620question]
  65. 1630<CONFIGURE (Y/N)?
  66. R1640[SECRETARY is giving you the opportunity to customize it for your particular
  67. P1650system.  If you enter N, you can still use the program immediately, but it
  68. L1660will be set for the default system.  If you enter Y, it will ask you a
  69. &1670series of questions as follows:]
  70. 1680 
  71. %1690<MEMORY IN K STARTING AT 2000H?
  72. S1700[If you have 40K of memory starting at 2000H, enter 40 and a carriage return.
  73. M1710If you have 40K but it starts at 0000H, then you only have 32K starting
  74. 21720at 2000H so enter 32 and a carriage return.]
  75. 1730 
  76. #1740<TYPE CHAR USED FOR BACKSPACE
  77. G1750[You may choose to  use the backspace key, underscore, control-H,
  78. P1760rubout, del, or any other character for the backspace character.  Whatever
  79. K1770character you want to use, type that character (no carriage return is
  80. 1780needed).]
  81. 1790 
  82. &1800<SINGLE OR DOUBLE DENSITY (S/D)?
  83. C1810[If you have a single density system, enter S (no CR needed).
  84. ;1820If you have a double or quad density system, enter D.
  85. ?1830If you enter an invalid character to this or any of these
  86. B1840questions that expect a certain character, the question will
  87. 1850be reprinted.]
  88. 1860 
  89. &1870<STOP AT END OF EACH PAGE (Y/N)?
  90. M1880[If your printer prints only one page at a time and you want to stop at
  91. C1890the bottom of each page and wait for a carriage return before
  92. A1900continuing, enter Y.  Otherwise enter N.  Most printers use
  93. 61910continuous forms so normally you would enter N.]
  94. 1920 
  95.  1930<LINES PER SCREEN OR ZERO?
  96. R1940[If you are using a 16 line CRT, enter 16 and a carriage return.  If you are
  97. :1950using a 24 line CRT, enter 24 and a carriage return.
  98. $1960The LIST or PRINT command will
  99. R1970display that many lines and wait for a carriage return before displaying the
  100. Q1980next group of lines.  If you do not want this pause or if you do not have a
  101. ?1990CRT, enter 0 carriage return.  This pause will only occur
  102. .2000if the output is directed to unit zero.]
  103. 2010\
  104. 2020<INPUT LINE LENGTH?
  105. 82030[If you are using a CRT with a maximum width of 64
  106. E2040characters, enter 64 and a carriage return.  The maximum length
  107. >2050is 136 characters.  It is a good idea to make your lines
  108. <2060shorter than necessary.  That way if you edit the line
  109. ;2070later and insert a word, the character count will not
  110. <2080exceed the 136 character maximum or your screen size.]
  111. 2090 
  112. '2100<LINE WRAP AROUND ON INPUT (Y/N)?
  113. N2110[When you are entering data using the automatic line number feature, the
  114. R2120program will check for the end of the line.  When you enter a character that
  115. P2130will not fit on the line, it backs up to the last blank, adds that portion
  116. O2140of the line to the file, prints a new line number, and copies the portion
  117. M2150of the line from the blank through your last keystroke to the new line.
  118. 12160You never have to enter a carriage return.]
  119. )2170    [If you are adding lines to the
  120. O2180beginning of the file, it may take a moment to move the rest of the lines
  121. J2190down to insert the new line.  If you are also using a slow terminal 
  122. 2200(10 to 30
  123. O2210characters per second) and you are a fast typist, the delay for insertion
  124. Q2220and typing the line number and characters may be too long so you may lose a
  125. K2230character or two.  In this case you should enter N to this question. 
  126. N2240Otherwise enter Y.  In either case, the bell will sound seven characters
  127. 2250from
  128. P2260the end of the line and you can terminate the line with a carriage return.
  129. P2270If you enter N, however, any characters that will not fit on the line will
  130. 2280echo as a bell sound.]
  131. 2290 
  132. &2300<UNDERLINE USING BS OR CR (B/C)?
  133. O2310[If your printer cannot backspace, enter "C" and SECRETARY will underline
  134. M2320using a carriage return without a line feed.  If your printer cannot do
  135. J2330a carriage return without doing a line feed, enter "B" and SECRETARY
  136. 42340will underline using the backspace character.]
  137. 2350 
  138. 2360 
  139. ,2370<SAVE THIS VERSION OF SECRETARY (Y/N)?
  140. 02380[If you type Y, the program will then ask]
  141. "2390<DO YOU HAVE A BACKUP (Y/N)?
  142. K2400[If you answer N, it will exit to DOS to allow you to backup.  If you
  143. N2410answer Y, it will copy itself back to disk on drive 1 and the "CONFIGURE
  144. K2420(Y/N)?" message will not occur again.  If you decide not to save this
  145. M2430version, the responses that you entered will only be in effect for this
  146.     2440run
  147. H2450and the configure question will appear next time you run.  You can
  148. O2460reconfigure at any time in the future, even if you did save this version,
  149. 2470by
  150. K2480entering the command CONFIGURE.  All of these questions will again be
  151.  
  152. 2490asked.]
  153. 2500\
  154. '2510PART 2.  SIMPLE FILE MANIPULATION
  155. 2520 
  156. 2530A) EXECUTING SECRETARY
  157. 82540[When DOS prints the asterisk or plus sign, enter]
  158. 2550<GO SECRTARY
  159. 2560 
  160. 2570B) THE LOAD COMMAND
  161. C2580[First, load an existing file off of the original diskette to
  162. I2590see what a text file looks like.  Use the demonstration file on the
  163. 12600disk for an example.  Next to the #, enter]
  164. 2610<LOAD DEMOFILE
  165. D2620    [If you do not have enough memory to load the entire file,
  166. E2630the message "FILE TOO LARGE" will be printed.  The program will
  167. E2640load as much of the file as it can.  You must enter the command
  168. 52650RECOVER to salvage the data before continuing.]
  169. 2660 
  170. 2670C) THE LIST COMMAND
  171. 72680[Now that you have loaded the demonstration file,
  172. /2690you can list the file simply by entering]
  173. 2700<LIST
  174. C2710[You can stop the listing any time by entering control-C.  To
  175. J2720begin listing from  the line 1200 rather than the first line, enter]
  176. 2730<LIST 1200
  177. 12740To list lines 1200 through 2000 only, enter
  178. 2750<LIST 1200,2000
  179. 2760 
  180. %2770D) INSERTING OR REPLACING LINES
  181. >2780[To insert or replace a line, just enter the line number
  182. ;2790followed by the text.  You do not have to precede the
  183.  2800number by leading zeroes.]
  184. +2810<1030#comment this replaces line 1030
  185. 2820 
  186. 2830E) DELETING LINES
  187. D2840[To delete a line or group of lines, enter the line number and
  188. B2850a carriage return without any data or use the delete command
  189. 2860as follows:]
  190. 2870     100
  191. 2880     DELT 100
  192. ?2890     DELT 100,200          (delete lines 100 through 200)
  193. 2900     DELETE 100
  194. 2910     DELETE 100,200
  195. 2920  
  196. 2930F) BLANK LINES
  197. ?2940[To insert blank lines, enter the line number followed by
  198. 42950one or two spaces before the carriage return.]
  199. 2960\
  200. 2970G) ADDITIONAL PRINTERS
  201. D2980[If you have a printer in addition to a CRT and the printer is
  202. E2990used in BASIC  by saying PRINT #1,... the printer is on unit 1.
  203. O3000You can have the listing come out on that printer rather than the CRT by 
  204. 3010entering]
  205.  
  206. 3020<UNIT 1
  207. R3030[Then use the LIST or PRINT command.  To return the listing back to the CRT,
  208. 3040enter]
  209.  
  210. 3050<UNIT 0
  211. 3055 
  212. &3060H) CHECKING THE SIZE OF THE DATA
  213. A3070[To find out how much space has been used in memory, enter]
  214. 3080<FREE
  215. ?3090[The message USED: AAAA AVAILABLE: BBBBB  LAST LINE: CCCC
  216. 83100BLOCKS: DDD will print where AAAA is the number of
  217. ?3110characters in memory used already, BBBBB is the number of
  218. @3120characters available for use, CCCC is the last line number
  219. @3130in the file, and DDD is the number of disk blocks required
  220. 3140to hold the text so far.]
  221. 3150 
  222. $3160I) THE SAVE AND NSAVE COMMANDS
  223. F3170[To save the modified file back on to disk under a new name when
  224. 23180this new file does not already exist, enter]
  225. 3190<NSAVE NEWMAN1
  226. D3200[If you have already saved this file once and you want to save
  227. 13210the current data over this old data, enter]
  228. 3220<SAVE NEWMAN1
  229. G3230[Of course NEWMAN1 is a name used for an example, you can use any
  230. H3240name of eight characters or less.  If the diskette was initialized
  231. J3250in double density, the file will be saved in double density.  If the
  232. H3260diskette was initialized in single density, the file will be saved
  233. 3270in single density.
  234. =3280If you get the message "DISK FULL ERROR", it means that
  235. =3290there was not enough room on the disk to fit the entire
  236. ?3300file.  Insert a new disk and NSAVE the program on another
  237. >3310initialized disk.  Later you should delete the file from
  238. +3320from the disk where it would not fit.
  239. @3330For the sake of backup, it is a good practice to use NSAVE
  240. C3340each time you save a text file, and use a diskette other than
  241. *3350the one containing the source text.]
  242. 3360 
  243. 3370J) THE QUIT COMMAND
  244. ;3380[To exit the program and return to DOS, simply enter]
  245. 3390<QUIT
  246. 3400 
  247. 3410K) THE HELP COMMAND
  248. &3420[If you forget a command, enter]
  249. 3430<HELP
  250. B3440[A list of the first four characters of each command will be
  251. >3450printed.  This list will also be printed if you enter an
  252. 3460invalid command.]
  253. 3470 
  254. R3480[By now, then, you have listed all of DEMOFILE.  If not, go to PART 2 step B
  255. O3490load the file again, and list it.  Save this listing as an example of the
  256. (3500techniques to be discussed later.]
  257. 3510\
  258. $3520PART 3. CREATING YOUR OWN FILE
  259. 3530 
  260. 3540A) THE SCRATCH COMMAND
  261. L3550[When you load a file,  the previous file in memory (if there was one)
  262. H3560will be destroyed.  When you save a file, memory is not destroyed.
  263. >3570If you do not remove the file in memory before beginning
  264. G3580a new file, the lines that you enter will be merged into the file
  265. D3590already in memory.  To remove a file from memory and reset all
  266. 13600values (reinitialize the data area), enter]
  267. 3610<SCRATCH
  268. O3620[SECRETARY will then reprint the FREE message to let you know that it has
  269. 3630been initialized.]
  270. 3640 
  271. 3650B) ENTERING DATA
  272. =3660[Data can be entered by typing the line number followed
  273. L3670immediately by the text.  The line numbers may, but do not have to be,
  274. "3680preceded by leading zeroes.]
  275. 3690     100This is line 100
  276. $3700     0100This is also line 100
  277. 33710     9999THIS IS THE MAXIMUM LINE NUMBER USED
  278. 3720 
  279. (3730C) AUTOMATIC LINE NUMBER PROMPTING
  280. :3740[To make entering data easier, SECRETARY will prompt
  281. <3750you with the line number so you only need to enter the
  282. E3760text.  To prompt starting with line number 100 and incrementing
  283. 3770each line by 10, enter]
  284. 3780<AUTO 100,10
  285. B3790[To terminate the automatic prompting of line numbers, enter
  286. <3800a carriage return without any data or enter control-C.
  287. P3810To cancel an entire line without stopping automatic line generation, enter
  288. 3820control-A.
  289. M3830When you are entering data using the automatic line number feature, the
  290. M3840program will check for the end of the line.  When you enter a character
  291. M3850that will not fit on the line, it backs up to the last blank, adds that
  292. O3860portion of the line to the file, prints a new line number, and copies the
  293. P3870portion of the line from the blank through your last key stroke to the new
  294. Q3880line.  You never have to enter a carriage return.  CAUTION, however, if you
  295. Q3890are a fast typist and you are using a slow terminal, it is possible to lose
  296. 3900a character or two.]
  297. 3910 
  298. .3920D) ADDING, REPLACING, AND DELETING LINES
  299. E3930[Additional lines may be added or inserted by entering the line
  300. M3940number followed by the text.  Lines may be deleted by entering the line
  301. C3950number without any text or using the DELETE or DELT commands.
  302. B3960 If the data area cannot hold any more lines, SECRETARY will
  303. A3970print the error message "FILE FULL ERROR".  Blank lines may
  304. >3980be inserted by entering the line number and one  space.]
  305. 3990\
  306. *4000E) LINE FILL AND JUSTIFICATION LATER
  307. P4010[If a group of lines are to be justified later, enclose the group of lines
  308. G4020in brackets.  See the listing of DEMOFILE for an example of this.
  309. N4030If the lines run together improperly, check to see if you left the right
  310. 64040or left bracket off of the preceding paragraph.]
  311. 4050 
  312. 4060F) PAGE EJECTION
  313. K4070[To eject to a new page when printing, use the backslash on a line by
  314. C4080itself.  See the listing of DEMOFILE for an example of this.]
  315. 4090<1000
  316. I4100[Sometimes it may be necessary to do a conditional page eject.  For
  317. Q4110instance, you may want the next 4 lines to fit on the same page and if they
  318. P4120will not, then you want to do a page eject.  This is done by following the
  319. N4130backslash immediately by the number of lines that must fit on the page.]
  320.  
  321. 4140<1000 4
  322. 4150 
  323. 4160G) CENTERING
  324. K4170[To cause a line to be centered, precede the line of text with a left
  325. D4180arrow.  Be sure the length of the line to be centered is never
  326. >4190longer than the length of the line to be printed later.]
  327. &4200 1010 THIS LINE WILL BE CENTERED
  328. !4210<THIS LINE WILL BE CENTERED
  329. 4220 
  330.  
  331. 4230H) TABS
  332. H4240[To use the tab function, just enter the tab key as you would on a
  333. A4250typewriter.  The tab will echo as a @ when input or listed.
  334.  
  335. 4260The tab
  336. K4270expansion will be done during the PRINT command if the TABSET command
  337. O4280was used (will be discussed later).  Do not use tabs within the line fill
  338. 74290brackets since justification may add extra spaces
  339. 44300and change the tab positions. If your terminal
  340. .4310does not have a tab key, try control-I.]
  341. 4320 
  342. (4330I) INDENTING INDIVIDUAL PARAGRAPHS
  343. L4340[Paragraphs may be indented from the rest of the text by preceding the
  344. F4350lines to be indented with a right arrow and margins as follows:]
  345. 4360>10,50
  346. 4370 
  347. H4380[LINE NUMBER, RIGHT ARROW, LEFT COLUMN NUMBER, COMMA, RIGHT COLUMN
  348. O4390NUMBER, CARRIAGE RETURN -- set the left and right margins from this point
  349. H4400on.  The right margin should not be greater than the line length.]
  350.     4410>15
  351. 4420 
  352. G4430[LINE NUMBER, RIGHT ARROW, LEFT COLUMN NUMBER, CARRIAGE RETURN --
  353. I4440set the left margin only and leave the right margin set to the line
  354. 4450length.]
  355. 4460>,55
  356. 4470 
  357. O4480[LINE NUMBER, RIGHT ARROW, COMMA, RIGHT COLUMN NUMBER, CARRIAGE RETURN --
  358. F4490set the right margin and leave the left margin set to column 1.]
  359. 4500>
  360. 4510 
  361. M4520[LINE NUMBER, RIGHT ARROW, CARRIAGE RETURN -- reset the margins back to
  362. ?4530their original position of column 1 and the line length.]
  363. 4540 
  364. 4550J) &UNDERLINING&
  365. E4560[You can indicate to SECRETARY to underline a word by preceding
  366. 54570and following the word or phrase with a & sign.
  367. (4580It will not underline a blank.  If
  368. E4590you want to use the & in your text, just be sure it is preceded
  369. L4600and followed by a blank.  When a nonblank character is found following
  370. =4610a & sign, the underline switch is turned on so that all
  371. ?4620nonblank characters are underlined.  When it encounters a
  372. =4630 & sign followed by a blank, it turns off the underline
  373. A4640switch so that the following characters are not underlined.
  374. ?4650If the & is at the end of a line and followed by a period
  375. =4660or comma, the underline switch will still be turned on.
  376. ;4670If you want a & to print, be sure it is not the first
  377. A4680character on a line since the preceding character would not
  378. >4690be a blank but rather a line number.  Underlining occurs
  379. 54700only during the execution of the PRINT command.
  380. :4710Be sure that your printer has an underline character
  381. !4720(ASR 33 terminals do not).]
  382. 4730 
  383. 4740K) DIRECTORY
  384. D4750[If you want to print the directory of a disk to see if a file
  385. 4760already exists, enter]
  386. 4770<DIRECTORY
  387. I4780[The directory of the disk in drive 1 will be printed.  To list the
  388. "4790directory on drive 2, enter]
  389. 4800<DIRECTORY 2
  390. 4810  
  391. 4820L) MORE ON SAVE AND NSAVE
  392. R4830[While entering new text, it is a good idea to periodically save the file on
  393. M4840disk in case of system failure.  Someone may trip on the power cord, or
  394. )4850your best friend may enter SCRATCH.
  395. A4860For example, you estimate that your file will be 80 blocks.
  396. G4870If you had a 32K system, the maximum file could only be 80 blocks
  397. P4880and you will want to leave some room for expansion later.  Assume that you
  398. Q4890have only entered 20 blocks so far and the file does not exist on disk yet.
  399.  
  400. 4900 Enter]
  401. 4910<NSAVE MYFILE 80
  402. D4920[This will create a file of 80 blocks even though you are only
  403. F4930using 20 blocks right now.  The file type will be set to type 7.
  404. E4940If there was not enough room on the disk to hold all 80 blocks,
  405. D4950SECRETARY would type "DISK FULL ERROR" and ring the bell.  You
  406. 4960should then put in
  407. B4970another disk and do the NSAVE again.  If you get the message
  408. >4980"FILE TOO SMALL", see PART 7 PARAGRAPH C.  If you wanted
  409. 4990your file to be
  410. 5000on drive 2, enter]
  411. 5010<NSAVE MYFILE,2 80
  412. K5020[After the file has been created once, you can save over that copy by
  413. 5030entering]
  414. 5040<SAVE MYFILE
  415. 5050\
  416. 0M) THE APPEND COMMAND
  417. P5070[The text in your file may contain some frequently used paragraphs.  These
  418. 75080paragraphs can be kept on disk in a separate file
  419. D5090and appended to your text when needed.  Assume you have a file
  420. I5100of frequently used text called FREQUSED.  You can append it to your
  421. 5110file by entering]
  422. 5120<APPEND FREQUSED
  423. L5130[The line numbers are probably not in sequence any more because of the
  424. H5140appended data, so you MUST renumber the file before doing any more
  425. 5150editing of the data.
  426. ;5160See the MOVE command explanation to understand how to
  427. ?5170move the FREQUSED text to the middle of your current text
  428. '5180file after it has been appended.]
  429. 5190 
  430. 5200N) THE RENUMBER COMMAND
  431. K5210[To renumber a file starting with 1000 and incrementing by 20, enter]
  432. 5220<RENUMBER 1000,20
  433. H5230[If the file is too big and using this starting value or increment
  434. I5240would cause the last number to exceed 9999, SECRETARY will type the
  435. G5250message "RENUMBER VALUES TOO BIG".  If it does, just use RENUMBER
  436. 85260again with a smaller starting value or increment.]
  437. 5270 
  438. 5280O) THE OPEN COMMAND
  439. @5290[The OPEN command is a way to put new text into the middle
  440. =5300of existing text where the lines are numbered too close
  441. 5310together.
  442. N5320Sometimes it may be necessary to insert many lines between two lines i.e
  443. P5330insert 20 lines between 100 and 110.  You would wipe out lines 110 through
  444. R5340120 if you just added the lines or used the command AUTO 101,1.  You need to
  445. N5350renumber lines 110 to the end of the data with a higher value.  In other
  446. >5360words, you need to open the line numbers after line 100.
  447. 5370For example, you may
  448. J5380want to renumber the lines  starting with line 110, setting line 110
  449. O5390to 300, and incrementing each line after that by 10.  This could  be done
  450. 5400by entering]
  451. 5410<OPEN 110,300,10
  452. Q5420[The line numbers prior to 100 would not be renumbered.  Line numbers 110, 
  453. K5430120... would be numbered 300, 310...  You can now safely use the AUTO
  454. *5440command to insert additional lines.]
  455. 5450<AUTO 101,5
  456. N5460[It is recommended that after you have entered all of the new lines, you
  457. &5470renumber the entire file again.]
  458. 5480 
  459. 5490P) THE DESTROY COMMAND
  460. C5500[The DESTROY command is used to erase a file from the disk in
  461. G5510the same way the DESTROY command is used in BASIC.  To delete the
  462. 5520file NOGOOD, enter]
  463. 5530<DESTROY NOGOOD
  464. 0#CHAIN B:USERMAN2.TXT
  465.