home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / DBASE / CDS102.ZIP / CDSCAN.SCN < prev    next >
Text File  |  1992-05-29  |  23KB  |  624 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.            CD SCAN Version 1.02 Copyright (c) 1992 By Joseph Dunn.
  8.                          All rights reserved.
  9.  
  10.  
  11.  
  12.                               USER MANUAL
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26. Foreword:
  27.  
  28. This project has taken many hours to complete. I would appreciate it if due
  29. respect was given to my hard efforts and you were honest enough to register
  30. your copy if you continue to use it after a 30 day trial period. See the
  31. README.1ST file for more information about registration.
  32.  
  33. A bit about me: I am a blind student studying at The Flinders University of
  34. South Australia. I enjoy listening to music, playing drums and being a
  35. friend. I hope to complete my B.SC. degree and major in Computer Science
  36. and use this as a basis to go on writing software to aid the disabled.
  37.  
  38. Credits: Special thanks to: - my girl friend Joanne Pearce for her love and
  39. support, - to my family who try desperately hard to tear me away from my
  40. machine, - To Rohan Lewis for his help with colour choices and other
  41. suggestions - to Tony Galliford for his help and suggestions - The LORD
  42. JESUS CHRIST who is my inspiration and saviour - to you for choosing this
  43. software.
  44.  
  45.  
  46.                                      page  1
  47.  
  48.  
  49.  
  50. Contents: Page
  51.  
  52. Foreword ____________________________________________1
  53. Credits ____________________________________________ 1
  54. Contents ___________________________________________ 2
  55. Introduction _______________________________________ 3
  56. Installation and system requirements _______________ 3
  57. How Cd Scan works __________________________________ 7
  58. Getting started ____________________________________ 8
  59. Entering data ______________________________________ 9
  60. Quitting Cd Scan __________________________________ 12
  61. Browsing your cd collection _______________________ 13
  62. Pasting data to file ______________________________ 16
  63. Searching _________________________________________ 18
  64. Printing __________________________________________ 20
  65. Pack (house keeping) ______________________________ 21
  66. Errors and Trouble Shooting _______________________ 23
  67. Final Word ________________________________________ 25
  68.  
  69.  
  70.  
  71.                                      page  2
  72.  
  73.  
  74.  
  75. INTRODUCTION:
  76.  
  77. Cd Scan is a powerful music cataloging system specifically designed for
  78. cataloging a compact disk collection. Up to 1200 cds each containing up to
  79. 30 tracks may be accommodated on the registered version.
  80.  
  81. The program includes a powerful and flexible search facility, a quick scan
  82. browse facility and the ability to print a short or long form listing of
  83. all compact disks.
  84.  
  85. You will never have to guess how many tracks can fit on the side of a tape
  86. again because Cd Scan also gives you the ability to calculate track times
  87. for recording purposes and A special "Pasting" function is available to aid
  88. in creating cassette labels.
  89.  
  90. A "house Keeping" facility is included to always ensure optimum performance
  91. after many changes have been made to the catalog.
  92.  
  93. Installation and system requirements:
  94.  
  95.  
  96.                                      page  3
  97.  
  98.  
  99. To run Cd Scan you need an IBM compatible with at least 256k ram and DOS
  100. 2.11 or later. A hard disk is recommended for fastest and most reliable
  101. performance.
  102.  
  103. Cd Scan should be distributed in a self extracting archive file, that is, a
  104. file which when run, extracts files out of itself. These files should be
  105. placed in a directory by themselves. For the uninitiated, a directory is a
  106. place on the disk which contains files belonging to a particular group,
  107. i.e. all these files belong to Cd Scan and therefore should be placed in an
  108. area by themselves to distinguish there function from say your word
  109. processor files.
  110.  
  111. To make a directory and place Cd Scan into it do the following: Exit any
  112. application you may be running and get to the DOS prompt. It may look
  113. something like
  114.  
  115. C>
  116.  
  117. From this point type:
  118.  
  119.  
  120.                                      page  4
  121.  
  122.  
  123. CD\
  124.  
  125. (after pressing enter) type
  126.  
  127. MD CD-SCAN
  128.  
  129. (after pressing enter), type:
  130.  
  131. CD\CD-SCAN
  132.  
  133. (and press enter again)
  134.  
  135. Place the disk with the Cd Scan files on it into drive A and type:
  136.  
  137. COPY A:\*.*
  138.  
  139. then, after pressing enter again, type:
  140.  
  141. CDS102
  142.  
  143.  
  144.                                      page  5
  145.  
  146.  
  147. Several messages will be displayed concerning the extraction process.
  148.  
  149. Once you have been returned to the DOS prompt, you may run Cd Scan.
  150.  
  151. See your DOS manual about creating batch files if you wish to run Cd Scan
  152. from a batch file or see the appropriate documentation if you wish to run
  153. Cd Scan from a menu program.
  154.  
  155. The command to run Cd Scan is:
  156.  
  157. CDS
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.                                      page  6
  165.  
  166.  
  167.  
  168.  
  169. A sample batch file which can be typed in from the DOS prompt follows:
  170.  
  171. CD\BATS
  172. COPY CON CDS.BAT
  173. @ECHO OFF
  174. CLS
  175. C:
  176. CD\CD-SCAN
  177. CDS
  178. CD\
  179. ^Z
  180.  
  181. How Cd Scan works:
  182.  
  183. Cd Scan maintains two special files on disk, one contains the main text of
  184. the compact disk data and the other is an electronic index for quick access
  185. to the cds. Like a book's index, this file basically contains a key and
  186. reference field for all cds. You, the user will not directly come in
  187. contact with either files but you must be made aware of their presence and
  188. warned not to modify, move or delete these special "data" files. Cd scan
  189.  
  190.                                      page  7
  191.  
  192.  
  193. also creates text files for printing and editing and these will be
  194. discussed later (in the section on printing and pasting).
  195.  
  196. Cd Scan communicates with you via menus. You select an item from a menu by
  197. pressing the indicated letter or in the case of the main menu, you can move
  198. the highlight bar with the cursor keys to highlight the item you wish to
  199. select and then press enter.
  200.  
  201. Getting Started:
  202.  
  203. Run Cd Scan by typing CDS (enter) or by choosing it from your menu system.
  204.  
  205. Your screen clears and a menu bar is written across the top of your screen
  206. with the item Browse highlighted. By pressing the left and right cursor
  207. keys, you can move the highlight bar to any of the six items.
  208.  
  209. At this point, selecting some of these items will result in a warning being
  210. displayed to the effect that your index is empty. This is because your
  211. index currently contains no cds. In fact, the only options available to you
  212. as a new user are the option of Entering new data and the option of leaving
  213.  
  214.  
  215.                                      page  8
  216.  
  217.  
  218. (quitting) the program.
  219.  
  220. Entering data:
  221.  
  222. Well, lets get the show on the road! Lets begin by entering a compact disk
  223. into the system.
  224.  
  225. Select Enter by either pressing e or in the manner discussed above.
  226.  
  227. Cd Scan keeps track of several items of information about your cds. These
  228. are: The Artist, Title, Track times, Track names, and a short comment about
  229. the cd.
  230.  
  231. In entering any data, the following keys may be used:
  232.  
  233. left and right cursor keys: move cursor left or right one space,
  234.  
  235. back space: move the cursor one space to the left and delete the character
  236. there,
  237.  
  238.  
  239.                                      page 9
  240.  
  241.  
  242. delete: delete the character at the current cursor position,
  243.  
  244. home: move the cursor to the first character in the field
  245.  
  246. end: move the cursor to the last character in the field
  247.  
  248. insert: toggle between insert or over-strike mode.
  249.  
  250. enter: give completed data to program
  251.  
  252. escape: quit operation.
  253.  
  254. Briefly: the cursor is the flashing square which appears when you are asked
  255. for a response and which indicates where the next character will be placed
  256. on the screen.
  257.  
  258. Insert mode is where characters typed are inserted before other characters
  259. on the line rather than over the top of them as in over-strike. You will
  260. notice that all characters typed will be converted to uppercase. This
  261. feature standardizes all data as many publishing companies can't make up
  262.  
  263.                                      page 10
  264.  
  265.  
  266. their minds about how the information on cd covers should be printed. If
  267. all text is in one case it is faster to search through.
  268.  
  269. After you have typed in the Artist name, and are happy with it you should
  270. tell the system that you are finished by pressing enter as in all cases of
  271. entering data. (If you make a mistake, don't worry, you can correct it
  272. later).
  273.  
  274. Cd Scan will now respond with a prompt asking you to type the Title of the
  275. cd. After you have typed in the Title of the cd and pressed enter the
  276. screen will display a box with three columns in it and the artist and title
  277. centered above the box.
  278.  
  279. This box will become familiar to you as you use the program. The three
  280. columns are the track number (1..30) in the registered version, the time
  281. (mm:ss) and the track name. You will be asked to enter the second two
  282. pieces of information. If you don't wish to enter a time in, leave it blank
  283. by just pressing enter.Once all the tracks have been entered in, press
  284. enter on a name field and you will be asked to type in a comment for the
  285. cd. If you don't wish to include a comment then just press enter until the
  286.  
  287.                                      page 11
  288.  
  289.  
  290. box disappears or press the escape key.
  291.  
  292. Once the data for a cd has been entered, the program will store the cd on
  293. disk and add its artist name and title to the index. (Cd Scan will
  294. automatically sort the index each time an addition is made)
  295.  
  296. Repeat this enter process until you have several cds in the index.
  297.  
  298. Quitting Cd Scan:
  299.  
  300. If you have had enough for this session and wish to quit the program, you
  301. may select this option from the main menu or just press escape until you
  302. are asked if this is your real intention. If you press escape again, the
  303. quit will be cancelled and you will not exit the program. If you answer y
  304. for yes and press enter (as for all yes/no responses) you will leave Cd
  305. Scan and return to DOS.
  306.  
  307. Browsing your cd collection:
  308.  
  309. Once the index contains 1 cd you will be able to browse.
  310.  
  311.                                      page 12
  312.  
  313.  
  314. Select Browse from the main menu and two boxes will be displayed, the
  315. number of cds in the index will be written in place of the bar menu and the
  316. bottom line (status line) will display several options.
  317.  
  318. The two boxes (or windows) contain a list of artist names and cd titles. A
  319. highlight bar will appear marking an artist and title. You may browse
  320. through the cds using the following keys:
  321.  
  322. up/down: move the highlight bars up or down one cd, page up/down: move the
  323. bars forward or backward a page at a time, home/end: move the bars to the
  324. first or last cd in the index. escape: return to the main menu.
  325.  
  326. Note: the cd highlighted will be referred to as the current cd.
  327.  
  328. If you press enter on the current cd, the familiar box first encountered in
  329. the Enter option along with several other items will be displayed. A red
  330. colon will also be placed on the first time of the first track. This colon
  331. indicates the current track. You may move this colon up and down with the
  332. following keys:
  333.  
  334.  
  335.                                      page 13
  336.  
  337.  
  338. up/down: move colon up or down a track, page up/down: move the colon to the
  339. top of the next screen of tracks if appropriate, home/end: move the colon
  340. to the first or last track on the cd.
  341.  
  342. The options on the status line include the following: ALt+a add the time of
  343. the current track to what is already in the total time box. ALT+s subtract
  344. the time of the current track from what is already in the total time box.
  345. ALT+c clear the time box. ALT+t add the total of all the tracks on this cd
  346. to what is already in the total time box.
  347.  
  348. Note: times will not be accumulated above 99:59. If an attempt is made to
  349. add times that total more than this, or to subtract times until total is
  350. less than 0 then an error message will alert you. The Time box must then be
  351. cleared using Alt+c
  352.  
  353. Play with these time functions and practise adding times of different
  354. tracks. You may even return to the browse screen by pressing enter (or
  355. escape) and selecting another cd. Notice that the time box is not cleared.
  356. Make sure you clear the time box if you just want the total of one cd.
  357.  
  358.  
  359.                                      page 14
  360.  
  361.  
  362. You would have noticed two other functions on the displaying cd screen,
  363. namely ALT+e to edit a field and ALT+p for pasting a track. Editing a field
  364. allows you to make a correction to a miss-typed field. This is where you
  365. can correct a mistake typed in during the entry of data.
  366.  
  367. Pressing ALT+e will display options corresponding to the field you want to
  368. correct.
  369.  
  370. You may select a to correct the artist name, t for the title, n for the
  371. current track name, c for the comment or l for the length of the current
  372. track.
  373.  
  374. Once a selection is made, you are permitted to edit the selected field.
  375.  
  376. Note: The cursor will be placed on the last character of the field.
  377.  
  378. In the comment box, you can't move up a line so if you make a further
  379. mistake, just press escape and edit it again. Pressing enter will just
  380. place the cursor on the last character of the next line (or in the case of
  381. a blank line the cursor will be placed at the beginning).
  382.  
  383.                                      page 15
  384.  
  385.  
  386. When you return to the browse screen by pressing enter or escape from the
  387. display screen, the changes will be written to disk and if need be, the
  388. index is resorted.
  389.  
  390. If you wish to delete a cd altogether, you can do this from the browse
  391. screen. Just press CTRL+d on the cd. You will be asked if you really want
  392. to go ahead with the deletion and then according to your response, the
  393. appropriate action will be taken. (Don't worry if you delete a cd
  394. accidentally, you will be able to undelete it later before tidying up).
  395.  
  396. Pasting Tracks:
  397.  
  398. This facility allows the text of the track number, time and name to be
  399. added to a text file for later printing or editing. It is useful in
  400. creating cassette labels or just to keep track of songs with a particular
  401. theme.
  402.  
  403. From the Display screen, pressing ALT+p will write the artist and title of
  404. the cd once for each paste session and then the track number, time and name
  405. to a text file called TRACKS.TXT. A star will be placed in the right margin
  406.  
  407.                                      page 16
  408.  
  409.  
  410. to show the track has been pasted.
  411.  
  412. For example, pressing ALT+p the first time you display a cd will write the
  413. artist name and title followed by the current track information, then, for
  414. each track pasted during that display session, just the track information
  415. will be written. An example of what the paste file would look like follows:
  416.  
  417. AD
  418. COMPACT FAVORITES
  419. 01 04:22 ALL CREATION SINGS
  420. 04 03:43 WE DRAW THE LINE
  421. 07 04:18 GAMES OF CHANCE AND CIRCUMSTANCE
  422. 09 04:15 EXILES
  423.  
  424. AD
  425. RECONSTRUCTIONS
  426. 04 04:15 EXILES
  427. 08 03:45 HIGHWAY TO THE HEART
  428. 09 04:20 ONE GOLDEN THREAD
  429.  
  430.                                      page 17
  431.  
  432.  
  433. To edit this file you must use a text editor of some sort although you can
  434. print it as it is from the Print option from the main menu. If this file is
  435. not deleted, it will be added to each time you Paste a track to it. You are
  436. given the option to delete this file from the print paste file option
  437. discussed later (in the print section).
  438.  
  439.  
  440. Practise browsing your cds, displaying a cd, adding times etc, until you
  441. become familiar and comfortable with these operations.
  442.  
  443.  
  444. Searching:
  445.  
  446.  
  447. Cd Scan allows you to search for any part of any field in the catalog.
  448.  
  449.  
  450.  
  451.                                      page 18
  452.  
  453.  
  454.  
  455.  
  456.  
  457. Select Search from the Main Menu and you will be asked to enter the search
  458. text, i.e. the pattern to look for. You may enter part of a title, a word
  459. within a song name or a time. You also may enter a time range to locate cds
  460. containing tracks which fit this range.
  461.  
  462. Once the search text has been entered, the options of searching the artist
  463. field, title field, song name, length or comment are offered. Searching for
  464. by artist or title will be almost instantaneous because of the index. Other
  465. searches will take a bit of time. Once the search has taken place, the
  466. familiar browse screen will be displayed and almost all of the options
  467. available before are offered to you again. The only options you will not be
  468. permitted to do are deleting or editing a cd. You will also note that the
  469. index only contains the cds with the specified search criteria in the field
  470. you specified.
  471.  
  472. Examples of searching for times: 02:33 search for all cds containing tracks
  473. exactly 02:33 in length. <02:33 search for all cds containing tracks of
  474. length < 02:33 >02:33 search for all cds containing tracks with length >
  475. 02:33. 02:33-03:02 search for all cds containing tracks whose lengths are
  476. in the range 02:33 to 03:02 inclusive.
  477.  
  478.                                      page 19
  479.  
  480.  
  481. To exit from the search index, press escape as usual.
  482.  
  483. Printing:
  484.  
  485. Printing is very useful because it gets the words out of the computers
  486. grubby hands and onto paper like we are all used to.
  487.  
  488. The print facility offers you the options of printing an artist list
  489. containing a list of artist names and titles, a full compact disk list
  490. containing all the information you entered except the comments and the
  491. ability to print the paste file you created during your inspection of a
  492. cd's contents.
  493.  
  494. If you don't have access to a printer directly or just want to edit the
  495. text created by this system to suit special needs, the output of the print
  496. can be directed to a file. After pressing c for catalog or a for artist
  497. list you will be prompted to print to file or printer. If f for file is
  498. selected, the text will be written to a text file called LIST.TXT. The
  499. print facility will automatically print page numbering, a header and work
  500. out how many cds to put on a page so that a cd is not split over a page
  501.  
  502.                                      page 20
  503.  
  504.  
  505. boundary.
  506.  
  507. If you select p for printer, you will be instructed to align the paper to
  508. the top of form position and then press a key when ready.
  509.  
  510. Note: The print facility assumes you are using A4 paper and prints 60 lines
  511. to a page.
  512.  
  513. A printer error will result if you attempt to print without paper or if the
  514. printer is off line. Press a key when you have fixed the problem or press
  515. escape to cancel printing. Printing the Paste file doesn't give you the
  516. option to print to a file as it already is in a suitable format to edit.
  517. After printing this file, you will be asked if you wish to delete the file.
  518. If you respond affirmatively, the file will be deleted and any subsequent
  519. pastes will be written to a new file. If you respond negatively or just
  520. press escape, the file will be left intact and any subsequent pastes will
  521. be appended (or added) to the end of the file.
  522.  
  523. Pack (house keeping):
  524.  
  525.  
  526.                                      page 21
  527.  
  528.  
  529. Before we discuss what Pack does, we need to understand a bit about the way
  530. Cd Scan stores its information. We mentioned earlier about an index file, a
  531. file containing a list of artist names and reference pointers to the main
  532. text. The index file is generally the file which undergoes the most
  533. modification when adding or modifying data. In fact, when a cd is deleted,
  534. its reference pointer is just removed from the index and placed in a
  535. special deletion tracking file allowing undeletion which will be discussed
  536. soon. The information stored in the main data file is not modified in any
  537. way, this eliminates the possibility of disk error and minimizes disk
  538. operations. When a cd is modified, a new copy of the cd is added to the end
  539. of the data file and the old pointer in the index is updated to point to
  540. the new copy. After many modifications have been made, the speed of the
  541. program may be affected. This is where Packing comes in. What packing does
  542. is reads each cd from the index and writes a new copy of the data file,
  543. writing the cds in their correct alphabetic order and eliminating obsolete
  544. data. Packing need only be performed when many modifications have been
  545. made. When Pack is selected, a backup of the catalog is automatically made
  546. and an attempt to locate a deletion tracking file is made. If found, you
  547. will be asked if you wish to undelete any cds contained in this file. If
  548. you undelete the cds at this point they will be added to the index again
  549.  
  550.                                      page 22
  551.  
  552.  
  553. and will be accessible. If you choose not to undelete the cds at this point
  554. and go ahead with the packing operation, they will be lost forever as the
  555. data file will be re-written and all references lost. You may just undelete
  556. the cds and not pack the catalog, just press escape after the undeletion
  557. has been performed. If you choose to pack the catalog, you must not disturb
  558. the disk activity in any way until the packing has finished or data may be
  559. lost and unrecoverable.
  560.  
  561. Note: with a large catalog, an xt type computer or a floppy disk system may
  562. take a while to perform the packing. Please be patient and don't disrupt
  563. the operation.
  564.  
  565. After packing has finished, searching and browsing will be more efficient
  566. and the main data file will probably be smaller. If something does go wrong
  567. during packing, the old files which were renamed with the BAK extension may
  568. be renamed WITH THE dat EXTENSION and the old catalog restored. See your
  569. DOS manual with regard to renaming files.
  570.  
  571. Errors and Trouble Shooting:
  572.  
  573.  
  574.                                      page 23
  575.  
  576.  
  577. If Cd Scan does not run correctly, check the following: Your CONFIG.SYS
  578. file contains at least 15 files and buffers. (See your DOS manual for more
  579. information) Your INDEX.DAT and CDS.DAT files are both present in the same
  580. directory as the CDS.EXE file. If one of these files are missing and you
  581. don't have a backup, contact me for possible suggestions. If Cd Scan runs
  582. too slow, try packing it. If your system locks up on start up, check how
  583. much memory your system has free. You may have to get rid of a TSR or
  584. something.
  585.  
  586. When the index is either empty or full, you will be notified. If full, no
  587. more cds may be added and if empty, there will be no data to search, browse
  588. or print.
  589.  
  590. A printer error can usually be rectified just by ensuring that the printer
  591. is on line and that the paper is correctly aligned. If you still have
  592. trouble printing, consult your printer manual.
  593.  
  594. Note on Deletion: The deletion tracking file, created when a cd is deleted,
  595. is called DELETED.DAT. Do not delete or modify this file or you will not be
  596. able to undelete any cds when you pack the catalog. Do not try to undelete
  597.  
  598.                                      page 24
  599.  
  600.  
  601. a cd from an obsolete deletion tracking file as its reference will not
  602. match the old cd.
  603.  
  604. Suffice to say, don't try to do the programs work for it or you may find
  605. yourself in trouble!
  606.  
  607. Final Word:
  608.  
  609. This completes the discussion of the Cd Scan cataloging system. I sincerely
  610. hope it meets your cataloging requirements. All suggestions will be
  611. gratefully considered.
  612.  
  613. For more information about the program or author, all correspondence should
  614. be sent to the address below.
  615.  
  616. Joseph Dunn: 30 Narvik Crescent, Hackham West S.A. 5163 Australia
  617.  
  618. Phone: +61 8 326-1830
  619.  
  620.  
  621.  
  622.                                      page 25
  623.  
  624.