[net.micro.att] WORDSTAR FIND/REPLACE & conversion

2212msr@whuts.UUCP (ROBIN) (11/08/85)

The following WORDSTAR information is material which I have  
gleaned from commercial publications, net contributors, other WS users, 
and my own experiences.
I make NO claims for originality or creation of this material.  I 
thought that some other WS users might find it helpful presented in this manner.

Max S. Robin
201-386-6865

email: whuxg!2212msr

                   ---------------------- cut here ---------------------

Find/Replace CTRL-P Commands

^QF (Find) and ^QA (Find and Replace) commands can be used to 
Find/Replace ^P commands by entering the ASCII equivalent of these  
codes after the question mark prompt (FIND?).  The procedure is:

	1. Hold down the ALT key, then type in the 3-digit number, then        
	   release the ALT key.  Use the number pad ONLY!  The numbers on top
	   row of keyboard will not work with ALT key.

	2. The 3-digit codes are:

		^PB	130
		^PD	132
                ^PS     147	underline
		^PT	148
		^PV	150
		^PX	152
		^Py	153	continuous underline

^QF (Find) and ^QA (Find and Replace) commands can be used to Find/Replace
both hard and soft carriage returns by entering ^N after the question mark
prompt (FIND?).


		Conversion of WORDSTAR files to ASCII

WORDSTAR files may be converted to standard ASCII files with the following
series of commands.  These changes will made be in your existing file, so
you may wish to work on a copy.  (Remember to go to top of file before
each ^QA command is entered, or use 'gnb' as optionresponcse to REPLACE WITH? prompott.)

 ^QA
 FIND?space     REPLACE WITH?|         OPTIONS?gn <ENTER followed by up arrow>
 ^QQ^B
 1                                                <at end, hit SPACE bar>
 FIND?|         REPLACE WITH?space     OPTIONS?gn <ENTER followed by up arrow>
 ^QA
  FIND?^N        REPLACE WITH?^N        OPTIONS?gn <ENTER followed by up arrow>


                 where: | means pipe symbol
                 where: space means 'press space bar once'


		Conversion of ASCII files to WORDSTAR

ASCII files may be converted to standard WORDSTAR files with the following
series of commands.  These changes will made be in your existing file, so
you may wish to work on a copy.  (Remember to go to top of file before
each ^QA command is entered, or use 'gnb' as responce to REPLACE WITH? prompt.)

 ^QA
 FIND?^N^N      REPLACE WITH?^P^J^P^M  OPTIONS?gn <ENTER followed by up arrow>
 FIND?^N        REPLACE WITH?space     OPTIONS?gn <ENTER followed by up arrow>
 FIND?^P^J^P^M  REPLACE WITH?^N^N      OPTIONS?gn <ENTER followed by up arrow>
 ^QQ^B
 1                                                <at end, hit SPACE bar>

                 where: space means 'press space bar once'