home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / PROGRAMS / WSTAR / WSWLDCRD.TXT < prev    next >
Text File  |  2000-06-30  |  3KB  |  67 lines

  1. FINDING YOUR UNDERLINES
  2. by Richard S. Williams, PAKUP, December 1986
  3.  
  4. (How to change the WordStar search wildcard from ^S)
  5.  
  6. WordStar marks underlining with ^S before and after the
  7. underlined string, but does not display the underlining on
  8. screen, even with newer Kaypros, so it is easy to "lose" an
  9. underlined passage by forgetting the second ^S until you are
  10. printing and find half your book in underlines.  Unfortunately,
  11. you can use Wordstar's search function to look for anything but
  12. the missing ^S because the search function designates ^S as a
  13. wild card.  Well, Albert J. Klee of Fayetteville, OH has
  14. discovered the relevant bytes, and by making a simple change in
  15. your WSOVLY.OVR file, you can change the wildcard and thus search
  16. for the ^S.  First, you must designate a substitute wildcard.
  17. Ted Silveira (Profiles, Nov. 1986) suggests ^Y, Bernadette
  18. Freedman (Profiles, Dec./Jan. 1986/87) suggests using ^L.
  19. Whatever you decide, you need the hexadecimal equivalent for it
  20. (^L=OC, ^Y=19).  Then you need to make the patch.  To do this,
  21. you should have a spare disk with a copy of WS.COM and its
  22. overlay files (never try to patch a file on anything but a copy)
  23. and DDT.COM.  It will be helpful later to have NSWEEP.COM or
  24. PIP.COM on the disk too, so you can copy the files onto your
  25. working copy of WordStar.  I'm assuming here you have WordStar
  26. version 3.3.
  27.  
  28. At the A-prompt, type:  DDT WSOVLY.OVR <ret>.  The program will
  29. respond:
  30.      DDT VERS. 2.2
  31.      NEXT  PC
  32.      8400  0100
  33.      -
  34. At the hyphen (DDT's prompt) you type in 'L20DC' and DDT will
  35. respond with some strange readouts starting with CPI 13.  If so,
  36. all is well, (if not, quit), and you can go on by typing what
  37. appears in brackets, ([], but don't type the brackets
  38. themselves.)  The other text is what the software displays.
  39.  
  40.   -[S20DD]          (That is 'two zero dee dee'.  Caps never
  41.                     matter, by the way)
  42.   20DD 13  [19]     (You enter '19'.  This is for ^Y, enter 0C
  43.                     (zero cee) for ^L)
  44.   20DE CA  [.]      (You enter a period)
  45.   -[G0]             (that's 'gee zero', not the word go)
  46.   A0>[SAVE 131 WSOVLY1.OVR <ret>]
  47.                     (save the new version at the A: prompt)
  48.  
  49. Now try it out, testing the new wildcard character on the search
  50. functions (^QF and ^QA) as well as searching for underline sets.
  51. If it works, you need to copy this new overlay file onto your
  52. working copy of WordStar (use PIP or NSWEEP).
  53.  
  54. For those of you with MS-DOS, the corresponding change would be
  55. as follows:
  56.  
  57.   [DEBUG WSOVLY1.OVR <ret>]
  58.   -[E 20D5]
  59.   5533:20D5 13[.19] (this is for ^Y, enter 0C (zero C) for ^L)
  60.   [W]
  61.   Writing A100 bytes
  62.   [Q]
  63.  
  64. There you have it.  By the way, NewWord doesn't have the problem
  65. because it handles wildcards differently.  Next month I'll have
  66. more on searches in WordStar and NewWord.
  67.