TIOS Technical Infrastructure
INSTALLATION OF TIOS DEFAULT ENVIRONMENT
Updated: November 1 1995 by A.Roelofs

Contents:





Introduction

TIOS default environment can be installed by User-setup, which is a menu driven program, that helps you to create and modify your environment. You can use User-setup to extend your environment by loading modules, which contains the information, needed to run the their applications.
Below you can read more about modules and which modules you need for installing the TIOS default environment. You can also start right away with the installation procedure, which is described step by step.



Modules

To install your new environment, you make use of modules (or also called modulefiles), which are provided by User-setup. Each module contains the information (path settings, environment variables) needed to run its application.
Modules can 'contain' other modules. For example the module Tios/DefaultPackages 'contains' a number of (sub-)modules, each of which containing the settings for an application.
Modules can even cause their application to be automatically started up, when the window system is started. For example, the module Tios/DefaultSettings contains a minimal number of environment variable settings for TIOS users.
In the same way, there is a module Tios/DefaultEnvironment that 'contains' a number of (sub-)modules, that automatically start a limited number of applications when the window system is started.

The modules that 'define' the appearance of the environment can be divided in three categories:
  1. Those that contain the name 'StartIconic' (like in AppStartIconic). When such a module is loaded, the corresponding application is automatically started up as icon, when the window system is started.
  2. Those that contain the name 'StartNonIconic', as in AppStartNonIconic. When such a module is loaded, the corresponding application is automatically started up, and opened, when the window system is started.
  3. All other modules.
    When such a module is loaded, the corresponding application can be run, from a menu, or from within an (xterm) shell window, but it will not be automatically started.
    For all three categories, when you run the program 'make-menu', a 'custom' menu (named 'Applications') will be created, that contains entries to start (some of) the applications you have chosen.
    (NOTE: not for all programs menu entries will be created automatically)

    The Tios/DefaultEnvironment module loads the following (sub-)modules (see also the TIOS default environment page):
      AppStartIconic/Clock/clock AppStartNonIconic/ShellWindow/xterm AppStartIconic/CalendarManager/ical AppStartIconic/Mailreader/exmh AppStartIconic/Webbrowser/netscape AppStartNonIconic/TextProcessor/framemaker AppStartIconic/Editor/textedit AppMenuPrefs/FileManager/filemgr
    which causes the following applications to be started automatically:
      clock, iconified
      two xterm windows, open (non-iconified)
      ical, iconified
      exmh, iconified
      netscape, iconified
      framemaker, 'open' (ie. the button box)
      textedit, iconified
    and the filemgr will not be started, but a menu-entry will be created for it when 'make-menu' is invoked.

    If you can live with the above programs, then the Tios/DefaultEnvironment module is right for you.
    However, you may not like all applications in the tios default environment, in particular, it contains the mail reader 'exmh', while you may prefer the Sun 'mailtool'. In that case, you may prefer not to load the
    Tios/DefaultEnvironment module, but instead to load each of its (sub-)modules that you like, and 'replacements' for those that you don't like.
    For example, to get the default environment, but with mailtool instead of exmh, you should not load Tios/DefaultEnvironment, but instead:
      AppStartIconic/Clock/clock
      AppStartNonIconic/ShellWindow/xterm
      AppStartIconic/CalendarManager/ical
      AppStartIconic/Mailreader/mailtool
      AppStartIconic/Webbrowser/netscape
      AppStartNonIconic/TextProcessor/framemaker
      AppStartIconic/Editor/textedit
      AppMenuPrefs/FileManager/filemgr

    Installation procedure

    To make the TIOS default environment available to yourself, you should first move a number of files 'out of the way'. We show how to store them in the directory, named tiosenv.backup. The files have to be moved 'out of the way', because otherwise you would still keep your current environment after installing the TIOS default environment.

    1.mkdir ~/tiosenv.backup
    mv ~/.Xdefaults ~/.openwin-init ~/.openwin-menu ~/.openwin-menu-programs \
    ~/.xinitrc ~/.cshrc ~/.login ~/tiosenv.backup
    mv ~/.twmrc ~/.x11start ~/.x11r4start ~/tiosenv.backup

    Next, start User-setup to set up your new environment.

    2. /Tios/Admin/bin/user-setup

    The User-setup program will present you `menus' from which you can select the modules. The menus follow the `directory' structure in the module names. After you have selected one or more entries from a sub-menu, the 'done' entry will return you to the 'main' menu. In the 'main' menu you can use 'show' to see which modules you have chosen so far, 'apply' to apply your selection, or 'q' to quit without making changes.
    There are two modules that you have to load, one for Unix, and one for the Window System, because almost all applications that you might want to use depend on them. The corresponding modules are Unix/Sunos and Window/Openwin. So therefore:

    3. Choose Unix/SunOS

    4. Choose done

    5. Choose Window/Openwin

    6. Choose done


    In addition, you need the Tios/DefaultPackages, Tios/DefaultSettings and Tios/ DefaultEnvironment modules. Make sure you choose the modules in this order, because they depend on each other.

    7. Choose Tios/DefaultPackages

    8. Choose Tios/DefaultSettings

    9.Choose Tios/DefaultEnvironment or other modules to replace the TIOS default environment
    (see information)

    When you have made your selection,

    10. Choose `apply'

    Then the selection is available. When you are finished with 'user-setup' you will have to

    11. Logout

    12. Login

    Then you get the new working environment.
    After logging in it is most likely you want to run `make-menu' to update your 'Applications' menu.

    13. /Tios/Admin/bin/make-menu

    This completes the installation procedure.



    Undo installation

    Once you have gotten familiar with TIOS default environment, you may want to modify it. You can modify the environment by loading more modules, or by getting rid of unwanted modules.
    If you want your old environment back, you just move the files back, which you have probably backed up in the directory ~/tiosenv.backup.

    mv ~/tiosenv.backup/.Xdefaults ~/tiosenv.backup/.openwin-init ~/tiosenv.backup/.openwin-menu \ ~/tiosenv.backup/.openwin-menu-programs ~/tiosenv.backup/.xinitrc ~/tiosenv.backup/.cshrc \ ~/tiosenv.backup/.login ~/tiosenv.backup/.twmrc ~/tiosenv.backup/.x11start \
    ~/tiosenv.backup/.x11r4start ~/


    If you want full control, you may want to copy (and edit) the files:

    /Tios/Admin/lib/openwin-initto ~/.openwin-init
    /Tios/Admin/lib/openwin-menu-programsto ~/.openwin-menu-programs
    /Tios/Admin/lib/openwin-menu.own-programs-menuto ~/.openwin-menu
    /Tios/Admin/lib/Xdefaultsto ~/.Xdefaults

    For people, who want to know more about user-setup, more information is available in the manual pages.
    For all questions, feel free to contact Axel.Belinfante@cs.utwente.nl.


    [UT] [CS] [EL] [TIOS] [INDEX]