ASPL Installation Guide v 1.00
© 2025 Bassem W. Jamaleddine


6-4

   How-to Install ASPL as a Collaborative Calculator:
      Testing

The user euler installed ASPL to be shared with other users; euler is the COLLABORATIVE MASTER installer. The two users: pascal and moran, installed ASPL to use the shared installation of euler's; they are COLLABORATIVE SLAVE installer.
All three users updated their .bashrc to export ASPL environment variables so they start ASPL by entering aspl at the command prompt, upon login.

This section shows how the three users can collaborate by using the set operations on objects defined, or to be created in one common namedspace. To keep things simple, we show the startup of ASPL with the default namedspace TRIVIAL, then we will issue some set operation on set variables defined within the namedspace TRIVIAL.

The user euler uses ASPL as COLLABORATIVE MASTER to share the installation in a shared directory (accessible by the UNIX group gid euler): /opt/euler/. The users moran and pasca use ASPL as COLLABORATIVE SLAVE to the shared installation of euler.

The next section consists of thirtenn figures showing the sessions (as being managed by ASPL) of the three users, and how the symbol table and answer stack can be seen by all three users while being in session.

■ Testing the Collaborative Calculator

euler started ASPL and issued the command sessions to see the active sessions. Since euler is the first to login, then only one session (his session) is shown.
full view

Image File

 -F- Fig. 6.4.1   [HTI-aspl-install-itype4-euler-collab-2][euler starting ASPL and seeing who is in session]
ASPL © 2025 by Bassem W. Jamaleddine




Next, pascal started ASPL and issued the command sessions to see who is in session. Here, pascal can see euler session, and his session.
full view

Image File

 -F- Fig. 6.4.2   [HTI-aspl-install-itype4c-pascal-collab-2][pascal starting ASPL and seeing who is in session]
ASPL © 2025 by Bassem W. Jamaleddine


Next, moran started ASPL and issued the command sessions to see who is in session. Here, moran can see all three sessions: euler's, pascal's, and his own session.
full view

Image File

 -F- Fig. 6.4.3   [HTI-aspl-install-itype4c-moran-collab-2][moran starting ASPL and seeing who is in session]
ASPL © 2025 by Bassem W. Jamaleddine




euler seeing who is in session once again, after pascal and moran started their own ASPL sessions.
full view

Image File

 -F- Fig. 6.4.4   [HTI-aspl-install-itype4-euler-collab-2b][euler seeing who is in session]
ASPL © 2025 by Bassem W. Jamaleddine


Note that the order of whoever login first is not important. The illustrations
shown here have been displayed in this order to simplicy explanation.



euler quit ASPL, started ASPL it again, issued sessions to see who is in session, and in a final command: euler added a quicknote.
full view

Image File

 -F- Fig. 6.4.5   [HTI-aspl-install-itype4-euler-collab-3][Euler adding a quicknote]
ASPL © 2025 by Bassem W. Jamaleddine


moran can see euler quicknote. moran also added a quicknote.
full view

Image File

 -F- Fig. 6.4.6   [HTI-aspl-install-itype4c-moran-collab-3][Moran adding a quicknote]
ASPL © 2025 by Bassem W. Jamaleddine


pascal can see euler and moran quicknotes.
full view

Image File

 -F- Fig. 6.4.7   [HTI-aspl-install-itype4c-pascal-collab-3][Pascal seeing Euler and Moran quicknotes]
ASPL © 2025 by Bassem W. Jamaleddine




moran issuing the operation z12 = f&, z1 z2, then displaying the symbols table and the answer stack.
full view

Image File

 -F- Fig. 6.4.8   [HTI-aspl-install-itype4c-moran-collab-4][Moran issuing an operation while being in session]
ASPL © 2025 by Bassem W. Jamaleddine


euler can see the operation issued by moran; the symbol table and the answer stack are the same as the ones seen by moran.
full view

Image File

 -F- Fig. 6.4.9   [HTI-aspl-install-itype4-euler-collab-4][Euler symbol table and answer stack]
ASPL © 2025 by Bassem W. Jamaleddine


pascal can see the operation issued by moran; the symbol table and the answer stack are the same as the ones seen by moran.
full view

Image File

 -F- Fig. 6.4.10   [HTI-aspl-install-itype4c-pascal-collab-4][Pascal symbol table and answer stack]
ASPL © 2025 by Bassem W. Jamaleddine




Set display mode to 2, and display the symbol table and the answer stack. This reveals the user who issued the operation on the set variables or objects in the stack.
euler displaying the symbol table and answer stack. The set variable z12 was set by user moran.
full view

Image File

 -F- Fig. 6.4.11   [HTI-aspl-install-itype4-euler-collab-5][Euler seeing shared objects and operations by users]
ASPL © 2025 by Bassem W. Jamaleddine


moran displaying the symbol table and answer stack. The set variable z12 was set by user moran.
full view

Image File

 -F- Fig. 6.4.12   [HTI-aspl-install-itype4c-pascal-collab-5][Pascal seeing shared objects and operations by users]
ASPL © 2025 by Bassem W. Jamaleddine


pascal displaying the symbol table and answer stack. The set variable z12 was set by user moran.
full view

Image File

 -F- Fig. 6.4.13   [HTI-aspl-install-itype4c-moran-collab-5][Moran seeing shared objects and operations by users]
ASPL © 2025 by Bassem W. Jamaleddine


END OF TESTING ASPL AS A COLLOBORATIVE CALCULATOR