OpenWindows Advanced User's Guide

1.6.1 Displaying the OpenWindows Software

Once you have mounted the OpenWindows software from a server and run the OpenWindows installation script you are ready to start the OpenWindows software.

To start the OpenWindows software, type /usr/openwin/bin/openwin at the shell prompt and press Return.

$ /usr/openwin/bin/openwin

This displays the OpenWindows Version 3.3 screen and sets up the OpenWindows working environment.

1.6.1.1 Displaying OpenWindows Quickly

Once you have successfully started OpenWindows, you can set up your system to use a shortcut so that you do not need to type the full OpenWindows path each time.

If you are using the Bourne or Korn shells you do this by placing a shell function in your .profile file. If you are using the C shell you put an alias in your .cshrc file. Both the .profile and .cshrc files are found in your home directory.

When you have placed the shortcut in the appropriate file for your shell, to start OpenWindows simply type:

$ openwin

How to enter the OpenWindows shortcut into your start-up files is described in the following sections, "In the .profile File", and "In the .cshrc File".

In the .profile File

To enter the OpenWindows shortcut into your .profile file:

  1. Open the .profile file using a text editor such as vi.

  2. Enter the following shell function, exactly as shown, into the file:

    openwin () {
             /usr/openwin/bin/openwin
    }
    

  3. Save and quit the file.

  4. Log out and log back in to activate the shortcut, or type:

    $ . .profile
    

Now, whenever you want to start OpenWindows, you simply have to type openwin.

In the .cshrc File

To enter the OpenWindows shortcut into your .cshrc file:

  1. Open the .cshrc file using a text editor such as vi.

  2. Enter the following alias command, exactly as shown, into the file:

    alias openwin /usr/openwin/bin/openwin
    

  3. Save and quit the file.

  4. Log out and log back in to activate the shortcut, or type:

    example% source .cshrc
    

Now, whenever you want to start OpenWindows, you simply have to type openwin.