home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / nrtable / README < prev    next >
Encoding:
Text File  |  1986-11-30  |  1.9 KB  |  52 lines

  1.     There are two programs in this package. "table", written by
  2. Bruce Townsend with help from Ian Darwin, prepares an nroff driver
  3. table from a source file. "elbat", written by Matt Crawford and
  4. modified for USG UNIX by Bruce Townsend, is the inverse operation -
  5. it decompiles an nroff driver table, producing a source file.
  6.  
  7.     The Makefile should not need modification other than to
  8. add new names of terminal drivers, of the form "tabXXX" where
  9. "XXX" is a mnemonic for a terminal, e.g. tab450 for a Diablo 450
  10. in 10-pitch mode. These names are added to the TABFILES definition
  11. in the Makefile. The format for Berkeley tab files is different
  12. and thus this package will not work on Berkely systems without
  13. substantial hacking.
  14.  
  15.     You may want to change CFLAGS, LDFLAGS, etc. to your taste
  16. or de-bugging preference.
  17.  
  18.     To compile the elbat program, type "make elbat".
  19. To de-compile a file, type "elbat /usr/lib/term/tabXXX > tabXXX.c"
  20.  
  21.     To compile a tabXXX file (say tab450), type "make tab450".
  22. Of course, you need the tab450.c source before you do this.
  23. Do NOT FORGET to include the tabXXX name in the TABFILES definition
  24. in the Makefile first.
  25.  
  26.     Be VERY CAREFULL with "make install" (try "make -n install
  27. first).
  28.  
  29.     Read the table.doc file and the term.5 man page for more info.
  30. I have updated the term.5 man page to reflect this program.
  31.  
  32. IF YOU HAVE PROBLEMS...
  33.     It is quite possible that some or all of the integers stored
  34. in the tabfile are long, not int. On our machine, long = int = 32 bits,
  35. so I do not know which is appropriate. Read the table.doc file for
  36. more info.
  37.  
  38. Acknowledgements:
  39.     Ian Darwin tested out the first (very buggy) version of
  40. this utility, and suggested many useful changes, including the
  41. introduction of the Makefile.
  42.  
  43.     Matt Crawford wrote the elbat program originally for
  44. Berkeley systems.
  45.             -Bruce Townsend
  46.  
  47.             Voice Processing Applications,
  48.             Bell-Northern Research,
  49.             Ottawa, Ontario.
  50.  
  51. Mail path: {utzoo, utcs, bnr-di, bnr-mtl}!bnr-vpa!bruce
  52.