home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / misc / discuss / 3556 < prev    next >
Encoding:
Text File  |  1992-11-09  |  3.8 KB  |  84 lines

  1. Newsgroups: gnu.misc.discuss
  2. Path: sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!chx400!dxcern!sunsci!Roberto
  3. From: Roberto@sunsci.cern.ch (Roberto Divia CERN-ECP/DS +41 22 767 4994)
  4. Subject: Re: GNU Netfax
  5. Message-ID: <1992Nov9.173027.21431@dxcern.cern.ch>
  6. Sender: Roberto@sunsci (Roberto Divia CERN-ECP/DS +41 22 767 4994)
  7. Organization: CERN - European Laboratory for Particle Physics
  8. References: <1d9rtrINN7fo@uniwa.uwa.edu.au> <Bx94vM.CA0@ra.nrl.navy.mil> <BxAEr8.Bsv@acsu.buffalo.edu>
  9. Date: Mon, 9 Nov 1992 17:30:27 GMT
  10. Lines: 72
  11.  
  12. Well, I have something running. The daemon executes the requests as it should.
  13. Only problem: I cannot send faxes only to other faxes. The transmission
  14. aborts in the middle of the G3 dump with the remote fax going in "error"
  15. state. Strange but true, I can fax to other computers. Same problem
  16. receiving faxes. No idea what's wrong..
  17.  
  18. Some hints for the installation:
  19.  
  20. Hint 1: as root, execute faxspooler -l8& at startup. The output
  21. from the daemon is almost self-explanatory.
  22.  
  23. Hint 2: follow the instructions of the INSTALL file, combined with the
  24. README and some common sense. I have created a small script to install
  25. the files:
  26.  
  27. #! /bin/csh -v
  28. install cmd/fax/fax /usr/local/bin
  29. install cmd/faxenq/faxenq /usr/local/bin
  30. install cmd/faxmail/faxmail /usr/local/bin
  31. install cmd/faxps/faxps /usr/local/bin
  32. install cmd/faxq/faxq /usr/local/bin
  33. install cmd/faxrm/faxrm /usr/local/bin
  34. install cmd/faxsend/faxsend /usr/local/bin
  35. install cmd/faxspooler/faxspooler /usr/local/bin
  36. install ps/*.ps /usr/local/lib/fax
  37. install script/*.sh /usr/local/lib/fax
  38.  
  39. Note my choice of library and paths (almost the default ones). The various
  40. makefiles need an install target and their dependencies are not very
  41. good. Until now, for every modification made to one module I have rebuilt
  42. the whole package (2 minutes).
  43.  
  44. Hint 3: if you dump the faxes in the /com/fax area (as suggested by the
  45. standard configuration), remember to create the directory.
  46.  
  47. Hint 4: change cmd/faxps/faxps.c line 187 from
  48.     ps_file = mktemp("/tmp/faxdXXXXXX");
  49. into
  50.         char template[] = "/tmp/faxdXXXXXX";
  51.         ps_file = mktemp(template);
  52. Without this mod, "fax" core dumps (i think that mktemp tries to change
  53. the read-only template string).
  54.  
  55. Hint 5: in lib/libutil/alarm.c change the references of cfree into free.
  56.  
  57. Without the points 4 and 5 the package doesn`t compile. Without point
  58. 3 it doesn't run. Point 2 is to move the files in the expected areas.
  59. Without point 1, all the commands abort with "can't connect to fax daemon"
  60. status. Ah, I have also installed the pbmplus package and changed the
  61. path of the file script/ppmtog3.sh (it expected the pnmcut and pbmtog3
  62. in /usr/local/bin while I have them in the X11 area). Without the
  63. pbmplus you cannot manipulate the G3 files...
  64.  
  65. To verify the protocol, I have changed lib/libfax/gen.c in the line
  66. setting M0 (speaker off) into M2L2 (speaker always on at medium
  67. volume), a sort of "checkpoint" in the library. This way I can "hear"
  68. how things are going.
  69.  
  70. That's basically it. I have gcc 2.3.1 and fax-3.2.1. Ghostscript is at
  71. version 2.4. The hardware setup includes a SPARCstation IPX connected to a
  72. SupraFAXModem plus. I have verified the modem setup via "tip" and some read
  73. through the modem user manual. I am still looking for a description of the
  74. Class 2 Fax software (the one used by the package to talk to the modem).
  75. For the time being I extract what I can from the code, written in a very
  76. good style (congratulations). I am working on the library during my spare
  77. time. Don't expect too much! If I'll get something reasonable, I`ll send
  78. the results to the net.
  79. --- 
  80. |   Roberto Divia`      | Love at  first sight  is one of the greatest |
  81. |   =============       | labor-saving devices the world has ever seen |
  82. |  CERN :  European Laboratory for Particle Physics,  1211  Geneva  23 |
  83. |  Switzerland (CH)                                                    |
  84.