Modifying your home page

Once you have a home page, you can edit it with your favorite editor. You must be logged in to cattell. First switch to your web directory by saying cd public_html

Listing files. You may first want to list the files in this directory by saying ls. The main file is index.html.

Editing. Most people use emacs or pico.
For pico, say pico index.html.
For emacs: emacs index.html.

Deleting and moving.
In emacs:
ctrl-space usually works to set the mark;
ctrl-w to delete between the mark and the cursor;
ctrl-y to paste at the position of the cursor.
In pico (as listed at the bottom of the screen):
ctrl-k to delete a line;
ctrl-u to paste the linewhere the cursor is.

Saving. When you are done, save the file: ctrl-x in pico; ctrl-x ctrl-c in emacs. If you use emacs, you might want to delete the backup file: rm *~ .

You can also download and upload the file and edit it on your PC. If you do this with a word processor, make sure you save it as text before you upload. It may be easier just to use one of the editors on cattell, such as pico, emacs, or vi. Emacs and vi have features for highlighting html.

For more information about web page design, the links in the cattell web page. But here are two useful things:
<P> means skip a line and begin at the left, i.e., a new paragraph.
<I> and </I> indicate the beginning and end of italics. These aren't needed, but they are nice.

Do not use Front Page or Word. These create pages that do not follow web standards, are bloated and inefficient, and may not work at all on our servers. If you feel you need a helper, try Nvu.