|
|
|
How do I create and edit files?
There are many ways to create files. You can use an editor, you can
direct the output of a program into a file, you can copy files that
already exist, and more. When you create a file, the file is
automatically placed in the directory where you are. This is generally
the case unless you specify a different location.
There are two principle editors on mail.sas. These are pico
and emacs. Of both, pico is the recommended
editor on mail.sas since it is easier to use.
The above is a picture of what the pico editor looks like using Host
Presenter in Windows 95.
To start pico, at the MAIN MENU prompt, type unix and press the
<enter/return> key.
At the unix prompt, type pico and press the <enter/return> key.
Here is a brief list of commands and their functions. A similar
list is at the bottom of the pico editor.
| ctrl-g | Pico help |
| ctrl-x | Exit pico |
| ctrl-o | Save the file |
| ctrl-y | Page up |
| ctrl-v | Page down |
| ctrl-k | Delete a line |
| ctrl-u | Undelete a line/section |
| ctrl-j | Justify text |
| ctrl-w | Search file for a word or
string of characters |
Make a New Search
Last modified: Tuesday, 28-May-2002 10:03:36 EDT
|
|