home *** CD-ROM | disk | FTP | other *** search
/ Dr. CD ROM (Annual Premium Edition) / premium.zip / premium / DOSUTIL1 / GEOUTILS.ZIP / TIPS.DOC < prev   
Text File  |  1992-07-05  |  24KB  |  508 lines

  1.  .
  2.  
  3. Overview
  4.  
  5.      This document is provided as a way for PC/GEOS users to get the most out of
  6.  Ensemble.  It contains technical information on how to modify PC/GEOS system
  7. files and use undocumented features.  Therefore, most of these tips are for
  8. advanced DOS users and are not supported by GeoWorks since they go beyond the
  9. scope of normal use. [Note also that GeoWorks cannot promise to get you out of
  10. any mess you may create using this information. Not to say we won't, but the
  11. customer service reps have not been briefed on this information since it is,
  12. as Frank says, undocumented -- GW Adam]
  13.  
  14. This is the second edition of Tips and Tricks and will again be posted on
  15. America Online.  I have updated some of the icon names, added more tips for
  16. version 1.2, and included a new version of DOS_CMD.EXE which uses less memory.  I also go into a little 
  17. more technical detail in some areas.  The major sections are:  
  18.  
  19. A.  Two undocumented functions:  dosAssociations and dosParameters  (these
  20. functions allow you to run DOS programs when you click on a certain file type
  21. and also allow parameters to be passed to DOS programs.)
  22. B.  How to reassign GEOS icons to DOS files
  23. C.  A listing of files essential for PC/GEOS operation
  24. D.  How to use external protocols with GeoComm
  25. E.  New for Version 1.2
  26. F.  Other Tips
  27.  
  28. I welcome comments and suggestions.  You can reach me by sending mail on
  29. America Online.
  30. My screen name is FrankLfr.
  31.  
  32. dosAssociations and dosParameters
  33.  
  34. Two undocumented functions exist that allow GeoManager to (1) run DOS programs
  35.  when you click upon a certain file (or file type - like *.TXT) and (2) specify
  36.  parameters for DOS .COM and .EXE files.  What this means is that GeoManager can automatically run a DOS program and load the DOS file you clicked on in the same way you can double click on a GEOS document and have its creator automatically load it!  To use these functions you must modify your GEOS.INI file, so if you don't feel comfortable with this, you shouldn't do it.  Also remember that there is a backup of your GEOS.INI file in the System directory named INI.BAK - in case things go wrong.  Note: This backup copy is overwritten with the current GEOS.INI file when you run preferences or setup.
  37. With that said, under the heading of [fileManager] in the GEOS.INI file you will
  38.  notice the function filenameTokens {}.  The two new functions are
  39.  dosAssociations {} and dosParameters {}, both have a similar format to
  40.  filenameTokens {}.  The best way of explaining their format is to just show
  41.  how they work by an example: 
  42.  
  43. [fileManager]
  44. filenameTokens = {
  45.         *.EXE = "gDOS",0
  46.         *.COM = "gDOS",0
  47.         *.BAT = "gDOS",0
  48.         *.*   = "FILE",0,"NPAD",0   (In version 1.2, this line allows you to
  49.                                      double click on a } DOS file and have
  50.                                      Notepad come up automatically!)
  51. dosAssociations = {
  52.         *.DOC = C:\UTILS\EDIT.COM
  53.         *.TXT = C:\UTILS\EDIT.COM
  54.         *.ZIP = C:\UTILS\PKUNZIP.EXE
  55. }
  56. dosParameters = {
  57.    FORMAT.COM = ?
  58.    PCPLUS.EXE = /f
  59.   DOS_CMD.EXE = ?
  60. }
  61.  
  62. First let me explain the dosAssociations {} function.  In the example above, I
  63.  have told GeoManager to invoke the file C:\UTILS\EDIT.COM each time a file with
  64.  the extension .TXT or .DOC is double clicked.  You must specify the pathname
  65.  (unless the file is in the DOS PATH) and filename with its extension (i.e. C:\U
  66. TILS\EDIT would not have worked).  As seen in the example, wildcards are accepted
  67.  for the files (but not for the programs to be run, of course).  What actually
  68.  happens is that GeoManager simply places the filename you clicked on after the
  69.  program on the command line.  So, if you double clicked README.TXT, GeoManager
  70.  would drop to DOS and run 'C:\UTILS\EDIT.COM README.TXT.'  Therefore, you must
  71.  be sure that your program allows files to be loaded by placing their name on
  72. the command line (almost all programs do this).  By the way, with version 1.2
  73. you can specify that Notepad will open certain file types as seen above with
  74. the line *.* = "FILE",0,"NPAD",0.  
  75.  
  76. Note:  If you use *.* for Notepad make sure you read the section "New for
  77. Version 1.2" on how to modify your GEOS.INI so you don't lose your
  78. dosAssociations.
  79.  
  80. The dosParameters {} function allows you to specify parameters for .EXE and
  81. .COM files.  Unfortunately, you cannot specify parameters for .BAT (batch) files
  82.  <sigh>.  The format is straightforward:  the filename with extension
  83. (wildcards are accepted - for example *.COM), an equal sign, and then the
  84.  parameter(s).  If the parameter is a question mark (?), then GeoManager will
  85. prompt you for the parameters each time you double click on that file.  To
  86. enter the parameters a dialog box similar to this will appear:
  87.  
  88. .
  89.  
  90. You can also combine the two functions.
  91. For example, I can modify dosParameters {} to look like this:
  92.  
  93. dosParameters = {
  94.      EDIT.COM = ?
  95.    PCPLUS.EXE = /f
  96.   DOS_CMD.EXE = ?
  97. }
  98.  
  99. Here I have added the line EDIT.COM = ?.  Now, every time I click on a *.TXT
  100. or *.DOC file, GeoManager will know to load 'C\UTILS\EDIT.COM' from the dosAssoc
  101. iations {} function,but it will also ask for parameters since I specified
  102. EDIT.COM = ? in dosParameters {}.  Note that the parameters are (for some
  103. strange reason) added BEFORE the selected filename on the actual DOS command
  104. line.  So, if I double click on the file README.TXT and enter the parameter
  105. "/v" when GEOS prompts me, the resulting DOS command line (what DOS would see),
  106.  looks like this:  
  107.  
  108. C:\UTILS\EDIT.COM /v README.TXT - notice the order. 
  109.  
  110. Finally, the dosParameters {} function can be used to create a DOS command line
  111.  feature as requested by several people.  I did this by creating a simple
  112. program called DOS_CMD.EXE whose only function is to pass its parameters to
  113. DOS as commands.  Thus, by having DOS_CMD.EXE in your World directory and
  114. "DOS_CMD.EXE = ?" in the dosParameters {} function (as shown in the example),
  115. you have a quick and easy way to enter DOS commands.
  116.  
  117. One more thing, since I have included BAT2EXEC, you can now simulate a a batch
  118. file.  For example, suppose I wanted to use the DOS DISKCOPY command because
  119. this reduces the swapping of disks as opposed to copying a disk using GEOS
  120. (the more RAM that is available the less swapping is required).  I would
  121. simply write a batch file named DISKCOPY.BAT, for example, that contains this
  122. line:
  123.  
  124. C:\DOS\DISKCOPY %1 %2 %3 %4
  125.  
  126. Then I would compile the batch file to a .COM file using BAT2EXEC and write
  127. the following under the heading of [fileManager] in GEOS.INI:
  128.  
  129. dosParameters = {
  130.  DISKCOPY.COM = ?
  131. }
  132.  
  133. By placing the compiled DISKCOPY.COM file into the World directory, you have
  134. quick access to this function.  Now every time you double click on DISKCOPY.COM,
  135.  it will ask you for the parameters and then copy the disk.  The same can be
  136. done with the DOS FORMAT command, etc.
  137.  
  138. A word of caution:
  139. I have had problems with BAT2EXEC in that it created phantom files in my World
  140. directory.  That is why I created DOS_CMD.EXE.  It is safer and also allows
  141. unlimited parameters (instead of creating and compiling a batch file which
  142. simply contains %1 %2 %3, etc.).
  143.  
  144. There is another undocumented function called which allows you turn off the
  145. blinking cursor.  Under the section name [input] in the GEOS.INI file you can
  146. write:
  147.  
  148. [input]
  149. blinking cursor = false 
  150.  
  151. which then turns off the blinking cursor.  A value of 'true' would turn
  152. it back on.
  153.  
  154. Assigning GEOS Icons to DOS Files
  155.  
  156. Here is a way to give your DOS files any icon seen in GEOS (to temporarily,
  157. I hope, relieve the lack of an icon editor).  Under the heading of [fileManager]
  158.  in the GEOS.INI file add the name of your file (wildcards ok) and then specify
  159.  the icon (ie token), which is a four letter code and is case sensitive.
  160.    The code is in quotes and is followed by a comma and a zero.  For example,
  161.  if I wanted to give my PROCOMM.BAT file the GeoComm icon, my GEOS.INI file
  162. would be modified to look like this:
  163.  
  164. [fileManager]
  165. filenameTokens = {
  166.    PROCOMM.BAT = "TERM",0
  167.          *.EXE = "gDOS",0
  168.          *.COM = "gDOS",0
  169.          *.BAT = "gDOS",0
  170.          *.*   = "FILE",0,"NPAD",0
  171. }
  172.  
  173. Notice that I have placed the filename before the wildcards - this is important!
  174.   Also note that the four letter code for GeoManager is TERM.  The four letter
  175. codes for the rest of the icons are listed below along with the actual icons on
  176.  the next page.  Remember they are case sensitive and must be in quotes followed
  177.  by a comma and a zero as seen above.
  178.  
  179. gDOS  - generic DOS program icon    WP00  - GeoWrite icon
  180. FILE  - generic DOS file icon    NFCT  - Nimbus font converter icon
  181. gAPP  - generic GEOS application icon    NPAD  - Notepad icon
  182. gDAT  - generic GEOS data icon    PERF  - Perf icon
  183. 3DFt  - 3D Font Demo    PMGR  - Preferences icon
  184. AMOL  - America Online icon    scbk  - Scrapbook data file icon
  185. BANR  - Banner icon    Scrp  - Scrapbook icon
  186. BONC  - Bounce    DUMP  - Screen Dumper
  187. CALc  - Calculator icon    SOLI  - Solitare icon
  188. CCOM  - Complete Communicator    FLDR  - Subdirectory folder icon
  189. TERM  - GeoComm icon    TETR  - Tetris icon
  190. adbk  - GeoDex data file icon        
  191. ADBK  - GeoDex icon    Icons only in TOKEN.DB
  192. DDAT  - GeoDraw data file icon    
  193. DP00  - GeoDraw icon    GCAL  - Unknown application icon
  194. DESK  - GeoManager icon    GCDa  - Unknown app's data file
  195. plnr  - GeoPlanner data file icon    
  196. PLNR  - GeoPlanner icon
  197. WDAT  - GeoWrite data file icon
  198. Here are the actual icons:
  199.  
  200. .
  201. If you browse through the TOKEN.DB file with a HEX/ASCII editor you might
  202. find some duplicate icons, but I have only listed the primary ones here
  203. since the other ones haven't always worked for me in all cases.
  204.  
  205. Note:  Within the TOKEN.DB file which was sent out on the setup disks with
  206. version 1.2 there are two additional icons shown here:
  207.  
  208.   .
  209.  
  210. Be careful, though.  If you erase (e.g. to rebuild) your TOKEN.DB file
  211. they will be gone!
  212.  
  213. A technical note about PC/GEOS file structure and icons:
  214.  
  215. You may wonder where all these mysterious codes come from and what they mean.
  216. First let me briefly explain the way PC/GEOS stores files.  As you may have
  217. already noticed, PC/GEOS stores GEOS files with a three digit numeric extension.
  218.   This is because PC/GEOS allows long filenames whereas DOS does not.  So, if
  219. you save a file named "Business Report for April" in GeoWrite, the DOS file
  220. name would look like BUSINESS.000.  All that PC/GEOS does is take the first
  221. eight valid DOS characters from the GeoWrite name and then tack on a numeric
  222. extension.  If a BUSINESS.000 file already existed, PC/GEOS would simply
  223. increment the numeric extension by one, thus creating a BUSINESS.001 file
  224. (for example, that would be the case if you subsequently created a GeoWrite file
  225.  called "Business Report for May").  You can therefore create a thousand PC/GEOS
  226.  data files in which the first 8 characters of the filename are "business."
  227. The actual PC/GEOS filename is stored within the data file itself along with
  228. the its Type and Creator.
  229.  
  230. If you use a file Hex editor to view PC/GEOS files (application or data files),
  231.  you will notice three things.  The file's Type is listed at offset 14H, the
  232. Creator at offset 1AH, and the long filename at offset 20H.  The Type and
  233. Creator are stored as four digit codes.  The Type is simply the code for that
  234. particular file 'type' and the creator is the code of the application which
  235. created it.  The Creator for all PC/GEOS applications is GEOS.  The codes
  236. which I listed for the icons are the Type codes.  Thus, if you wanted to know
  237. the code for a new PC/GEOS application, you could simply pull out your handy
  238. hex editor and take a look at offset 14H to find the code.  For example, the
  239. Type and Creator of a GeoWrite document would be WDAT and WP00, respectively.
  240. Whereas, the Type and Creator of GeoWrite itself is WP00 and GEOS.
  241.  
  242. Now a little background on icons.  When PC/GEOS is started for the very first
  243. time, it looks through all the files in the current directory (e.g. World) and
  244. places any icons it finds into a database file called TOKEN.DB.  The purpose of
  245.  this file is to prevent PC/GEOS from having to look through all the files to
  246. find icons (a slow process) each time it is started.  Once the TOKEN.DB file
  247. has been created, PC/GEOS can simply load it on startup and display the icons
  248. without having to search the files.  If you open a directory containing GEOS
  249. files that have new icons (i.e. that aren't in TOKEN.DB), PC/GEOS searches
  250. these files and places the icons into TOKEN.DB.  The building of TOKEN.DB can
  251. take some time, depending on the amount and size of your files.  For example,
  252. if you erase the TOKEN.DB file (don't worry - it won't harm anything) you can
  253. see how long it takes to rebuild the database.  The icons in TOKEN.DB are
  254. referenced according to the file's Type.  There are some drawbacks to this
  255. scheme.  For instance, if a new version of a GEOS application comes out that
  256. has a new icon, you probably won't be able to see it until you erase the old
  257. TOKEN.DB file (this was the case with previous screen dumpers).  Why?
  258. Remember that the TOKEN.DB file references the icons according to the file's
  259. Type code.  If the updated application has not changed any of its codes, PC/GEOS
  260.  will assume that the icon in TOKEN.DB is valid and show you the old one that
  261.  it has in its database.  It is not until you erase the TOKEN.DB file and force
  262.  PC/GEOS to rebuild the icon database that you will see the new one.  
  263.  
  264. This brings up an interesting thought regarding an icon editor for the
  265. professional workspace.  It seems possible that a DOS based icon editor program
  266.  could be made that adds icons to the TOKEN.DB file or creates small icon-only
  267. apps.  These icons could then be accessible via the filenameTokens function
  268. previously described under "Assigning GEOS icons to DOS files."  What this
  269. means is that you could create new icons for DOS files (under GeoManager).
  270. For example, instead of having to go the DOS room to run Quicken, you could
  271. simply create a batch file which would run it, place it into the World
  272. directory, and then create a new Quicken icon using the DOS icon editor.
  273. You could even change icons for PC/GEOS applications!  Know of anyone with
  274. icon editor programming experience?
  275.  
  276. Essential Files for PC/GEOS operation
  277.  
  278. While Beta Testing for version 1.0, I did an experiment to see how much I could
  279.  strip off of GEOS and still get it to run.  I was able to bring it down to
  280. about 705K, but this means, no applications, fonts, Solitare cards
  281. (DECK.GEO - I think), etc.  Only GeoManager.  There is nothing to do but look at
  282.  the GeoManager icon or maybe format a disk.  But this is a good starting point
  283.  though for those who are really tight on space and want to know what the bare
  284. essentials are.  You can, by the way, run it from a floppy but it is really slow
  285. .  For example, the operating system can be on one disk and some apps on another
  286. . (GeoDraw and Solitare need system resource files however, so they can't be
  287. put on another disk).  Just for the fun of it I decided to time how long it
  288. takes to boot up on a floppy, hard disk and ram disk.  Here are the results:
  289.  
  290.                 Startup time         Shutdown time
  291. Ram disk:       6   seconds          2 
  292. Hard disk:      18                   6
  293. Floppy:         120                  80 
  294.  
  295. Here is a listing of the essential files for my particular system (which uses
  296. a serial mouse (LOGISER.GEO), VGA (VGA.GEO), DOS 5.0 (DOS5.GEO) and extended
  297. memory (XMS.GEO):
  298.  
  299. B:.
  300. |   PCGEOS.BAT
  301. |                
  302. \---GEOWORKS
  303.     |   SYSFILE.CMD
  304.     |   GEOS.EXE
  305.     |   GEOS.INI
  306.     |                
  307.     +---SYSTEM
  308.     |   |   INI.BAK
  309.     |   |   TOKEN.DB
  310.     |   |   MOTIF.GEO
  311.     |   |   UI.GEO
  312.     |   |   KLIB.GEO
  313.     |   |   SERIAL.GEO
  314.     |   |   SPOOL.GEO
  315.     |   |   VGA.GEO
  316.     |   |   NIMBUS.GEO
  317.     |   |   IMPORT.GEO
  318.     |   |   KBD.GEO
  319.     |   |   IM.GEO
  320.     |   |   DOS5.GEO
  321.     |   |   DBASE.GEO
  322.     |   |   STREAM.GEO
  323.     |   |   LOGISER.GEO
  324.     |   |   XMS.GEO
  325.     |   |   DISK.GEO
  326.     |   |   SOUND.GEO
  327.     |   |   CLIPBOAR.000
  328.     |   |                
  329.     |   +---WELCOME
  330.     |   |       DOS_ROOM.000
  331.     |   |                    
  332.     |   \---SPOOL
  333.     +---WORLD
  334.     |       DESKTOP.GEO
  335.     |                        
  336.     +---STATE
  337.     |       WELC_ENV.STA
  338.     |       DESKTO00.STA
  339.     |                        
  340.     +---FONT
  341.     |       FONTBUF
  342.     |       UNIVERSI.FNT
  343.     |       BERKELEY.FNT
  344.     |                        
  345.     \---SYSAPPL
  346.             WELCOME.GEO Using External Protocols with GeoComm
  347.  
  348. Have you ever wanted to drop to DOS while online with GeoComm?  Ever wanted
  349. to use an external protocol (like ZMODEM) with GeoComm?  Well, the first
  350. thing you need to realize is that when PC/GEOS drops to DOS it also drops the
  351. DTR (Data Terminal Ready) line.  What does this mean to you?  Most modems
  352. are set so that they hang up when the DTR line is dropped.  In order to
  353. drop to DOS without having the modem hang up you need to issue the following
  354. command in GeoComm (for Hayes compatible modems):  AT&D0 <Enter>.  This should
  355. set the modem to ignore the DTR line and not hang up.  Below the original
  356. message I left regarding this matter.
  357.  
  358. A big suggestion that I would like to make for GEOS is that the DTR (Data
  359. Terminal Ready) line not be dropped for GeoComm and PCAO when running a DOS
  360. application.  The reason GWRepDave and others have been able to drop to DOS is
  361. because their modems are most likely set up to ignore the DTR line.  However,
  362. the dropping of the DTR line is a very good way of hanging up the modem
  363. (the +++ method isn't always reliable).  Programs like Procomm do both or
  364. whichever one you choose.  I think that GEOS should prompt you whether or not
  365. to drop the line on a complete exit, but not during a quick exit to DOS.
  366. If you are having problems dropping to DOS try the following command in
  367. GeoComm (for Hayes compatible modems): AT&D0 <Enter> - this should allow
  368. your modem to ignore the DTR line. 
  369.  
  370. Also, GWRep Dave and others have uploaded some great batch files with which
  371. you can easily set up ZMODEM as an external protocol - check them out!
  372.  
  373. New for Version 1.2
  374.  
  375. New GeoManager Features
  376.  
  377. Taken from the file "Version 1.2 New Features" in the GeoWorks library:
  378.  
  379. There are several new features in GeoManager. Under the OPTIONS menu, you will
  380. find a new option that will allow you to come directly back to PC/GEOS after
  381. you exit a DOS app launched from GeoManager. If you don't like "Press ENTER to
  382. return.......", then this is for you. If you are an advanced user , you can
  383. edit the geos.ini file to allow you to open any text file simply by double
  384. clicking on it. This will cause NotePad to come up with the file you've chosen.
  385.  You will need to insert theu nderlined lines shown below (of course, you won't
  386.  underline them in the .ini file!):
  387.  
  388. [file manager]
  389. filenameTokens = {
  390.     *.EXE = "gDOS",0
  391.     *.COM = "gDOS",0
  392.     *.BAT = "gDOS",0
  393.     *.SYS = "gDOS",0,"NPAD",0
  394.     *.*   = "FILE",0,"NPAD",0
  395. }
  396.  
  397. For those of you who would like to see the "Are you sure you want to Exit to
  398. DOS?" go away....Adam D. has provided you the "rope" to allow you to do just
  399. that. At the part of there .ini file that begins with:
  400.  
  401.  
  402.     [welcome]
  403.     versiontext = Version 1.2 Beta #2
  404.     resetIfOEMSerialNumber = true
  405.     enteredprofessionalroom = true
  406.     startuproom = Professional
  407.     
  408. insert >    confirmShutdown = false
  409.  
  410.     [text]
  411.  
  412. Notice the line:  *.SYS = "gDOS",0,"NPAD",0.  This seems to be redundant since
  413. the line following it (*.*   = "FILE",0,"NPAD",0) opens all files anyway.  The
  414. only thing the *.SYS line seems to do is change the icon for those files to
  415. the DOS program icon.  I removed this line in my GEOS.INI.  
  416.  
  417. If you use the dosAssociations function in version 1.2 and have the line
  418. *.*   = "FILE",0,"NPAD",0 in your GEOS.INI you need to make some modifications
  419. otherwise the dosAssociations won't work.  For example if you have
  420. dosAssociations set up to unzip all .ZIP files, double clicking on a .ZIP file
  421. will instead open Notepad!  Luckily there is an easy way to get around this.
  422. You can do one of two things.  Either erase the *.*   = "FILE",0,"NPAD",0 line
  423. and specify each individual type of file you want Notepad to open or (my
  424. favorite way) add the file types you listed under dosAssociations to
  425. filenameTokens.  Here's an example of what I mean.  Suppose I want to set up
  426. my GEOS.INI so that I still retain the ability to double click on any file and
  427. have Notepad come up, but also that double clicking on a .ZIP file will bring
  428. up PKUNZIP.  This is how the GEOS.INI would be set up: 
  429.  
  430. [fileManager]
  431. filenameTokens = {
  432.         *.EXE = "gDOS",0
  433.         *.COM = "gDOS",0
  434.         *.BAT = "gDOS",0
  435.         *.ZIP = "FILE",0            ( <-- add this line)
  436.         *.*   = "FILE",0,"NPAD",0
  437. }
  438. dosAssociations = {
  439.         *.ZIP = C:\UTILS\PKUNZIP.EXE
  440. }
  441.  
  442. That's all there is to it.  For every file type you specify in dosAssociations
  443. just add the line  *.XYZ = "FILE",0 to filenameTokens.  But... make sure it
  444. comes before the NPAD entry, otherwise it won't work!
  445.  
  446.  
  447.  
  448. Selective Copying from the Setup Disks
  449.  
  450. Have you ever wanted to get a file off the original setup disks only to find
  451. that they have been compressed and are unretrievable?  Well now there's good
  452. news.  Starting with version 1.2 there is a GEOS.TOC file on the first setup
  453. disk that can be modified to allow you to get any file(s) off any setup disk.
  454. Looking at the beginning of the GEOS.TOC file you see this:
  455.  
  456. g0    4956160    1404928    Standard Install (needs 4.7Meg)
  457. g1    3985408    765952    Medium Install   (needs 3.9Meg)
  458. g2    2668544    432128    Minimal Install  (needs 2.7Meg)
  459. nGEOS.EXE
  460. nGEOSCRAS.HED
  461. nGEOS_ACT.IVE
  462. nSTATE\*.STA
  463. nGEOSCONF.BAT
  464. d1    GEOS 1
  465. *012    SYSFILE.CMD
  466. *012    VERSION.TXT
  467. *012    GEOS.BAT
  468. 012    SYSTEM\WELCOME\LOGOCGA.BIN
  469. 012    SYSTEM\WELCOME\LOGOHGC.BIN
  470. 012    SYSTEM\WELCOME\LOGOEGA.BIN
  471. 012    SYSTEM\WELCOME\LOGOVGA.BIN
  472. *012    GEOS.TOC
  473. 012    SYSTEM\PSCRIPT.GEO
  474. 012    SYSTEM\PS.GEO
  475. *012    SETUP.EXE
  476. 012    SYSAPPL\WELCOME.GEO
  477. 01    SYSTEM\QFORMS\PCAOVPIC.VM
  478. 012    GEO.HLP
  479.  
  480.  
  481.  
  482.  
  483. Formatting ASCII text to and from PC/GEOS
  484.  
  485. GWRepBobby uploaded a handy utility I use all the time called TEXTCON
  486. (under Shareware and Utilities called "Remove CRs") which formats text to and
  487. from the GeoWrite/Notepad text format.  Have you ever written text in Notepad
  488. and then gone to DOS only to find that the lines are too long for your DOS
  489. ASCII editor?  Or, have you ever wanted to format text in GeoWrite/Notepad
  490. only to find that there are carriage returns everywhere?  Welp, TEXTCON takes
  491. care of all that and more.  The hardest part about using it is reading through
  492. the instructions since it is a rather complex program.  To save you the trouble,
  493.  I am showing you what is in my batch file called CONVERT.BAT.  The way it works
  494.  is this:  Type CONVERT followed by the filename of the text file you want to
  495. convert.  TEXTCON will then automatically analyze the file, convert it, and
  496. save it to a file named CONVRTED.TXT.  You don't have to do anything but
  497. specify the filename!!  If the file is in the Notepad format, for example, (i.e.
  498.  no carriage returns until the paragraph ends) it will convert it to 80
  499. column ASCII and vise versa!  Here is CONVERT.BAT:
  500.  
  501. @echo off
  502. c:\utils\textcon -T3 -I3 -S69 %1 CONVRTED.TXT
  503.  
  504. This batch file has worked very well for me.  Hope you like it.
  505.  
  506.  
  507.  
  508. a