Use of the AIX telnet command

Source: Internet
Author: User

In our research and learning on AIX, we will all encounter some related commands and settings. Here we will summarize the AIX telnet command. In the subsequent articles, we will also supplement it. I hope to get your attention, and I hope this article will provide you with some reference.

AIX telnet, tn, or tn3270 commands

Purpose

Use the telnet interface to connect the local host to the remote host.

Syntax

 
  1. {telnet| tn | tn3270 } [ -d ] [ -p ] [ -n TraceFile ] [ -e TerminalType ] [ -f | -F ] [ -k realm ] [ -l user ] [ Host [ Port ] ] 

Description

The AIX telnet command, also known as the tn or tn3270 command, operates in two different ways: Command mode and input mode.

AIX telnet command

If a telnet command is sent without parameters, it enters the command mode, as shown in the prompt telnet>, tn>, or tn3270>. you can also press Ctrl-] For the telnet command, press Ctrl-T for the tn command, or press Ctrl-C for the tn3270 command to enter the command mode from the input mode. in command mode, you can enter sub-commands to manage remote systems. the command will return to the remote session upon completion. for subcommands that cannot return to a remote session, press Enter to return to the remote session.

Note: The default escape sequence of this command is Ctrl-] of the AIX telnet command, Ctrl-T of the tn command or Ctrl-C of the tn3270 command. this default value can be overwritten by changing the TNESC environment variable.

After connecting to the remote host, enter the telnet command mode and input the telnet Escape key sequence. When using the command mode, the Standard Operating System editing conventions, such as the Escape key, are available.

Input mode

When the telnet command is sent with parameters, it executes the open sub-commands containing these parameters and then enters the input mode. the input type is letter-by-letter or line-by-line, depending on what the remote system supports. most input texts are sent to the remote host immediately in case of letter-by-letter mode. in line-by-line mode, all text is displayed on the local screen, and the complete line is sent to the remote host.

In any input mode, if the toggle localchars sub-command value is True, the user's QUIT, INTR, and FLUSH characters will be captured locally and sent to the telnet protocol sequence of the remote host. the toggle autoflush and toggle autosynch subcommands refresh the subsequent output to the terminal until the remote host confirms the telnet sequence and refresh the previous terminal input when the QUIT and INTR characters are used ).

Arabic Hebrew support

The AIX telnet, tn, and tn3270 commands support Arabic and Hebrew texts, allowing users to enter Arabic or Hebrew characters in the simulation session. Ar_AA language environment to display the correct shape of Arabic characters.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.