CSCI 3294 (Unix Power Tools), Spring 2008:
Homework 3
- Assigned:
- February 13, 2008.
- Due:
- February 25, 2008, at 5pm.
- Credit:
- 20 points.
Read about the following topics
in the list of suggested readings,
either in one of the suggested readings or
in another book or reference.
(This is the topic for February 20.)
- Text editors; vi and emacs.
Answer the following questions. You may write out your answers by
hand or using a word processor or other program, but please submit
hard copy, either in class or in my mailbox in the department office.
Answers to most questions will involve experimentation on
a UNIX or Linux system.
You are free to use any appropriate system
(unless a specific problem says otherwise);
if you use something other than Fedora Core Linux please tell me what.
- (8 points)
Spend at least half an hour (more if you have the time and
interest) working through the vim
tutorial (and/or reading other parts of the
online help). Start the tutorial by typing
vimtutor at the command prompt.
Access online help by typing
:help or :help sometopic; exit help by
typing :q.
Then tell me at least two things you
learned that you didn't know before and you think
you might find useful.
- (8 points)
Repeat the previous question, but with the emacs
tutorial and/or online help. Start it by typing
emacs and then control-h followed by t.
Access online help as described in the tutorial.
By default emacs will create a new window if it can.
If you don't want that, start it with emacs -nw.
- (4 points)
Which editor do you feel more inclined to learn more about
at this point (considering features, ease of use, etc.).
Why? (``Neither'' is an acceptable answer if you explain why!)
Berna Massingill
2008-02-25