home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / 3b1 / 3205 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  3.5 KB

  1. Path: sparky!uunet!beartrk!ceilidh!hijo-2!dnichols
  2. From: dnichols@ceilidh.beartrack.com (Don Nichols (DoN.))
  3. Newsgroups: comp.sys.3b1
  4. Subject: Re: netfax (was: Re: 3b1 internal modem-flow control)
  5. Message-ID: <1992Aug25.213609.7371@ceilidh.beartrack.com>
  6. Date: 25 Aug 92 21:36:09 GMT
  7. References: <1992Aug22.135202.6143@oswego.Oswego.EDU> <BtHxo5.JEq@hico2.westmark.com> <1992Aug25.145627.13400@oswego.Oswego.EDU>
  8. Organization: D and D Data, Vienna Virginia
  9. Lines: 57
  10.  
  11. In article <1992Aug25.145627.13400@oswego.Oswego.EDU> ostroff@oswego.Oswego.EDU (Boyd Ostroff) writes:
  12. >In article <BtHxo5.JEq@hico2.westmark.com> kak@hico2.westmark.com writes:
  13. >>
  14. >>I have gotten a copy of the netfax software (from ftp.uu.net),
  15. >>and started trying to see if I could get it running.
  16. >>
  17. >>Anybody else working on this?
  18. >
  19. >I have a Mac connected to my 3B1 through the serial port, and the 
  20. >Supra v.32bis FaxModem also hooked up to a 3B1 port.  I was going to write
  21. >a simple program that would open both ports for r/w so the Mac would
  22. >"think" it was just talking directly to the modem.  Do you think that would
  23. >let the Mac fax software work with the modem?  
  24.  
  25.     First, be sure to put both ports in 'raw' mode.  (I forget what the
  26. ioctls are for that, but you should be able to find it in the
  27. /usr/include/sts/termio.h.
  28.  
  29.     Second, if you are planning on running at 19200 baud, remember the
  30. discussion that we have been having here recently, and expect characters to
  31. be dropped.  You can have some lost with long streams of data with only the
  32. interrupt load of a single RS-232 port.  It will be twice the interrupt load
  33. here, and I would expect there to be a fairly long data stream from a fax.
  34. (I don't know what size packets they are useing, nor how often they need
  35. acks to keep the flow going, but I would expect trouble.)  If the faxmodem
  36. can handle 9600, you probably would get better reliability.  (I also don't
  37. know if the two ends can be at different rates with faxmodems.)
  38.  
  39.     If you don't need to make this automatic, you might just install a
  40. RS-232 switch box so you can manually transfer from one machine to the
  41. other.  (This puts the burden on you to check that uucico isn't doing
  42. something with the modem - or about to do so, and already has it locked.)
  43.  
  44.     If you want to make it automatic, but not load down the 3b1 to this
  45. extent, or need the speed that would crash the 3b1, then you might set up a
  46. T-bar relay under program control to switch which machine gets the modem at
  47. a given time.  (The T-bar relay can switch 24 circuits at once in not too
  48. big a space.)  Since you have 25 pins on your RS-232 connector, you may be
  49. wondering which pins not to switch.  Of course, you don't need all the pins
  50. anyway, but I would absolutely *NOT* switch pin 1.  That is the safety
  51. ground, and should be tied together in all machines in the interests of
  52. preventing zaps to drivers when you switch.
  53.  
  54.     If you do feed it through your 3B1, you'll need to set the software
  55. up to to that checking and refuse a connection to the modem if it is being
  56. used by the system.  (The lockfiles in /usr/spool/uucp.)  Also, if you are
  57. using the modem for dial-in to the 3b1, you'll have to turn off the getty on
  58. that port before the call out, or the program and getty/login will be
  59. fighting for characters.
  60.  
  61.     Good Luck
  62.         DoN.
  63. -- 
  64. Donald Nichols (DoN.)     | Voice (Days): (703) 704-2280 (Eves): (703) 938-4564
  65. D&D Data                  |  Email: <dnichols@ceilidh.beartrack.com>
  66. I said it - no one else   |         <nichols@nvl.army.mil>
  67.     --- Black Holes are where God is dividing by zero ---
  68.