CS 141 Homework Assignment #8
In class graded exercise
overview: we are going to download and install, configure
and run a better telnet program (which is free).
I recommend you use this program,
not windows telnet for the future.
windows telnet often has trouble in vi,
esp on the last line.
google.com search for: putty
you should find a url like this:
www.chiark.greenend.org.uk/~sgtatham/putty/
download
windows xp
putty.exe
save on the C: drive in our classroom
create a dir whose name is your 3 char login
(only needs 444 kb)
note: the C: drive is re-installed periodically
so you may need to do this again in the future in our classroom
dbl click putty.exe
uncheck so we don't get a warning each time we run it.
first screen
select ssh (encrypted) or telnet
hostname: unix01.sac.edu
saved session: unix01
click save
click on keyboard ( on the left )
set backspace to ^H
set Fn keys to SCO
click session (on the left)
click save
dbl click on unix01
you will get a security alert
select yes to save the key
so it can be checked each time you log into that site.
putty has rounded upper corners whereas telnet has square corners.
Anything you high light in putty goes to the windows buffer.
right click to paste the windows buffer into putty
as though you typed it at the keyboard.
Note: make sure your unix session is ready to accept this input,
e.g. in vi, type i to be in insert mode first.
In putty,
try typing in a cmd
then high light it with the mouse (to save in buffer)
then right click to run the same cmd again.
You can also copy from windows
and paste into putty command line or vi.
Highlight the following text
and copy it into the windows buffer.
(right click, copy)
For each directory, the contents are listed. For each file, the
filename is repeated and any other requested information is
displayed. By default, the output is sorted alphabetically. When
no argument is given, the current directory is listed. When
several arguments are given, they are sorted appropriately; file
arguments are processed before directories and their contents.
in putty, type
cd
vi myproj
i (to go into insert mode)
(right click to insert the paragraph into this doc)
ESC
:wq
to get credit
type these commands:
cat myproj
id
and raise your hand
so your work can be graded by the instructor.