The X-windows version 11 release 5 windowing system provides the graphical user interface (gui) to the operating system. Our workstations are using the Motif window manager to provide title bars, window movements, and menus for the graphical interface. The Motif Menu provides the customized menu for executing statistical software, word and document processors, and various utilities.
The laboratory is networked using ethernet topology and connected via a router to the campus network, which in turn is connected to the internet. An RS/6000 server provides file and data services to the laboratory workstations using the Network File System (NFS) and the Network Information Service (NIS). The workstations are fully dependent upon the server for software and password authentication and so are not functional when the server or network are "down". Further, load and execution times of software can depend upon the network and server loads. Hewlett-Packard laserjet 4 printers with Postscript capability are attached to the network to provide hardcopy output.
It is very important to remember that the workstations are multi-user and multi-tasking. That is, more than one program can be executing on a workstation at the same time (in fact, AIX runs a number of different programs to monitor and control various system tasks at all times) and more than one user can be logged in to the workstation at the same time through the network. Thus, NEVER TURN THE WORKSTATIONS OFF OR PRESS THE RESET BUTTON unless directed to do so by the laboratory administrator or instructor. If you are having problems with a particular workstation, login to another workstation and report the problem, via E-Mail, to the laboratory administrator.
Your account in this laboratory is for your Experimental Statistics course and degree work only. Any other use is forbidden and failure to abide by this rule may result in the loss of your laboratory privileges. The filesystems are routinely monitored by the laboratory administrator for compliance with Departmental and University computing policies.
In the "password:" field, enter your password exactly as assigned keeping in mind the notes given about entering the user id. Your password will not be displayed as you type it, but rather, question marks will be placed in the password field for each character that you type. When you have finished entering the password for the user id, press the enter key on the keyboard. If both entries are correct and authenticated, then the box will disappear from the screen as the login begins and initial programs and windows are started.
If you get the red login error message in the dialog box, then use the backspace key to clear the entries from each field and repeat the login instructions. If this does not work, then you might press the "Cancel session" button in the login dialog box and wait for the box to be redisplayed, at which time you repeat the login procedure. Also, do not press (using the mouse pointer) the button to the left of the "Use system default login" line. If these additional login attempts do not work, you might try the procedure on a different workstation in the event that the particular workstation is having communications problems. If none of these attempts result in a successful login, then you should report your problems to your laboratory or course instructor. Statistics faculty and Master of Applied Statistics students should see the laboratory administrator for help with their Departmental accounts.
To access an item on the submenu, you can use one of two methods. The first method is to move the mouse pointer along the menu into the submenu while continuing to hold down the mouse button and releasing the button when the desired submenu item is selected. This is the fastest method as it doesn't require additional clicks of the mouse, but it also requires the most hand-to-mouse coordination. The second is to release the mouse button on the desired menu item, then move the pointer over the desired submenu item and select the submenu item by pressing the left mouse button.
To logout, use the Motif Menu method above to select any of the Motif Menu items, then the last menu item is "LOGOUT". Select the "LOGOUT" option and a submenu will be displayed which says "OK". Select "OK" on this submenu to complete the logout process. Carefully watch to see that your windows are closed and that the logout process is actually activated. The Xdm login box should eventually appear on the screen after a successful logout.
To UNLOCK the terminal, press the enter key, and then enter your password and the enter key at the prompt. Accounts that are left locked for long periods of time (> 1 hr) are subject to suspension. There are other classes and students that use the laboratory, so DO NOT lock the terminals or leave an account logged-in and unattended for more than a few minutes, say, to pick up a printout from the printers.
Files can also be referenced in relative ways as well. If the present working directory of the user is /home/exst3001/ex300199, then the above WordPerfect file could also be specified as simply report1.wp. Note that the initial / must be omitted from a relative reference. Further, the reference is made relative to the present working directory. If the present working directory had been /home/exst3001, then the file could have been referenced as ex300199/report1.wp. The present working directory can be found using the pwd command. Usually, software started from the Motif Menu will have a pwd of the user's home directory. Some software, such as SAS, permit the user to change the pwd of the software from menus within the software itself.
There are several special file and directory references as well. A single dot, ".", can be used to reference the present working directory, while double-dots, "..", can be used to reference the next higher or parent directory of the present working directory. A user's home directory can be referenced using a tilde, "~", or via the environment variable " $HOME". Thus, user ex300199 could also reference the WordPerfect file as "~/report1.wp " and " $HOME/report1.wp". These short-cuts can be useful when opening and saving files in software.
The cd command can be used to change directory to any other directory in the filesystem (providing you have authorization to do so by the system). One important short-cut is to issue the cd command without specifying a directory. This will make the user's home directory the present working directory.
To get a directory listing of a directory you may use the UNIX ls or li commands among many others. To get a more detailed listing of the files, along with their sizes, and file permissions, add the option -l to the ls command. An alias command called dir has been written that will issue the ls -al command. This is often easier for users familiar with MS DOS. Some examples are
ls ls -l *.sas dir dir ~/*.sas
drwxrwxr-x 4 barry admn7013 1536 Jan 5 15:34 . drwxr-xr-x 23 root admn7013 512 Jan 4 14:20 .. -rw-rw-r-- 1 barry admn7013 1655 Mar 12 1995 1factor.sas -rw-rw-r-- 1 barry admn7013 2908 Mar 12 1995 2factor.sas -rw-rw-r-- 1 barry admn7013 51256 Feb 13 1995 boston.data -rw-rw-r-- 1 barry admn7013 16384 Sep 21 1993 business.ssd01 -rw-rw-r-- 1 barry admn7013 24576 Sep 21 1993 gpa.ssd01 -rw-rw-r-- 1 barry admn7013 2781 Feb 20 1995 homicide.sas -rw-rw-r-- 1 barry admn7013 16384 Sep 21 1993 iris.ssd01 drwxrwxr-x 2 barry admn7013 4096 Jan 5 15:39 ott -rw-rw-r-- 1 barry admn7013 16384 Sep 21 1993 ship.ssd01 drwxrwxr-x 2 barry admn7013 512 Jan 5 15:32 sp95 -rw-rw-r-- 1 barry admn7013 1276 Feb 20 1995 squid.sas -rw-rw-r-- 1 rebecca admn7013 520 Apr 12 1995 tab10-19
It is also important to be aware that many of the files and directories actually reside physically on another workstation or server on the network. The file system automounter makes loading these files and directories nearly transparent. However, some software, such as SAS, will often use the pathways used by the automounter rather than the logical pathways to list files. These automounter paths may have something like /tmp_mnt/stage prepended to file names. You do not need to edit out these automounter names when you open or save files.
If you are new to the Display Manager windows of SAS, you should select "Help->Keys" from the program window to learn the functions of the various function keys. You should also browse through the various options of the pull-down menus for each window. Note that SAS/INSIGHT, SAS/LAB, SAS/GIS, and other products can be started from the "Globals" pull-down menu. INSIGHT is referenced as "Interactive Data Analysis" while LAB is referred to as "Guided Data Analysis".
Always exit SAS before logging out. SAS creates a number of temporary files that take up space on the workstation that are not freed if the SAS program is "killed" by the logout command or by "killing" the SAS windows. Be sure to use "File->Exit" from the program or log windows to end SAS rather than by killing the windows.
Data files stored on the UNIX system, such as in your home directory, can be read using an INFILE statement within a SAS data step. For example, assume that I have an ascii text data set named "simple.data" located in my home directory and containing 3 columns corresponding with the variables X, Y, and Z. This data can be read in using the data step:
Filename MyData "~/simple.data"; Data One; Infile MyData; Input X Y Z; Run;
This data set can also be saved as a permanent SAS data set in my home directory and accessed at a later time without the need for the data input step by using a LIBNAME statement and a two-level data set name.
Filename MyData "~/simple.data"; Libname MySAS "~"; /* Only a Directory Name */ Data MySAS.One; Infile MyData; Input X Y Z; Run;
Libname MySAS "~"; /* Only a Directory Name */ Proc Means Data=MySAS.One; Var X Y Z; Run;
If you would like to transfer SAS data sets from other versions of SAS, such as the mainframe or PC versions of SAS, to UNIX, or from UNIX to these versions, you will first need to convert the SAS data set into a transport data set. After the transport data set is created, it is moved as a BINARY file (not as an ascii or text file) from one system to the other. Then it is imported from the transport format into the SAS format on the other platform. The SAS procedures PROC CPORT and PROC CIMPORT are used to make these conversions. See the SAS documentation and on-line help for the details.
The graphical windows produced by Maple can be pasted into the formula window by selecting "Copy" from the graphics "Edit" menu, then selecting "Paste" from the "Edit" menu of the formula window. Be sure to have the cursor positioned in the proper position prior to pasting.
Since large amounts of data and files can be downloaded over the internet, the home file system can become full very quickly. Thus, only download files that you will use, and then move them to diskettes for storage (be sure to remove them from your home).
If WP does not load on your workstation, it is possible that the WordPerfect license manager is not operating. You can check the status of the license manager by issuing the wpstatus command in an aixterm window. The status of the daemon should be UP. If it is not, you should alert the laboratory administrator and indicate that the WordPerfect license daemon is not functioning properly.
Occasionally the print queues will go DOWN, as when the printers are out of paper. If you print a WordPerfect document but it does not appear on the printers, you should first check the status of the print queues before printing a second or third copy.
lpr -Pps -h
enq -A
man mtools man mdir man mcopy
mdir a: mdir "a:*.sas"
mcopy -t a:prog1.sas program1.sas mcopy -t "a:*.sas" . mcopy a:report.wp /home/exst3001/ex300199
mcopy -t program1.sas a:prog1.sas mcopy -t *.sas a:
mformat a:
Once the Pine Mail window is made active by pointing and clicking with the left mouse button on the Pine Mail window bar, keyboard commands are used to control the program. NOTE: The Pine Mail program will not operate using mouse clicks. The keyboard short-cuts are listed as the bottom 2-lines of the Pine window. Letters prefixed with a carat, "^", indicate that the control key (Ctrl) is to be pressed and held while pressing the indicated letter.
If Pine has not been executed by your account before (usually the case for new accounts), then the mail program will prompt you as to whether or not to retrieve a document describing the Pine Mail program. I would encourage you to answer "yes", and then to read the document when it arrives in your mail box a while later.
The initial Pine window will look something like
PINE 3.91 MAIN MENU Folder: INBOX 28 Messages
? HELP - Get help using Pine
C COMPOSE MESSAGE - Compose and send/post a message
I FOLDER INDEX - View messages in current folder
L FOLDER LIST - Select a folder OR news group to view
A ADDRESS BOOK - Update address book
S SETUP - Configure or update Pine
Q QUIT - Exit the Pine program
Copyright 1989-1994. PINE is a trademark of the University of Washington.
? Help P PrevCmd R RelNotes
O OTHER CMDS L [ListFldrs] N NextCmd K KBLock
Your new mail will be found in the INBOX folder. Select FOLDER LIST from the main menu, then, depending upon whether or not you have Pine configured to read "news", you will either see the INBOX folder or you will see the line Folder-collection <mail/[]> with a line below it that reads [ Select Here to See Expanded List ] as shown below.
--------------------------------------------------------------------------------
Folder-collection <mail/[]> ** Default for Saves ** (Local)
--------------------------------------------------------------------------------
[ Select Here to See Expanded List ]
--------------------------------------------------------------------------------
News-collection <News on te6000.otc.lsu.edu> (Remote)
--------------------------------------------------------------------------------
[ Select Here to See Expanded List ]
As mail can build up quickly, you must check your mail regularly and delete or save your messages. DO NOT leave your mail messages in the INBOX. To save a message, press the "S" key while viewing the message to be saved, then enter a mail folder in which to save the message. You should name your folders something meaningful so that you can find these letters in the future. The FOLDER LIST will show all folders that you have created. To delete a message, simply press the "D" key while viewing the message to be deleted. The messages are not actually deleted, however, until you either expunge the messages from the INDEX list or when you quit the Pine Mail program. Thus, be sure to quit the mail program when you are finished with your mail.
To compose a mail message, press "C", then fill in the recipients address, mail subject, and body of the mail message. When finished, press Ctrl-X to send the message. Mail addresses can be collected in the Pine Mail address book and expedite the mailing process.
There are a number of manual pages for non-operating system software available as well, and the man command will also search the Info/Explorer data base. If you need additional information about a UNIX command or its use or other software, give the manual pages a try.
man ls man xv man sas man maple
This document was authored by Barry Moser. Send your comments to barry@stat.lsu.edu.
Last updated January 9, 1996.