4.2 Editor 1 - About Me
Text editing is a required tool for computer users.
It is worth spending the time
to select a text editor that will help you get the
most effective use of your time.
All UNIX systems have
ed (or ex) and vi text editors.
Many will have emacs, pico, and xedit.
All text editors have their place.
Some are better for specific applications than
others. Some require more resources to run.
ed requires very little. emacs and
xedit require the most. In this lab use pico,
xedit or a different UNIX editor.
pico and xedit each have (for me) a simple
and easy-to-learn user interface. These editors are the easiest to use.
ex (or ed) are line oriented text editors that I find
difficult to use.
pico
is a small, simple, easy-to-use, text editor.
It does not have a lot of fancy features.
It is always in insert mode. There are two lines of help
information at the bottom of the screen.
It does not handle large (multiple
megabyte) files very well.
It is available off of the Internet for free.
Installing pico
is fairly easy.
- vi is one of the first full-screen text editors. I have been
told that the
author of vi now uses emacs. emacs and pico
may not be on your system though.
So initially you may need to use vi
until you can locate an easier-to-use
full screen editor. vi has various modes. Which mode you are in
does not always show on the screen.
It can be confusing to use. The system administration
command vipw, used to edit the password file /etc/passwd,
initially uses the vi text editor. elvis is a "clone"
of vi.
- emacs is a very capable text editor, and very large.
On the gort system the emacs executable (1.8 Mbytes)
is more than 14 times as large as the pico executable (.13 Mbytes).
emacs does a lot of
things very well.
The full (free) distribution takes about 40 Mbytes on most systems.
For documentation
there are books, a tutorial, and an on-line (in emacs) hypertext manual.
Please do the following:
- Log on to a UNIX system.
- Create, using the UNIX editor of your choice (probably
pico
)
a file with the following information about
yourself. Place
each of the first 4 items on separate lines.
After the first 4 items, skip a line
and enter a 5 to 10 line paragraph about yourself.
Include your interests and
why you are taking this class.
Use the file name aboutme
Your-full-name
day and month of your birthday NO year needed
My favorite color is
color
My least favorite color is color
A paragraph - 5 to 10 lines about
yourself and/or your interests.
-
Print out the file aboutme
username@gort ~ $
lpr aboutme
- Log off
username@gort ~ $
exit
Turn in the printout from step 4.2 marked as follows:
Your-name
TABER CIS135
Lab 4.2: Editor #1 - About Me
Place the lab in the instructor hand-in box
in BUS R6E, the "terminal room".
Instructor: ltaber@pima.edu ** My new Home at GeoApps in Tucson ** The Pima College Site ** The Mad Dr. G.'s home page on phred.