Skip to main content

Software Structure

This document is the description of a Network front-end to the Online System, logically distinct from OLS itself. This front-end is hereafter referred to as NETOLS. NETOLS is always responsive to connection requests direct4ed to socket 1. When contacted by a Network user, NTCLS performs the Network functions required to establish a duplex connection to him. The number of such duplex connections (and hence the number of Network users) is bounded by an assembly parameter whose current value is five.

Before the Network connection is established, NETOLS secures for the user a port into OLS. Sixty-four such ports exist and are shared by local, dial-up, and Network users. Should none be available, NETOLS will abort the connection sequence.

Once a port has been secured and a Network connection established, NETOLS will effectively push the SYST key for the user by transmitting to OLS the 8-bit code representing that key. A login sequence is thus initiated and the user is transmitted the lines:

UCSB ON-LINE SYSTEM
ENTER USER NUBMER

to which he should respond with his user number. Beginning at this point in time and continuing for the life of the Network connection, NETOLS's sole function is that of interpreter--interpreting input from the user and making it meaningful to the user (it is at this point, for example, that curvilinear and special-character display are discarded).

When the user breaks his Network connection to NETOLS, if eh hasn't logged out of OLS already, NETOLS performs that function for him by pushing SYST DOWN, just as it pushed the initial SYST. The OLS port acquired for the user is then released, and hence available for use by other users. It should be noted that the user can log out of OLS and back on again without the Network connection's being broken, since that action is transparent to NETOLS, who attaches no special significance to the Key sequence, which accomplishes it.