home *** CD-ROM | disk | FTP | other *** search
/ The Best Internet Programs / BESTINTERNET.bin / latest / roadmap / map11.txt < prev    next >
Encoding:
Internet Message Format  |  1995-02-06  |  10.6 KB

  1. Date:         Sat, 4 Feb 1995 08:28:03 -0600
  2. From: BITNET list server at UA1VM (1.8a) <LISTSERV@UA1VM.UA.EDU>
  3. Subject:      File: "MAP11 LESSON"
  4.  
  5. MAP11: TELNET (PART ONE)
  6.  
  7.  
  8.      "Thanks to the interstate highway system, it is now possible
  9.       to travel across the country from coast to coast without
  10.       seeing anything." -- Charles Kuralt, On the Road
  11.  
  12.  
  13. We are about to enter a new section of this workshop. For the past
  14. week, we have talked about communicating on a one-to-one basis
  15. (e-mail) and on a one-to-many basis (LISTSERV and Usenet).
  16.  
  17. Today, I'm going to show you how to log in to other computers around
  18. the world and take full advantage of the public programs and services
  19. that these other computers offer.
  20.  
  21. There is some bad news, though. Some of you, especially a good
  22. number of you with "level one" Internet access, do not have access
  23. to TELNET. If this is true for you, please accept my apologies.
  24. I promise to make it up to you next week when I show you File
  25. Transfer Protocol -- and besides, you can always take today's lesson
  26. and tomorrow's lesson and bug your local Internet provider into
  27. offering TELNET (you can also save this lesson for the day
  28. that you do have TELNET access).
  29.  
  30. With TELNET, the commands that you type on your keyboard are sent
  31. from your terminal to your local Internet service provider, and
  32. then from your provider to the remote computer that you have
  33. accessed. Unlike the LISTSERV commands that you sent last week
  34. that took CENTURIES to process (okay, a *slight* exaggeration),
  35. TELNET commands (usually) travel so fast that you can't even
  36. tell that you are using a remote computer.
  37.  
  38. So what can you do with this ability to log into remote computers?
  39. If your local Internet provider allows it, it is possible for you
  40. to TELNET into your account from another city and check your e-mail
  41. while you are on vacation or away on business. You can also TELNET
  42. into huge databases to do research, or even TELNET into libraries
  43. around the world to check if they have a certain book that you
  44. are looking for. TELNET also offers an easy entry into the world
  45. of Gophers and the World Wide Web for those people who may not
  46. otherwise have access to these tools.
  47.  
  48. Last Tuesday (in MAP04: E-MAIL), I showed you that an Internet
  49. address for a user looked something like: user@address. Well, since
  50. we are no longer interested in the person -- we want to access the
  51. computer, not the person -- we can throw away both the "user" and the
  52. "@" part. All we care about now is the stuff *after* the @.
  53.  
  54. TELNET addresses look something like this:
  55.  
  56.      seabass.st.usm.edu        cybernet.cse.fau.edu
  57.      bbhost.hq.eso.org         fedworld.gov
  58.      128.118.36.5              192.160.13.1
  59.  
  60. Gee ... that's easy. Also notice that TELNET addresses can be
  61. in domain name format (i.e. seabass.st.usm.edu) or in IP
  62. address format (i.e. 120.118.36.5). (Note: both the domain
  63. name system and the IP address system were discussed in MAP04:
  64. E-MAIL).
  65.  
  66. You may also see TELNET addresses with numbers stuck on the
  67. END of them. Those numbers are "port" numbers. Port numbers don't
  68. have anything to do with hardware ports on the computer; instead
  69. they are (sort of) a way for you to tell the remote computer which
  70. program or server you want it to pull up. A TELNET address with a port
  71. number allows you not only to access a remote computer, but to also
  72. pull up a specific program or server on that remote computer (BTW, the
  73. standard port number is port 23):
  74.  
  75.      seabass.st.usm.edu 23     cybernet.cse.fau.edu 2010
  76.      bbhost.hq.eso.org 6969    fedworld.gov 4242
  77.      128.118.36.5 23           192.160.13.1 66
  78.  
  79. We seem to have the addresses down pat. Now for the fun stuff!
  80.  
  81. There are seven steps to a successful TELNET session. These steps
  82. are all based on simple common sense, and I will explain them all
  83. in a minute. But first, here are the seven steps:
  84.  
  85.      1. Start-up the TELNET program
  86.      2. Give the TELNET program an address to connect to
  87.         (BTW, some really nifty TELNET packages allow you
  88.         to combine steps 1 and 2 into one simple step!)
  89.      3. Make a note of what the "escape character" is
  90.      4. Log in to the remote computer
  91.      5. Set the "terminal emulation"
  92.      6. Play around on the remote computer
  93.      7. Quit
  94.  
  95. Now let's talk about each of these steps. There are a lot of different
  96. TELNET software programs around, but each of these programs operate on
  97. the same basic principles. (BTW, my explanation may be a little
  98. "mainframe-y" but you will soon discover that you can easily
  99. translate my explanation so that you can use TELNET in Windows
  100. or on a Macintosh).
  101.  
  102. Starting the TELNET program is easy. All most of you have to do is
  103. type the word TELNET on your command line, and the program will
  104. start right up. If you are using Windows or a Macintosh (or
  105. an equivalent), double-click on the TELNET icon.
  106.  
  107. The second step is to give the TELNET program the address of
  108. the computer that you want to access. This is where the programs
  109. start to differ. Some programs will automatically ask you to enter
  110. the address of the remote host, but most won't. If your program
  111. does not automatically ask you for the address, you need to type
  112.  
  113.           open <site address> <port number>
  114.  
  115. on the command line. For example, to get TELNET access to
  116. YALEINFO.YALE.EDU 7000, you would type OPEN YALEINFO.YALE.EDU 7000.
  117. (If you are using Windows or a Mac, the OPEN command may be
  118. located on a pull-down menu). If you don't include the port
  119. number, TELNET will automatically assume that you want to
  120. connect to port 23.
  121.  
  122. Remember when I said that some nifty TELNET programs allow you
  123. start-up the TELNET program and access the address all in one
  124. easy step? Instead of doing the two steps I just went over, you
  125. may be able to just type
  126.  
  127.           telnet <site address> <port number>
  128.  
  129. on the command line (for example: TELNET YALEINFO.YALE.EDU 7000).
  130.  
  131. After you have told TELNET which computer you want it to access, and
  132. right before you gain access to the remote computer's login screen,
  133. you will see something like this:
  134.  
  135.      telnet YALEINFO.YALE.EDU 7000
  136.      Trying 130.132.21.53 Port 7000 ...
  137.      Connected to YALEINFO.YALE.EDU
  138.      Escape character is ...
  139.  
  140. This tells you that your TELNET program is trying to access the
  141. YALEINFO.YALE.EDU 7000 address, gives the IP address for YALEINFO
  142. (remember those from MAP04?), tells you when you are connected,
  143. and gives you the escape character. REMEMBER THE ESCAPE CHARACTER!
  144. You are going to need it in a second :)
  145.  
  146. The next step is to log in to the remote computer. Everyone should
  147. know how to log in to a computer by now ;)    <=== a winking smiley
  148.  
  149. If you are accessing a public site, the "login" -- the "password"
  150. that you need to access the remote computer -- will probably be
  151. publicly known. For example, tomorrow I will send you a list of
  152. several dozen TELNET sites, including their addresses and logins.
  153. Some public sites even TELL you what the login is when you TELNET
  154. to them! Heck, some TELNET sites are wide open and do not require
  155. a login or password at all!!
  156.  
  157. The fifth step is to set the terminal emulation. All this means is that
  158. you are going to tell the remote site how data should be shown on
  159. your screen. The most common terminal emulation setting is VT100,
  160. which is the standard for terminal-based communications.
  161.  
  162. If you do not have a VT100 terminal, or a terminal that can pretend
  163. its a VT100 terminal. you may have to set your terminal emulation
  164. to either your correct terminal type or, if you do not know your
  165. your correct terminal type, to a "dumb" terminal emulation.
  166.  
  167. Fortunately, some TELNET sites automatically take care setting the
  168. terminal emulation for you, so you don't even have to worry about
  169. it.
  170.  
  171. If you end up with a screen full of gibberish, chances are you did
  172. not use the correct terminal emulation setting. Your best bet if this
  173. happens is to disconnect from the site and try again.
  174.  
  175. I think you can figure out the sixth step -- play around on the
  176. remote computer -- all by yourself :)
  177.  
  178. The final step is to quit. Some sites are nice and tell you how to
  179. do this, but most expect you to figure out how to quit on your
  180. own. That is where the escape character comes in!
  181.  
  182. Remember that once you access the remote computer, every keystroke
  183. of yours will be carried out not on your computer but on the remote
  184. computer! Typing the escape character (usually the control key and the
  185. right bracket key pressed at the same time) temporarily interrupts
  186. your TELNET session and puts you into the TELNET command mode.
  187.  
  188. Once you are in the command mode, you can use a couple of commands:
  189.  
  190.      CLOSE       Closes your TELNET connection to the remote computer
  191.                  and either returns you to the command mode (if you
  192.                  started in the command mode) or quits TELNET.
  193.      QUIT        Quits the TELNET program; if you are connected to
  194.                  a remote computer, QUIT will disconnect you from
  195.                  the remote computer and then quit TELNET.
  196.      SET ECHO    If you can't see what you are typing, or if you
  197.                  type and see double, this command should take
  198.                  care of the problem
  199.      <ENTER>     (or <RETURN>) Pressing the enter or return key
  200.                  will take you out of TELNET command mode and
  201.                  return you to your TELNET session.
  202.      OPEN        Opens a connection to a remote computer
  203.  
  204. So, if you are in the middle of a TELNET session and you decide
  205. to quit, you would type the escape character to enter the TELNET
  206. command mode, and then type the word QUIT.
  207.  
  208. One last thing and I will let you go: regular TELNET does not
  209. work if you are trying to TELNET to an IBM 3270 mainframe computer.
  210. You'll have to use TN3270 instead. It works just like TELNET,
  211. only the keys on your keyboard may change a little (IBM uses
  212. something called map3270 to lay out the keys, and IBM uses a
  213. lot of function keys).
  214.  
  215. HOMEWORK
  216.  
  217.      Study this lesson carefully. Tomorrow I am going to send
  218.      you a huge list of TELNET addresses, and turn you loose
  219.      to wreak havoc on the Internet :)
  220.  
  221.      Also, a not-so-subtle hint: we just ended one section of
  222.      the workshop and entered a new one. What does the teacher
  223.      usually give you when a class section ends?
  224.  
  225.      Study hard >:)        <===== that's a devil smiley
  226.  
  227.  
  228.    PATRICK DOUGLAS CRISPEN    THE VIEWS EXPRESSED IN THIS LETTER DO NOT
  229.     PCRISPE1@UA1VM.UA.EDU      NECESSARILY REPRESENT THE VIEWS OF THE
  230.   THE UNIVERSITY OF ALABAMA      UNIVERSITY OF ALABAMA - TUSCALOOSA
  231.  
  232.       ROADMAP: COPYRIGHT PATRICK CRISPEN 1994. ALL RIGHTS RESERVED.
  233.  
  234.