Site hosted by Angelfire.com: Build your free website today!
Chapter 26: Other Internet Programs that Come with Windows XP

PreviousChapterContentsGlossaryNext

Logging into Text-Based Systems with HyperTerminal

HyperTerminal is the Windows terminal-emulation program. It lets your powerful Windows computer--loaded with RAM, hard disk space, and other hardware--pretend to be a dumb terminal. HyperTerminal is useful for connecting to computers that are designed to talk to terminals, including UNIX shell accounts and bulletin board systems. The computer you connect to by using HyperTerminal is called the remote computer (as opposed to your own local computer).

You can use HyperTerminal in three ways:

To dial up and connect to a computer, HyperTerminal creates a HyperTerminal connection, a configuration file with the specifications for the connection. HyperTerminal connection files have the extension .ht.

Windows XP comes with HyperTerminal 5.1, which is very similar to the version that shipped with Windows Me/9x.

Running HyperTerminal

To run HyperTerminal, choose Start | All Programs | Accessories | Communications | HyperTerminal. If HyperTerminal isn't already your default telnet program, you see a dialog box asking whether Windows should do so. The HyperTerminal window appears, and the Connection Description window also opens to help set up a new first HyperTerminal connection.

Configuring HyperTerminal for Your Account

The first time you run HyperTerminal, it displays the Connection Description dialog box, as shown in Figure 26-1. You can also display it by choosing File | New Connection or clicking the New button on the toolbar of the HyperTerminal window. When you see the Connection Description dialog box, follow these steps:
[figure]
Figure 26-1: Creating a HyperTerminal connection

  1. Type the name you want to use for the connection, choose an icon, and click OK. You see the Connect To dialog box, asking for information about how to dial the phone to connect to the computer:

[image]
  1. The options you see on this dialog box depend on what you've selected for the Connect Using setting. For a dial-up connection, set the Connect Using box to the modem to use for the connection, choose the country, type the area code, and type the phone number to dial. For a direct cable connection, set the Connect Using box to your modem or to COM1 or COM2 (the communications port to which the modem is connected). For a telnet connection, set the Connect Using box to TCP/IP (Winsock, that is, your Internet connection) and fill in the host address and port number (usually 23).
  2. Click OK. For dial-up connections, you see the Connect dialog box (for telnet connections, skip to step 6):

