home *** CD-ROM | disk | FTP | other *** search
- Tabs application
-
- Tabs is a utility application for inserting or removing tab
- characters (hex 09) from ASCII files.
-
- It was written because I wanted to use PipeDream to edit some data
- that existed as ASCII files without any tabs, but had to be
- organised into columns for editing.
-
- It was written as a 'command line' utility, so that it was
- invoked by entering a command such as:
-
- *Tabs input-file output-file -t -c 10,20,30
-
- It turned out to be one of those tools that was needed only
- rarely, but on those occasions saved a lot of messing around
- manually splitting data into columns.
-
- However, the rarity of its use meant that every time it got to
- come out of its box, I had forgotten how to use it. So I have now
- turned it into an interactive application that runs under the
- Acorn DDE environment.
-
- This makes it much easier to use, but does mean that you need the
- FrontEnd and TaskWindow modules that come with the DDE (TaskWindow
- also comes with RISC OS3 and both have appeared on a RISC USER
- magazine disk - July 92 Vol 5 No 7).
-
- TabsCfg
-
- Because Tabs was originally a command line I built in a facility
- to define a number of tabs profiles. Each profile has a name and
- consists of a set of command line options for Tabs. This
- considerably reduced the number of command arguments needed in
- most cases. These profiles are less valuable when running Tabs
- under the DDE, but can still be useful.
-
- TabsCfg allows you to update these profiles without the need to
- update and recompile the program source. It loads the Tabs program
- into memory, searches through it for the table of profile
- definitions, replaces this with data read from a file of new
- definitions and then writes the Tabs program back to disk.
-
- I made TabsCfg into a DDE style application as well.
-
- To see an example of a set of profile definitions, look in the
- TabsProf file within the !TabsCfg application directory.
-
- Installing Tabs and TabsCfg
-
- If you have the two DDE relocatable modules, copy the two
- application directories (!Tabs and TabsCfg) to a suitable
- directory for such applications (if you don't have the modules,
- don't bother to copy the application directories since they won't
- work).
-
- Copy the two program files (Tabs and TabsCfg) from the Library
- directory to your own Library directory.
-
- I chose to put the programs in the library directory (rather than
- installing them as !RunImage files within their respective
- application directories) because this still allows them to be run
- from the command line if you do not have the DDE relocatable
- modules. For a summary of the command syntax just issue the
- commands without any arguments.
-
- Paul Witheridge, December 1992
-