home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / programm / 5823 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  2.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!destroyer!cs.ubc.ca!van-bc!mdavcr!eddie
  2. From: eddie@mdavcr.mda.ca (Man Sang Lui)
  3. Newsgroups: comp.unix.programmer
  4. Subject: RS232 & networking and process logging?
  5. Message-ID: <3928@map.mdavcr.mda.ca>
  6. Date: 4 Jan 93 22:17:05 GMT
  7. Lines: 36
  8.  
  9. Hi
  10.  
  11. I am new to this group and I have some problems which might have already been
  12. solved by somebody in this group.
  13.  
  14. I am currently having a SLC SPARCstation connected to a CD-ROM jukebox via 
  15. an RS232 (ttyb) and a SCSI ports. The jukebox has four CD-ROM drives and 
  16. four CDs can be loaded and accessed at the same time.  All the control
  17. commands (e.g. selecting a CD, rotating the carousel) are sent from the Sun
  18. workstation to the jukebox via the RS232 port.  The communication speed is
  19. 9600 bauds.  The actual mounting and the ejection of the CDs are done via
  20. the SCSI interface.  The jukebox and the workstation are also in a class B
  21. network.  I have already done some software design and development for the
  22. controlling program using C.  My questions are:
  23.  
  24. 1. In order for a host in the network to use the jukebox, a user has to use 
  25.    rlogin or telnet to log on to the SLC SPARCstation before s/he can run the 
  26.    controlling program.  Is there a way that I can incorporate this in my C 
  27.    program so that the jukebox is visible from any host in the network?  Is 
  28.    this a client-server based and/or networking problem?  What is the best 
  29.    way for me to tackle this?
  30.  
  31. 2. Assuming question no. 1 can be achieved, how do I deal with locking 
  32.    facility for multi-user access?
  33.  
  34. 3. If the jukebox is available on the network, I would like to keep a log 
  35.    file to record which user is using what and possibly show this to all
  36.    current users on the network.  In others words, when the controlling 
  37.    program is started by a user, it has to know which user is currently 
  38.    using what disc and for how long.  How should I approach this?
  39.  
  40. I should be much obliged if you could suggest some solutions or point me 
  41. in the right direction.  Please e-mail me at eddie@mda.ca
  42.  
  43. Thanks in advance.
  44. Eddie 
  45.