🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.wizards
1 messages
1 total messages Started by Man Sang Lui Mon, 04 Jan 1993 22:33
RS232 & networking and process logging
#6974
Author: Man Sang Lui
Date: Mon, 04 Jan 1993 22:33
38 lines
2173 bytes
Hi

I am new to this group and I have some problems which might have already been
solved by some wizards in this group.

I am currently having a SLC SPARCstation connected to a CD-ROM jukebox via 
an RS232 (ttyb) and a SCSI ports. The jukebox has four CD-ROM drives and 
four CDs can be loaded and accessed at the same time.  All the control
commands (e.g. selecting a CD, rotating the carousel) are sent from the Sun
workstation to the jukebox via the RS232 port.  The communication speed is
9600 bauds.  The actual mounting and the ejection of the CDs are done via
the SCSI interface.  The jukebox and the workstation are also in a class B
network.  I have already done some software design and development for the
controlling program using C.  My questions are:

1. In order for a host in the network to use the jukebox, a user has to use 
   rlogin or telnet to log on to the SLC SPARCstation before s/he can run the 
   controlling program.  Is there a way that I can incorporate this in my C 
   program so that the jukebox is visible from any host in the network?  Is 
   this a client-server based and/or networking problem?  What is the best 
   way for me to tackle this?

2. Assuming question no. 1 can be achieved, how do I deal with locking 
   facility for multi-user access?

3. If the jukebox is available on the network, I would like to keep a log 
   file to record which user is using what and possibly show this to all
   current users on the network.  In others words, when the controlling 
   program is started by a user, it has to know which user is currently 
   using what disc and for how long.  How should I approach this?

I should be much obliged if you could suggest some solutions or point me 
in the right direction (e.g. public domain source).  Please e-mail me at
eddie@mda.ca

Thanks in advance.
Eddie 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads