home *** CD-ROM | disk | FTP | other *** search
- GNU Indent 1.9.1 RISC OS release notes (Risc OS release 1.0 13-Mar-1995)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- Contents
- ~~~~~~~~
-
- Binary Archive:
-
- Indent - The indent application
- Indent/pro - A default profile
- Indent/txt - A plain text version of the indent(1) man page
- Updated by me to cover options not in the
- original man page.
- COPYING - GNU Public License (Source:GNU/COPYING)
- NEWS - GNU Release notes (Source:GNU/COPYING)
- README - GNU ReadMe (Source:GNU/COPYING)
-
- !ReadMe - This file.
-
-
- Source Archive:
- Source/ - Source and Makefiles for making indent
- GNU/ - GNU Documents
- Docs - Plain text manual (updated version of manpage)
- !Readme - This file.
-
-
- Intro
- ~~~~~
- Indent is a rather good C source formatting program that I found while
- desparately trying to find a quick way of sorting a couple of megs of
- very badly formatted C source.
-
- All credit for the availabilty of indent for RISC OS really belong withs
- the author of UnixLib, without which, I doubt I would have bothered to
- port it, and would have spent many hours manually formatting loads of C
- source code.
-
- I have 'RISCOS-ized' it a little, and hopefully made it more generally
- useful.
-
- Instalation
- ~~~~~~~~~~~
- Copy 'indent' into your library directory. The file indent/pro should be
- locatable either in the current directory, or elsewhere on File$Path.
-
- Notes
- ~~~~~
- This file just covers differences between indent as described in
- 'indent_man' and the version as ported to RISC OS.
-
- The preset options file for indent is called 'indent/pro' rather than
- 'indent.pro'. It must be placed in the same directory as 'indent'.
-
- In this release, backup files are not implemented properly, so you
- should allways give an output file name - a liitle more 'RISCOS-izing'
- is needed.
-
- indent/pro
- ~~~~~~~~~~
- This file is expected to be found in either the current directory, or
- elsewhere on file$path. If it does not exist, then default GNU Style
- options are used.
-
- Little is said in the GNU documentation about the format of this file,
- but it seems to be just a list of command options, one per line.
- Personally, I am tempted enhance the format so that it become more like
- a script, allowing options to be commented out, and more usefully, allow
- a quick reference quide to the options to be kept in this file.
-
-
- Compiling the Source
- ~~~~~~~~~~~~~~~~~~~~
- First of all, you need to have UnixLib.
-
- I compiled this with a developer only version of an Acorn C compiler as
- the first compiler I tried took a very long time to compile indent.c,
- and then the linker crashed when trying to link it.
-
- Re-linking with a later version of link seemed OK.
-
- As a consequence, I decided to re-compile the lot with the compiler that
- came with the linker that worked.
-
- Hopefully, being GNU source, you shouldn't have any problems compiling
- with the GNU compiler.
-
-
- To be done
- ~~~~~~~~~~
- Add proper Acorn DDE support for extended command lines.
- Provide a DDE wimp front end.
- Provide throwback support for warnings.
-
- Items of Interest
- ~~~~~~~~~~~~~~~~~
- Apparently someone is writing a program called 'review' thgat is
- supposed to examine your source code, and attempt to set options that
- match your style of coding. As yet, I havnt been able to locate this
- program, bit when I do, it will make a very useful companion to indent.
-
- Upgrades
- ~~~~~~~~
- As and when these become available, and I become aware of their
- existance, then the RISC OS version will soon follow. If you find a
- later versin than 1.9.1, please let me know in case I have missed it.
-
- ----------------------------------------
- Adam Goodfellow (13-Mar-1995)
-
- I can be contacted via email to adam@comptech.demon.co.uk.
-