home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / indent / readme.amiga < prev    next >
Text File  |  1999-05-21  |  3KB  |  68 lines

  1.                             GNU Indent 1.7
  2.                             --------------
  3.  
  4.                             Amiga port by:
  5.  
  6.                             Carsten Steger
  7.  
  8.  
  9. This is GNU Indent 1.7 for the Amiga.
  10.  
  11. Indent allows you to reformat any C program the way you like.  I  have
  12. included a  TeX'd version of  the documentation since  not  all people
  13. have  texindex.  So  print  the  file  "indent.dvi"  to  get  all  the
  14. information you need about using indent.
  15.  
  16. I have ported indent using SAS/C 5.10.  I  don't  know whether it will
  17. compile  with Aztec  or DICE.  See below  for instructions on  how  to
  18. compile indent. The  changes I  had to  make are  listed  in the  file
  19. "amiga.diffs" (context-diffs).
  20.  
  21. Please note that I had to emulate  the wildcard expansion that typical
  22. Unix shells do. Therefore you can type "indent source/#?/#?.[ch]" just
  23. like in the Unix-version of indent.
  24.  
  25. If  you have  Kickstart 2.0  installed, copy "c/indent-kick-2.0"  to a
  26. directory  in  your path and  rename  it  to  "indent".   This version
  27. supports  all DOS 2.0 patterns. If you want to  recompile indent, just
  28. type "lmk -f Makefile.amiga".
  29.  
  30. If   you  have  Kickstart   1.3  installed,   you  should  first  copy
  31. "libs/arp.library" to "LIBS:". Then copy "c/indent-arp-kick-1.3"  to a
  32. directory  in  your  path  and rename it  to  "indent".   This version
  33. supports  all ARP V39.1 patterns. If you  want to recompile, you first
  34. have to patch  the source files by typing "patch  <arp-kick-1.3.diffs"
  35. and then "lmk -f Makefile.amiga". ¡¡¡¡¡ Note  !!!!! If you  don't have
  36. "arp.library" V39 installed in "LIBS:", wildcard patterns simply won't
  37. be expanded.  In that  case you  will have to use  a  shell that  does
  38. wildcard-expansion for you.
  39.  
  40. Indent  first  looks  for  the  profile  ".indent.pro"  in the current
  41. directory and  then in "S:". The backup file names indent uses are the
  42. same as in  David  Gay's  brilliant  port of GNU Emacs 18.58.  If  the
  43. environment variable "VERSION_CONTROL" is set to "simple", backup file
  44. names will be constructed  by  appending "!"  to the filename: "foo.c"
  45. becomes  "foo.c!". If it is set to "numbered_existing" (the  default),
  46. and if numbered backups already  exist, or if it is set to "numbered",
  47. backup file names will look like this: "foo.c.!<num>!", where <num> is
  48. one greater than the highest current version  number. If it  is set to
  49. "never", no backups will be made.
  50.  
  51. If  you think that you have found some bugs that are specific  to  the
  52. Amiga-version of indent (e.g. something  that works on a  Unix-machine
  53. and not on your Amiga), send an E-mail to
  54.  
  55. carsten.steger@informatik.tu-muenchen.de
  56.  
  57. Please send generic  bug-reports directly to the  authors,  as I  will
  58. only forward  them.  (Since  I'm working on my thesis  I don't have as
  59. much time as I would like to respond to mail). The address is:
  60.  
  61. bug-gnu-utils@prep.ai.mit.edu
  62.  
  63.  
  64.  
  65. Have fun!
  66.  
  67. Carsten
  68.