Unix III
Tom Kelliher, CS23
Feb. 17, 1997
Pick-up from last time.
One other shell variable, path:
set path = (/usr/local/bin ~/bin /bin /usr/bin /usr/X11/bin \
/usr/contrib/bin /usr/contrib/mh/bin /usr/games)
- Write (using pico or any other editor with which you are
familiar), compile, and run a small C++ program. This program should
interactively read positive integers, stopping when a 0 is entered. It
should then print the largest integer read.
- Use script to record a script of compiling and running your
program. E-mail the script to me.
- After you've gotten your program running, print it.
- Work the emacs tutorial. From the command line, run
emacs and use the
C-h t
command to start the tutorial.
(C-h t
means hold the Ctrl key and type h, then release
Ctrl
and type t. Do you understand the difference between C-h t
and C-h C-t
?)
Thomas P. Kelliher
Sun Feb 16 13:43:10 EST 1997
Tom Kelliher