How to Login

If you are attempting to log in by modem or telnet or rlogin, then you should probably be using ssh.

To login from one of the X-terminals, select hans.math.upenn.edu from the login chooser.

How to Logout

Place the mouse cursor on an empty part of the screen and press the right-most mouse button. A menu will pop-up. Pick quit.

Customizing your configuration

EDITORS:
You may wish to pick your editor for various situations. None of these editors do things like pick fonts etc. They are editors, not word processors. By default, everyone has the simple editor "pico" which many people currently use when they send mail using Elm. However, when using an X session you may prefer a different editor.

The first two editors both resemble the editor "edit" on the NeXT. They use a mouse and are fairly intuitive.

nedit
available on both hans.math and graphics.math
I am told this is like an editor in a Mac
emacs
This is one of the two traditional Unix editors (the other is vi, see below) This is fairly powerful. The related editor Pico was designed as a simplified (watered-down) version of this.
vi
Another standard Unix editor. Most new users will prefer one of the other editors. This was the first full screen editor, and has not really changed over the years.
The following is exactly what the script to pick an editor looks like. This information can be found in the file .editor-csh. The only lines that are read by the computer are the lines without a # at the beginning. Thus remove the # from your choice (and insert a # for those you do *not* want).
if ($?DISPLAY) then
        # X editors
        setenv SPARC_EDITOR /pkg/bin/pico
        #setenv SPARC_EDITOR /pkg/bin/emacs
        #setenv SPARC_EDITOR /pkg/bin/nedit
        setenv NEXT_EDITOR /usr/local/bin/pico
        #setenv NEXT_EDITOR /usr/bin/emacs
else
        # single screen (i.e. vt100, rlogin/telnet) editors
        setenv SPARC_EDITOR /pkg/bin/pico
        # setenv SPARC_EDITOR /pkg/bin/emacs
        # setenv SPARC_EDITOR /usr/bin/vi
        setenv NEXT_EDITOR /usr/local/bin/pico
        #setenv NEXT_EDITOR /usr/bin/emacs
        #setenv NEXT_EDITOR /usr/ucb/vi
endif

IMPORTANT NOTE: If you use an editor with command line arguments, you MUST put quotation marks around the entire command. For example:

	setenv SPARC_EDITOR "/pkg/bin/pico -t"
is correct, but
	setenv SPARC_EDITOR /pkg/bin/pico -t
is incorrect, and will cause other problems in your setup.

Personal Configuration

You may choose to make the following changes to your .login file:

Usage Hints

Remark: See also the brief description of the most common Unix Commands.
MAIL
For reading and sending email, most users will prefer to use elm. It is simple and effective.

TeX and LaTeX
TeX is unchanged, however hans.math has the new version LaTeX 2e of LaTeX. It should process old LaTeX files without modification.

One place to read more about the new version of LaTeX 2e is the following TeX file on our server hans.math: /pkg/TeX/lib/texmf/doc/latex2e/usrguide.tex

Another reference is a sequence of articles that appeared in the Notices of the AMS in 1994 (the last article appeared in August 1994).

To PREVIEW a TeX .dvi file, use xdvi (click on the "icon" on the right side of your screen) and pick the name of the file you wish to preview. You can also use the Unix command xdvi MyDviFile.

To PRINT a TeX .dvi file use the Unix command

	dvips MyDviFile.dvi
where MyDviFile.dvi is the name of your file. You need not add the ".dvi". This will be printed on the printer you specified (see customization above). You can also print to a file as well as other possibilities. for a brief description, just type dvips without a filename. For more documentation see Dvips Info

Another utility, xtexer, is available from the X terminals. This provides a simpler interface for editing, previewing, and printing TeX and LaTeX documents.

EDITOR
You can pick an editor from the list in the icons at the right of the monitor. When using a program such as Elm or Tin (the netnews reader), or Lynx (the WWW browser) the editor is usually selected in the configuration file for that program itself. It obtains this from the EDITOR customization (see above).

SPELLING
emacs is the only editor on hans.math with an adequate spelling checker. With emacs, typing Ctrl C3 calls the spelling checker ispell.
If you use a different editor, to check spelling, exit the editor and use the stand-alone version of ispell with the Unix command:
	ispell MyFileName
or	ispell -t filename.tex  (for a TeX or LaTeX file)
NOTE: The I command adds new words to your personal file .ispell_words located in your home directory. This file can be edited, either to add words or correct spelling of accidently inserted words.
See the Unix man page (man ispell) for more information.

CUT and PASTE
The mouse on an X-Terminals has three buttons. Drag using use the left button to mark the part of the text. Then go to where toy wish to insert this text, possibly in a different document, and press the middle mouse button.

WORLD WIDE WEB
We will use the Netscape browser. Netscape will automatically open in iconized form when you login. Click once to get to the Math. Dept. Home Page (if you wait, it appears automatically after a few minutes). [These sentences will be obscure until you try to use Netscape on hans.math].

Changing your password
To change your password, use the command passwd. You will first be prompted for your old password.