The UNIX workstations

The UNIX workstations (ws0.esi.ac.at, ws1.esi.ac.at, etc.) are the main places to do "serious" computer work.

The UNIX workstations are PC's running LINUX, a public domain implementation of UNIX. As all computers working under UNIX, they should not be rebooted (so do not use the reset-button) and they should also not be switched off. If you have problems working on one of the workstations (windows that cannot be closed, strange colors, frozen screen, etc.) first try to log out. If this does not work try holding down the Ctrl and the Alt-keys and pressing the Backspace key, which should log you out (the hard way). If this does not work and it is impossible to reach one of the System Administrators then you can press Ctrl-Alt-Del to reboot the workstation. If that still does not work please leave the workstation as it is and inform the system administration as soon as possible.

The workstations should always work under X-windows, the UNIX window system. In particular, the login prompt of any of these machines should always be a graphics screen. In case you come to a workstation and it shows a text-mode login prompt (like the one you get when logging in via telnet) then please try to switch to the graphics screen by holding down the Alt-key and pressing the F7-key. If you do not get a graphics screen with a login prompt, please inform the system administration.

All the information about users and also the user data are automatically exported from our main server to all computers in the system, so whatever workstation you work on, things should always look the same. Moreover, you can use the passwd command on all computers to change your password. Note that the password program has quite strong restrictions on what passwords to accept, so it may happen that you have to try several different passwords until one is accepted.
 

Desktop environement

By default, on startup at the UNIX workstations you get X-windows with a desktop environment called KDE. This is a window manager which in look and style is quite similar to the window managers which are usually running on PC's or Mac's. It should be simple to use and mostly self explanatory. For more information please consult the extensive online documentation of KDE. In addition, GNOME is available as well.
 

Using floppy disks under UNIX

Each of the workstations has a small (1.44MB) floppy disk drive, which can be used with UNIX, MSDOS, or Macintosh formatted floppy disks. Moreover, only a user who is logged on a machine directly from the console (not via ssh) can access the floppy disk drive.

There are two ways of using floppy disk. If you use KDE, you can access the floppy via the Drives/Floppy item in the KDE menu. This will also convert any text files automagically from DOS to UNIX style (see converting text files). Note: If you have a DOS disc with a Macintosh style text file, the automatic conversion will remove all line breaks from your file.

From the command line you can use the mtools package. It offers commands which are similar to some of the basic MSDOS commands (but still more intelligent). In all commands you have to refer to the disk drive as a: (as in DOS). The most important commands are "mdir", "mcopy", "mdel", and "mmd". What you have to be aware of is that in contrast to the conventions under DOS, forward slashes (/) rather than backslashes (\) are used in pathnames. Some examples:

mdir a: lists all files in the root direcotry of the floppy disk.
mdir a:blablu 
mdir a:/blablu
lists all files in the subdirectory blablu of the floppy disk.
mcopy bla.tex a:/bla/blu.tex Copies the file bla.tex from the current directory to the file blu.tex in the subdirectory bla of the floppy disk.
mcopy a:/bla.tex . Copies the file bla.tex from the root directory of the floppy disk to the current directory (Note the dot at the end of the command).
mdel a:/bla/blu.tex Deletes the file blu.tex from the subdirectory bla of the floppy disk.
mmd a:/bla/blu Creates a subdirectory blu in the subdirectory bla on the floppy disk.

To find out about the other mtools just read the man-page of mtools. It is also possible to format floppy disks on the workstations if they are already low-level formatted.

TeX and related programs

Since we have to process all preprints which appear in the ESI preprint series, the TeX installation on our machines usually is fairly complete and up to date, so all common macro packages should be available. If you would like to use some macro package or TeX-font which is generally available but not installed on our system, please inform the system administration and we will try to provide them as well.

For viewing dvi-files under X-windows you can use "xdvi". This viewer also can deal with included Postscript pictures, however the pictures are not always displayed correctly. If a picture looks wrong in that viewer, try to convert your dvi-file to a PostScript file (using "dvips", see below) and then view that file using ghostview ("gv"). For printing dvi-files, you can simply use the command "lpr paper.dvi" unless you have PostScript-pictures included or want to use special options (eg. print only selected pages or print two pages on one sheet of paper, etc.). If your file contains included PostScript pictures, you should first convert it to a PostScript file using the command "dvips paper.dvi". This generates a file called "paper.ps", which you can then print by calling "lpr paper.ps". Note that in contrast to many other systems dvips produces a file by default and does not send its output directly to the printer. For information on printing with special options, please read the section on printing below.
 

Printing

The basic command for printing is "lpr". This command will print PDF and PostScript files directly. Other files should be converted to PostScript before printing.

Printing selected pages only: There are two basic possibilities to print selected pages only: The first method is simpler but assumes that you have a PostScript file. If starting with a dvi-file, first convert it to PostScript using "dvips file.dvi", which produces a PostScript file called "file.ps". Then view your PostScript file with ghostview ("gv file.ps &"), which makes a window containing the viewer pop up. In the left part of that window, you have the list of pages in the document. You can select the pages you want to print using the right mouse button. If you have selected a wrong page, just click the right mouse button again on that page to unselect it. Clicking the left mouse button on a page causes that page to be displayed. After you have selected the pages you want to print, move the mouse to the field called "File" in the upper left corner of the window, press and hold the left mouse button to get a menu, move down to "Print marked pages" and release the mouse button to get your pages printed. To exit ghostview use the item "Quit" in the same menu.

The second possibility to print selected pages is different according to filetype: For dvi-files you can also use the program "dvips"has the option "-pp" which allows you to specify a page range. For example "dvips -pp17-28,42 paper.dvi" creates a PostScript file called "paper.ps" containing pages 17 to 28 and page 42 of the dvi-file "paper.dvi". You can then print that Postscript file by executing "lpr paper.ps". Finally, to select pages to print from a PostScript file, you can use the program "psselect". This allows you to select ranges of pages with the "-p" option. If in addition you specify the "-e" or the "-o" option, then only the even respectively odd pages from the selected ranges are printed. Examples: "psselect -p5,42-49 bla.ps blu.ps" saves pages 5 and 42 to 49 of the PostScript file "bla.ps" under the name "blu.ps". "psselect -e -p10-20 bla.ps | lpr" prints all even pages between page 10 and page 20 of the PostScript document "bla.ps".

Further available software

All workstation have most of the software which comes with RedHat Linux installed. Please note that we provide this software as a service to our guests. However, we cannot provide any additional help. So if you want to know how to use these programs, please refer to the manuals and online documentations.

Please mail comments about this page to www-admin@esi.ac.at.

 
       
    top

 
  
© 2002 ESI - Erwin Schrödinger Institute

website by rka