home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume24 / faxpax / part05 / Howto.Install next >
Text File  |  1991-03-12  |  4KB  |  88 lines

  1. This is faxpak - the "how to do" bit.
  2.  
  3. You need all the bits and pieces that come with it. You also need 
  4. Jef Poskanzer's pbmplus kit. If you have it installed on your system, 
  5. you need to replace pbmtog3.c with the version that is included 
  6. in faxpak [there's only eol and eop differences fired up by a new 
  7. "-sierra" option]. If you don't have pbmplus, it's been posted to
  8. comp.sources.misc/vol9. I understand, Jef is currently [Feb '91] 
  9. in the process of preparing an updated pbmplus kit for posting.
  10. If you can't findt pbmplus locally, try varies archive servers [ic and
  11. ukc are good places in the uk]. If all else fails, try mailing 
  12. jef@well.sf.ca.us.
  13.  
  14.  
  15. Using sierra type fax modems I found pbmtog3 too close to the standard 
  16. - sierra type faxmodems are not, and fail therefore on page confirmation
  17. or multipage faxes to SOME fax machines on SOME g3 files. The brute force
  18. fix I made overcomes this. It's ugly too.
  19.  
  20. Read readme. Run FaxConfig, to get faxconfig.h, FAXLIB/fax.config 
  21. and some other bits and pieces.
  22.  
  23. If you're on a sun, make. If there's no smoke [there shouldn't be],
  24. make install
  25. else
  26. {
  27.     If you're running some other system, you have to know how to
  28.     get hardware flow control [termio(4) is a good place to start].
  29.     If you don't have hardware flow ctl, you might try xon/xoff.
  30.     I couldn't get it to work on a sun [don't tell me how it *should*
  31.     be done, unless you get it to work in practice with a sierra
  32.     type modem [it likes to hang up on me when I use xon/xoff]].
  33.     I know how to drive printers and plotters with xon/xoff. At
  34.     least they don't drop the phone line.
  35.  
  36.     Until you've sorted out flow ctl, use wiring.c as a stand alone
  37.     [and boy, you will feel alone] program. There's enough comments
  38.     to guide you to insanity.
  39. }
  40. Once you you have wiring.c working [flow ctl problem sorted out],
  41. you have to have another look at faxconfig.h, FAXLIB/fax.config.
  42.  
  43. You also have to decide, who can and who cannot. Set up some files
  44. fax.allow or fax.deny in FAXLIB, specifying either who is allowed
  45. to fax, or who should be prevented from doing so [the logic, I think, 
  46. is the same used by cron].
  47.  
  48. In fax.config you also can enter dialing codes vs timezones. See
  49. examples in FAXLIB/fax.config, if you want to send long distance
  50. faxes at cheap rates only.
  51.  
  52. Don't forget to put a binary of "fax" on each server. You need one
  53. for each architecture supported. Keep a spare handy for those
  54. emergencies. 
  55.  
  56. Then add a line to cron specifying when sendfax is to doodle. I
  57. have it running once an hour from 1pm to 5pm, and twice an hour
  58. after that till 6am. Enter another line for faxcleanup. This is
  59. a wire brush to free your disk of those faxes that absolutely won't
  60. go. I also made an entry in /usr/bin-I-think/newsyslog, to start
  61. a new log file each week. I keep logs 4 weeks. If you set loglevel
  62. [in FAXLIB/fax.config] to 9, these logs are huge.
  63.  
  64. On our spooler FAXLIB is owned by root, spool.fax runs suid and
  65. sgid root. The rest in FAXLIB is read/writeable by root only.
  66.  
  67. There are some stubs in various places for things I'm considering
  68. or planning for release 1.0. There commented out or undef'ed.
  69. Ignore these for the time being.
  70.  
  71. If you get it to work on a non sun, please let me have the diffs or
  72. the modifications. If you make a diykit.def file for a charset not
  73. catered for in faxhost/faxfonts, please let me have a copy of that
  74. too.
  75.  
  76. This is, as specified in various places, only version 0.99. After
  77. getting it to work at all, I will now shift the focus of attention
  78. to producing output that is pretty [I'm doing this in my spare time,
  79. so don't hold you breath].
  80.  
  81. Have fun
  82.  
  83. klaus schallhorn, klaus@cnix.uucp
  84.  
  85. You can always mail me for the things I forgot. There are bound to be 
  86. some. You can do what you want with faxpak, except trying to sell
  87. it. Don't make me start a price war. You're bound to lose.
  88.