Telnet
CS 297
Jan. 8, 1997
Work through these exercises. There is nothing that needs to be handed in.
Some of the questions asked in these exercises will appear on the quiz.
Remember your ``cheat sheet.''
There are two ways to do this. Try both.
- Open the Internet folder on the OS/2 desktop. Find the telnet
application within the folder and start it.
- If you want, you can increase the font size. From ``Options,''
choose ``Fonts...'' SystemVIO 10x18 is a good choice. Don't forget
to increase the size of the telnet window after you've changed the font.
- To connect to a telnet server, choose ``Connection,'' then ``Open
session...'' Set the emulator to VT100. Host name should be filled
in with the appropriate host name. Also, enter a port if one is given,
otherwise the port field should be blank.
- Click ``OK'' to open the connection.
- Start Netscape Navigator from OS/2.
- Netscape Navigator is configured to start telnet if a telnet URL is
entered. For example, try entering
telnet://martini.eecs.umich.edu:3000
. (The last period is not
part of the URL.) Note that you have to combine the access method, host
name, and port (if other than the default) into the URL.
- Once telnet starts, it can be configured following the instructions
from the previous section.
- Once you've finished and closed the session, close telnet. Find the
Windows icon in the lower left-hand corner of the desktop and open it to
return to Netscape Navigator.
- Telnet to host martini.eecs.umich.edu, port 3000. This server
provides information, such as population, zip codes, etc., about cities
and towns. The easiest way to use it is to type in a city name, state
abbreviation pair. Examples:
New Wilmington, PA
Youngstown, OH
Pittsburgh
Here are a few of the line codes:
- 1: county.
- L: latitude and longitude.
- P: population.
- E: elevation.
- Z: zip code.
Answer the following questions:
- What is the population of New Wilmington?
- What county is Reading in?
- How many zip codes does Pittsburgh have?
- Is there more than one Titusville in the country?
When finished, type ``quit'' to exit.
- Visit the Teacher*Pages at Penn State. Host name is
psupen.psu.edu. Login using your two character state code (i.e., PA).
From the first menu, choose TEACHER*PAGES.
- Go to keyword search.
- How many documents discussing HIV are available? When was the
newest one posted?
- What is the Swackhamer essay contest? (Search ``History.'')
- Find three storytelling books recommended as gifts for
children.
- Find information about Federal legislation. Host is
locis.loc.gov. Choose Federal legislation.
- Search the 104th Congress.
- How many bills mention Yitzhak Rabin?
- How many co-sponsors were there to Senator Dole's resolution on
Yitzhak Rabin's life?
- Find weather conditions. Host is madlab.sprl.umich.edu, port
3000. Choose US forecasts. Note that city names must be entered in a
three-letter code and that there is a menu choice for determining the
codes. Answer the following questions:
- What are the current weather conditions in Philadelphia?
- What is tomorrow's forecast for Youngstown?
- Telnet to the Westminster library. Host name is library.
Login as MCGILL. Answer the following questions:
- How many of Tracy Kidder's books does the library have?
- Who wrote ``Silicon Snake Oil?'' In what year was it published,
and who was the publisher?
- How many woodworking titles are available?
When you're finished, type quit to exit.
- Telnet to Penn State's library. Host name is psulias.psu.edu.
Press the ``Enter'' key when asked for your Penn State ID number.
- Use the ``help'' command to get general help. To get specific
help:
- For help with authors: ``help author''
- For help with titles: ``help title''
- For help with subjects: ``help subject''
- What is the title of John C. Barr's Ph.D. thesis? Why was the
paper copy withdrawn?
- How many categories are listed under the subject of football?
When you're finished, type quit to exit.
Thomas P. Kelliher
Wed Jan 8 11:18:35 EST 1997
Tom Kelliher