| |    | 85019 packages online | 
 | 
|  | 
| 
 | 
| dev/c/ged4indent.lha |  |  | | No screenshot available | 
| Short: | Indent C-source in GoldEd4 |  | Author: | "Thomas Aglassinger" agi  giga.or.at |  | Uploader: | Thomas Aglassinger <agi giga or at> |  | Type: | dev/c |  | Version: | 1.2 |  | Architecture: | m68k-amigaos |  | Date: | 1997-10-01 |  
 | Requires: | GoldEd 4.x, GNUindent |  
| Download: | dev/c/ged4indent.lha - View contents |  | Readme: | dev/c/ged4indent.readme |  | Downloads: | 1451 |  
 |  | TITLE
  ged4indent
VERSION
  1.2
AUTHOR
  Thomas Aglassinger <agi@giga.or.at>
DESCRIPTION
  Ged4indent is an ARexx-script which indents a C-source currently
  displayed by GoldEd using GNUindent.
FEATURES
  None; simply does it's job.
SPECIAL REQUIREMENTS
  o GoldEd, Version 4.x (aminet:text/edit/)
  o GNUindent (aminet:dev/c/)
AVAILABILITY
  aminet:dev/c/ged4indent.lha
PRICE
  Freeware
DISTRIBUTABILITY
  This stuff is Public Domain.
DISCLAIMER
  No responsibilities are taken for trashed sources, damaged Amigas
  or any other components or data involved while using ged4indent.
CREDITS
  This script is based on material written by Michael Bauer. His
  scripts are available from `aminet:dev/c/GEDindent.lha', but
  does no longer work with GoldEd, release 4.
INSTALLATION
  Copy the ARexx-script `ged4indent.ged' to `GoldEd:ARexx/', and
  build up a new menu entry for it, for example:
  COMMAND: GoldEd:Arexx/ged4indent.ged
  TYPE   : Arexx
  OUTPUT : CON:0/2048/384/128/indent/AUTO/WAIT/CLOSE/SCREENGOLDED.1
  Error messages will then appear on the screen of GoldEd.
CONFIGURATION
  By default, `indent' will be invoked using options which will match
  the style GoldEd supports in it's initial configuration. If you do
  not like this style, you can set an environment variable named
  `ged4indent.prefs' with your preferred style, for example:
    setenv ged4indent.prefs "-bl -bli0 -i4 -sob -sc -npsl -npcs -lp"
  You can add a line like the above to your s:user-startup.
  Refer to the manual of indent for the meaning of these options.
ERROR HANDLING
  In case of `indent' shows up any error messages, a window will open
  and display these messages. The source code in the current editor
  window remains untouched.
  But usually the message reported by `indent' are not of much use.
  You better run a compiler on your faulty source code to find out
  details.
INDENTING A SINGLE FUNCTIONS
  If you do not want to indent the whole file, but just the function
  the cursor currently is in, there is a second script included called
  `ged4findent.ged'.
  To find the beginning of the current function, it searches backwards
  for a `{' at the first column of a line. If found, it searches for
  the corresponding `}' and marks the text in between.
  This block is written to a temporary file, processed by `indent' and
  reloaded again. Because of the block operations, there will be some
  flickering on the screen.
  Installation and configuration work as described above, too.
PROBLEMS
  The version of `indent' included on the Geek Gadgets v1 always opens
  an output window on the screen, even if `indent' does not show any
  messages. I do not know why. Use the SAS-compiled port in
  aminet:dev/c.
  For `ged4findent.ged' it is important that the first curly bracket
  (`{') of the function is in the first column of a line.
HISTORY
  v1.2, 25-Sep-1997
  - added `ged4findent.ged' which indents only current function
  - temporary files are always removed, even in case of error
  - cursor position is always restored, even in case of error
  v1.1, 11-Jun-1997
  - added support for environment variable `ged4indent.prefs'
  - indented version is first created in a temporary file, and only
    read into editor again if no error occurred
  v1.0, 26-Jan-1997
  - initial release
 |  | 
 Contents of dev/c/ged4indent.lha
  PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  275     628  43.8% -lh5- 0859 Sep 25  1997 ged4indent.info
[generic]                 1723    4201  41.0% -lh5- d988 Sep 28  1997 ged4indent/ged4findent.ged
[generic]                  290     519  55.9% -lh5- 8b25 Sep 25  1997 ged4indent/ged4findent.ged.info
[generic]                 1164    2470  47.1% -lh5- a24b Sep 25  1997 ged4indent/ged4indent.ged
[generic]                  286     519  55.1% -lh5- 77d6 Sep 25  1997 ged4indent/ged4indent.ged.info
[generic]                 1750    3581  48.9% -lh5- d22c Sep 25  1997 ged4indent/ged4indent.readme
[generic]                  239     468  51.1% -lh5- 1ad3 Sep 25  1997 ged4indent/ged4indent.readme.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         7 files    5727   12386  46.2%            Sep 30  1997
 | 
 |  | 
|  | 
| Page generated in 0.01 seconds | 
| Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet  aminet net> |