[table of contents][main topic of chapter][index][previous][next]
[copyright and trademarks][Preface Overview][Cisco TCP/IP Suite books]

Setting Telnet Options

Telnet allows you to customize many options including:

Setting up Telnet Profiles

A profile lets you set a number of options for sessions with hosts you frequently access. When you create a profile, Telnet saves the information and adds the profile name to the Profile list and the Quick Connect list, letting you connect to the desired host with your preferred settings.

You can access profile options in the following ways:

This section explains how to set up a new profile from the Connect dialog box.

To define a new profile for connecting to a remote host:

  1. Start the Telnet application.

    The Connect dialog box appears.

  2. Click the New button.

    The Settings dialog box appears.

  3. In the Profile Name field, assign a name to this profile. Use a unique name that lets you easily identify the profile.
  4. Set the desired options in each tab:

When you are done setting profile options, do one of the following:

Setting Login Options

The Sign On tab in Telnet lets you establish options for logging into the remote host. To set options for logging into the remote host:

  1. Start the Telnet application.
  2. Click the New button to set options for a new profile or the Modify button to change an existing profile.
  3. Choose the Sign On tab in the Settings dialog box.

    The Sign On tab appears.

  4. In the Host Name field, enter the name or IP address of the remote host.
  5. In the Mode group, click the radio button of the protocol you want to use for logging into the remote host, either Telnet or rlogin.
  6. In the Port field, enter the desired TCP port number to use for the connection. Port 23 is the default for Telnet, port 513 for rlogin, and port 543 for klogin. For rlogin and klogin the port may not be changed.
  7. In nearly all instances, Telnet successfully detects the appropriate type of terminal emulation for each connection. To force Telnet to use one type of emulation or another, choose the desired terminal emulation type from the Force Emulation drop-down list. This option is not available for rlogin connections.
  8. In the Authentication drop-down list, choose the type of authentication to be used for the connection. If you use Kerberos authentication, Kerberos must be operational on the remote host. This option is available for rlogin connections as well and must be specified after rlogin is checked.
  9. If you use rlogin to connect to a remote host, enter your remote and local user names for accessing the remote host in the Remote and Local fields in the Login Name group. If you choose Kerberos for authentication, enter your user name in the Remote field.
  10. You can continue setting options, click Save to save your changes in the current profile, or click Save As to save as a new profile and return to the Connect dialog box.

Setting VT Emulation Options

The VT tab lets you set options for VT terminal emulation. To set VT terminal emulation options:

  1. Start the Telnet application.
  2. Click the New button to set options for a new profile or the Modify button to change an existing profile.
  3. Click the VT tab in the Settings dialog box.

    The VT tab appears.

  4. Choose the correct emulation mode in the Emulation Mode drop-down list, either VT400 7-Bit,VT400 8-Bit, VT100, or VT52.
  5. In the Terminal Id drop-down list, choose the terminal type you would like Telnet to identify itself as. Options include VT100, VT101, VT102, VT125, VT220, VT320, and VT420.
  6. In the Identification String field, enter the terminal ID string you want Telnet to use in Telnet ttypes option negotiation.
  7. In the User Pref Supp Set drop-down list, choose the desired supplemental character set:
  8. In the Size group, choose the number of columns and rows you would like to view in the Telnet application window. The Telnet application supports 80 or 132 columns and up to 255 rows.
  9. In the NRCS (National Replacement Character Set) drop down list, choose 7 bit NRCS if you would like to use one of the DEC National Replacement Character Sets, or 8 bit Multinational if you would like to use one of the 8 bit Character sets. Note that the remote host may switch you in and out of 7 bit NRCS mode.
  10. Select the desired language to use when operating in 7 bit NRCS.
  11. If you are using an application that requires a specific answerback string from the terminal, enter this string in the Answerback String field.
  12. In the Others group, enable and disable options as desired:
  13. You can continue setting options, click Save to save your changes in the current profile, or click Save As to save as a new profile, and return to the Connect dialog box.

Setting TN3270 Emulation Options

To set TN3270 terminal emulation options:

  1. Start the Telnet application.
  2. Click the New button to set options for a new profile or the Modify button to change an existing profile.
  3. Choose the TN3270 tab in the Settings dialog box. The TN3270 tab appears.

  4. Check the Enable TN3270 Mode check box to allow TN3270 terminal emulation. Clear the Enable TN3270 Mode check box to disable TN3270 terminal emulation.
  5. Check the Extended check box to use extended data streams. Extended data streams allow the host application to use colors and attributes such as blinking, underline, and reverse video.
  6. In the Model drop-down list, choose the model of 3270 terminal that you want the terminal emulator to identify itself as, options include 2 (24x80 screen size), 3 (32x80 screen size), 4 (43x80 screen size), and 5 (27x132 screen size).
  7. In the Identification String field, enter the terminal ID string you want Telnet to use in Telnet ttypes option negotiation.
  8. In the IBM Character Set drop-down list, choose the desired language.
  9. In the Size group, choose the number of columns and rows you would like to view in the Telnet window. The Size group is only active if the Extended check box is checked.
  10. In the Others group, enable and disable the following options as desired:
  11. You can continue setting options, click Save to save your changes in the current profile, or Save As to save as a new profile and return to the Connect dialog box.

Setting TN5250 Emulation Options

To set TN5250 terminal emulation options:

  1. Start the Telnet application.
  2. Click the New button to set options for a new profile or the Modify button to change an existing profile.
  3. Choose the TN5250 tab in the Settings dialog box. The TN5250 tab appears.

  4. Check the Enable TN5250 Mode check box to allow TN5250 terminal emulation. Clear the Enable TN5250 Mode check box to disable TN5250 terminal emulation.
  5. In the Identification String field, enter the terminal ID string you want Telnet to use in Telnet ttypes option negotiation.
  6. In the IBM CECP (Country Extended Code Page) drop- down list, choose the desired language.
  7. In the Screen Size group, choose the number of columns and rows you would like to view in the Telnet window.
  8. In the Screen Type group, click either the Color or Monochrome radio button. Note that selecting Monochrome causes the emulator to use different mappings of the screen attributes.
  9. You can continue setting options, click Save to save your changes in the current profile, or click Save As to save as a new profile and return to the Connect dialog box.

Setting Display Options

To set display options for the current profile:

  1. Start the Telnet application.
  2. Click the New button to set options for a new profile or the Modify button to change an existing profile.
  3. Choose the Display tab in the Settings dialog box.

    The Display tab appears.

  4. To change the color of the text used in the Telnet application window for this profile, click the Text Color radio button and then click the desired text color. The changes appear in the Sample Text field.
  5. To change the color of the background used in the Telnet application window for this profile, click the Background Color radio button and then the desired background color. The changes appear in the Sample Text field.
  6. To change the colors that are available for selection, click the Modify Colors... button. The Modify Colors dialog box appears.

  7. In the Modify Colors dialog box, modify the colors as desired.
  8. Click OK to apply your changes and to return to the Display tab dialog or click Cancel to abandon your changes and to return to the Display tab dialog.
  9. To change the fonts for the Telnet application, refer to "Changing Fonts for Telnet" on page 228.
  10. To save the position of the Telnet window so that it opens in the same place on your terminal as when you last closed it, check the Save Window Position on Close check box.
  11. To prevent smooth scrolling in all instances, check the Disallow Smooth Scroll check box, to allow smooth scrolling clear the Disallow Smooth Scroll check box.
  12. To choose a block cursor instead of a line cursor, check the Block Cursor check box.
  13. Check the Visual Bell check box if you do not want an audible bell.
  14. Check the Vertical Cursor Coupling check box if you want the vertical scrollbar to be adjusted automatically when the cursor moves to always keep the row with the cursor on the visible portion of the display.
  15. Check the Horizontal Cursor Coupling check box if you want the horizontal scrollbar to be adjusted automatically when the cursor moves to always keep the column with the cursor on the visible portion of the display.
  16. By default, Telnet saves 100 lines of text in its scrolling region. To change the number of lines that are available for scrolling, enter a new number in the Scroll Back Lines field. The maximum number of lines you can save in the buffer is 32,000, but may be limited by the amount of available memory.
  17. To use a different keyboard map for this profile, choose the desired keyboard map from the Keyboard Map drop-down list.
  18. To modify the existing keyboard map, click the Modify Keyboard... button. For more information on modifying a keyboard map, refer to "Using Keyboard Maps" on page 233.
  19. You can continue setting options, click Save to save your changes in the current profile, or click Save As to save as a new profile and return to the Connect dialog box.

Changing Fonts for Telnet

  1. Click the Modify Fonts... button on the Display tab to change the terminal fonts. The Modify Fonts dialog box appears.

  2. In the Font Type group, indicate whether the Font Name list should display only bitmapped fonts, only TrueType fonts, or both bitmapped and TrueType fonts. If you choose Both, both bitmap and True Type fonts appear in the Font Name list. If you choose Bitmap or True Type, only those fonts appear in the list.
  3. Select a Font from the Font Name list.

    The font you select is the font that is used for all normal ASCII and ISO-8859-1 (ANSI) characters.

    It does not affect the fonts used for DEC Line Drawing, IBM APL, IBM Status lines, DEC Technical, and Hebrew fonts. These other fonts can be changed by adding a [Display] section to the MNTELNET.INI file, with the following items indicating the fonts:

  4. Choose either Automatic (Default) or Fixed from the Scaling Mode group. When in Automatic mode, the font size is adjusted to match the screen size, whenever the screen size changes (either from one of the tab sheets, or from the remote host). When in Fixed mode, the font size is always the same.

    Note

    If the window is maximized in Fixed mode, the size of the window adjusts to fit the size of the emulated terminal screen.

  5. If you chose Fixed, select a font size from the Font Size list.
  6. Click OK to apply the changes and continue.

Setting Communication Options

To determine which communication options should be negotiated between the local and remote hosts in Telnet sessions:

  1. Start the Telnet application.
  2. Click the New button to set options for a new profile or the Modify button to change an existing profile.
  3. Click the Comm tab in the Settings dialog box.

    The Comm tab appears.

  4. Check or clear any of the desired options.

    Note

    For profiles using the rlogin protocol, you can set only Local Flow Control and X:Display.

  5. If you intend to run X applications, enter the name of the X server in the X Display Location field.
  6. In the Speed group, set the desired speeds for transmitting and receiving data. This option is not used by most applications, and does not affect normal communication speed. In most cases, these settings should not be changed.
  7. In the Local Flow Control group, check the Negotiate check box if you want flow control to be negotiated with the remote host. Check the State check box to turn on local flow control. Clear the State check box to turn off local flow control. If the Negotiate box is checked, the State check box may be updated as a result of negotiating with the remote host.
  8. You can continue setting options, click Save to save your changes in the current profile, or Save As to save as a new profile and return to the Connect dialog box.

Using Keyboard Maps

Telnet lets you map your keyboard's keys so that your workstation more closely resembles a VT, TN3270, or TN5250 working environment. The following sections describe these topics:

Mapping Keys

to map keys for Telnet:

  1. Start the Telnet application.
  2. Click the New button to set options for a new profile or the Modify button to change an existing profile.
  3. Choose the Keyboard... option from the Options menu, or click the Modify Keyboard... button in the Display tab of the Settings dialog box, or the Keyboard Mapping toolbar button.

    The Configure Keyboard Map dialog box appears.

  4. To map keys for VT terminal emulation, click the VT300 tab; for TN3270 terminal emulation, click the TN3270 tab; for TN5250, click the TN5250 tab.
  5. To map a key, click and drag the desired key or key function from the emulated terminal keyboard (the lower keyboard) to the PC Extended Keyboard (the upper keyboard), and drop it on the key you want to use.

    The new key function appears on the key in the PC Extended Keyboard.

    Modifier keys, such as Shift, Ctrl, and Alt, cannot be mapped individually. They must be mapped in conjunction with a non-modifier key (such as Alt-D).

    Note

    Certain keys, such as Esc, Tab, and F1 are used for specific Windows functions. Re-mapping a key that performs a Windows-specific function disables the Windows-specific functionality.

    Note

    The left and right shift keys are mapped individually.

  6. To erase a key mapping, drag and drop the Eraser icon (in the upper right corner) onto the key you want to correct. The key returns to its original state.
  7. To map all modified states of a key, such as Shift-key, Alt-key, and Ctrl-key, check the Deep check box. To map only the character or function that appears on the lower keyboard, clear the Deep check box.
  8. To view keyboard characters in modified states, click the desired modifier key(s). The associated character or function appears on the keyboard for the specified modifier state.
  9. Click Apply to apply the mappings to the current session. Click Save As... to save the current mapping in a file for later use. Click Cancel to close the Configure Keyboard Map dialog box without changing your keyboard.

Saving a Keyboard Map

To save a keyboard map for later use with the Telnet application:

  1. In the Configure Keyboard Map dialog box, map the keyboard as you would like. For information on mapping keys, refer to "Mapping Keys" on page 233.
  2. Click the Save As... button.

    The Save Keyboard Map dialog box appears so you can assign a unique name to the keyboard map.

  3. Enter the desired name in the Save Keyboard Map As field.
  4. Click OK to save the keyboard map with the new name and to close the Save Keyboard Map dialog box.

Any keyboard maps you create appear in the Name drop- down list of the Configure Keyboard Map dialog box and the Keyboard Map drop-down list in the Display tab of the Settings dialog box.

Defining Macros

Telnet lets you map a number of functions to one key so you can create keyboard macros.

To define multiple keystrokes or functions for one key:

  1. Open the Configure Keyboard Map dialog box by selecting the Modify Keyboard button on the Display tab or the Keyboard Mapping toolbar button.
  2. Double-click the key you want to use in the PC Extended Keyboard.

    The Define Key dialog box appears.

  3. Select the first desired function, value, or character from the Emulator Keys scrolling list.
  4. Click Add.

    The selected function, value, or character appears in the "This will be sent to the emulator" field.

  5. Add additional values as desired from the Emulator Keys list until the macro is complete.

    If the entries extend beyond the length of the emulator field, you can position the cursor in the field and use the left and right arrow keys to view the overflowing text.

    To remove all entries from the emulator field, click the Clear button.

  6. Click the OK button to accept the macro and to close the Define Key dialog box.

    The newly mapped key now contains the label Mac to indicate it has been mapped as a macro.

  7. To save the macro for future use, click the Save As... button. To apply the macro without saving it, click the Apply button. To close the Configure Keyboard Map dialog box without saving the macro, click Cancel.

Modifying Keyboard Maps

To change an existing keyboard map stored in a Telnet profile:

  1. Start the Telnet application.
  2. Select the desired profile in the Connect dialog box, and click the Modify button.
  3. Click the Display tab.
  4. Open the Configure Keyboard Map dialog box by selecting the Modify Keyboard button on the Display tab or the Keyboard Mapping toolbar button.
  5. Select the desired keyboard map from the Name drop- down list.

    Telnet maps the PC Extended Keyboard as indicated by the keyboard mapping file.

  6. Modify existing mappings as desired.

    To remove an existing mapping, drag and drop the Eraser icon onto the key whose mapping you want to remove.

  7. Click Apply to apply your changes to the current session. Click Save As... to save the keyboard map for future use. Click Cancel to close the Configure Keyboard Map dialog box without changing any mappings.

Deleting Keyboard Maps

To delete a keyboard map stored in a Telnet profile:

  1. Start the Telnet application.
  2. Select the desired profile in the Connect dialog box, and click the Modify button.
  3. Click the Display tab.
  4. Open the Configure Keyboard Map dialog box by selecting the Modify Keyboard button on the Display tab or the Keyboard Mapping toolbar button.
  5. Select the keyboard map you want to delete from the Name drop-down list.
  6. Click Delete.

    A dialog box appears, asking you to confirm the deletion.

  7. Click Yes to delete the map. Click No to keep the map.

Transferring a Keyboard Map

When you save a keyboard map, a file is created with a .KBD extension. To transfer this map to another machine or user, copy this file to the same directory where that version of Telnet is running from:

  1. Create a keyboard mapping profile.
  2. Copy the file name.kbd to the directory where the Telnet that you want to use the profile with runs from (name is the name of the profile that you created).
  3. Run Telnet from the destination directory where you copied the profile.
  4. Click Yes to delete the map. Click No to keep the map.
  5. Open the Configure Keyboard Map dialog box by selecting the Modify Keyboard button on the Display tab or the Keyboard Mapping toolbar button.
  6. Select the desired keyboard map from the Name drop- down list.

    Telnet maps the PC Extended Keyboard as indicated by the keyboard mapping file.



[table of contents][main topic of chapter][index][previous][next]
[copyright and trademarks][Preface Overview][Cisco TCP/IP Suite books]

Copyright© 1995-1996 Cisco Systems, Inc. All Rights Reserved.

HTML file generated May 15, 1996.