[image]
  1. If you want to change your dialing location (where you are dialing from) or use a calling card, click the Dialing Properties button and use the New and Edit buttons to change the way the connection is dialed.
  2. To connect, click Dial. (If you click Cancel, HyperTerminal remembers the connection information you entered, but doesn't make the connection.) For dial-up connections, HyperTerminal dials the phone. For telnet connections, if you're not already online, your dial-up connection may display its dialog box to get you connected to your Internet account; if so, click Connect. When HyperTerminal has established a connection with the remote computer, you see the HyperTerminal window, shown in Figure 26-2.
[figure]
Figure 26-2: HyperTerminal connected to another computer
  1. Log in and use the remote computer, typing the commands that the remote computer requires. For example, if the remote computer displays a UNIX command line, you must type UNIX commands. You can use the scroll bar along the right side of the HyperTerminal window to see the backscroll buffer, which stores the last 500 lines of text that have scrolled up off the top of the terminal window (you can configure the buffer to be larger).
  2. When you are done using the remote computer, log off by using the commands that it requires. HyperTerminal disconnects, too. If you have trouble getting disconnected, tell HyperTerminal to hang up by choosing Call | Disconnect from the menu bar or by clicking the Disconnect icon on the toolbar.
  3. When you exit HyperTerminal, it asks whether you want to save the session (connection) you just created. Click Yes. (If you never plan to connect to this remote computer again, click No to throw away the connection information you entered.) HyperTerminal creates an icon for the connection in the C:\Program Files\Accessories\HyperTerminal folder.

Connecting with HyperTerminal

You can connect to a computer for which you've already created a HyperTerminal connection in two ways:

HyperTerminal runs and displays the Connect dialog box; click Dial to make the connection. If you are using a telnet connection and you are not already connected to the Internet, your dial-up connection displays its window to prompt you to get online; click Connect.

When you are done using the remote computer, log off using whatever commands it requires; HyperTerminal should disconnect, too. If necessary, end the connection by choosing Call | Disconnect or by clicking the Disconnect icon on the toolbar.

Changing Information about a Connection

If the phone number for a remote computer changes or you need to change the modem (or other information about the connection), run HyperTerminal by using the connection, or choose File | Open to open the connection. Click the Properties button on the toolbar (the rightmost button) or choose File | Properties to display the connection Properties dialog box, as shown in Figure 26-3. You can also display the Properties dialog box when you are using the connection. The settings on the Properties dialog box depend on the type of connection (dial-up, direct cable connection, or telnet).
[figure]
Figure 26-3: Changing the properties of a HyperTerminal connection

In the Properties dialog box for the connection, you can set these types of options:

Transferring Files

HyperTerminal can send files from your computer to the remote computer or receive files from the remote computer. A number of standard file transfer protocols exist; HyperTerminal can send and receive files by using the Xmodem (regular or 1K), Kermit, Ymodem, Ymodem-G, Zmodem, and Zmodem With Crash Recovery protocols. Choose a protocol that the remote computer can also handle. If you have a choice, use Zmodem With Crash Recovery.

Sending a File to the Remote Computer

To send a file to the remote computer:

  1. Connect to the remote computer. If applicable, move to the directory on the remote computer in which you want to store the file.
  2. If the file transfer protocol you plan to use requires you to give a command on the remote computer to tell it to expect a file, do so. For example, when transferring a file to a UNIX system by using Xmodem, you type the command rx filename on the remote computer. When transferring a file by using Zmodem (with or without Crash Recovery), no command is required; the UNIX system can detect when the file begins to arrive, and stores it automatically.
  3. Click the Send button on the toolbar or choose Transfer | Send File. You see the Send File dialog box, shown here:

[image]
  1. In the Filename box, type the name of the file you want to send or click the Browse button to select the file.
  2. Set the Protocol box to a file transfer protocol that the remote computer can use when receiving files.
  3. Click the Send button. You see a window displaying the status of the file transfer. How much information the window displays depends on which file transfer protocol you use. You can click the Cancel button to stop the file transfer. Click the cps/bps button to control whether you see the transfer speed in characters per second (cps) or bits per second (bps). When the window disappears, file transfer is complete.

Receiving a File from the Remote Computer

To receive a file from the remote computer:

  1. Connect to the remote computer. If applicable, move to the directory on the remote computer in which the file is stored.
  2. Give the command on the remote computer to tell it to send the file. For example, to tell a UNIX system to transfer a file to your system by using Xmodem, you type the command sx filename on the remote computer.
  3. If you are using Zmodem (with or without Crash Recovery), HyperTerminal detects that a file is arriving and begins receiving the file automatically (skip to step 8). Otherwise, click the Receive button on the toolbar or choose Transfer | Receive File. You see the Receive File dialog box:
  4. In the Place Received File In The Following Folder box, type the pathname of the folder into which you want to store the file or click the Browse button to change the pathname.
  5. Set the Use Receiving Protocol setting to the file transfer protocol that the remote computer is using to send the file.
  6. Click the Receive button.
  7. For some protocols, HyperTerminal may need additional information. For example, when using Xmodem, the sending computer doesn't include the filename with the file, so HyperTerminal asks you what to name the file it receives. Type the additional information and click OK.
  8. HyperTerminal displays a status window showing the progress of the file's transfer. You can click the Cancel button to stop the file transfer. Click the cps/bps button to control whether you see the transfer speed in characters per second (cps) or bits per second (bps). When the window disappears, the file transfer is complete.

Sending Text Files

You might want to send text to the other computer as though you were typing it. For example, if the remote computer asks a question to which you have an answer stored in a small text file, you can send the text file rather than retyping it--the remote computer doesn't realize that you are sending a file, and accepts the text as though you typed it. You can also send text that is displayed by some other program; for example, you might want to send a number that is displayed in your spreadsheet program.

You can send small amounts of text by using either of two methods:

note CTRL-C and CTRL-V may not work for cut-and-paste in HyperTerminal, depending on whether these keystrokes are used by the terminal that HyperTerminal is emulating. Choose Edit | Paste To Host from the menu bar instead, or right-click and choose Copy or Paste To Host.

Capturing Text from the HyperTerminal Window

If the remote computer displays interesting information in the HyperTerminal window, you may want to save it. You can use these three methods to save text:

Other HyperTerminal Commands

Here are a few other things you can do with HyperTerminal:

PreviousChapterContentsGlossaryNext