Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Contents of /trunk/doc/en/html/usage/tips/not_port23.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3227 - (show annotations) (download) (as text)
Tue Mar 24 15:10:33 2009 UTC (15 years, 1 month ago) by maya
File MIME type: text/html
File size: 2572 byte(s)
CVS から SVN へ移行: 改行コードを LF から CR+LF へ変換
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <HTML>
4 <HEAD>
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <TITLE>Tips on TCP/IP connection with a port other than 23</TITLE>
7 <META http-equiv="Content-Style-Type" content="text/css">
8 <link rel="stylesheet" href="../../style.css" type="text/css">
9 </HEAD>
10 <BODY>
11
12 <h1>Telnet port number</h1>
13
14 <p>
15 On the <A HREF="../../commandline/teraterm.html">command line</A>, or on the <A HREF="../../menu/file.html">[File] New connection</A> dialog box, you can specify the TCP port number (&lt;TCP port#&gt;) and telnet flag (&lt;telnet flag&gt;) for a TCP/IP connection. If these parameters are omitted in the command line, the default values are taken from the Tera Term setup file.
16 </p>
17
18 <p>
19 Only if &lt;telnet flag&gt; is 1 (on) and &lt;TCP port#&gt; is 23, Tera Term starts spontaneously sending telnet commands to the host for the option negotiation when the TCP/IP connection is established.
20 </p>
21
22 <p>
23 This particular port number for telnet, 23, can be changed by editing the TelPort line in the [Tera Term] section of setup file like the following:
24 </p>
25
26 <pre>
27 TelPort=&lt;telnet port#&gt;
28
29 Default:
30 TelPort=23
31 </pre>
32
33 <p>
34 Whatever &lt;TCP port#&gt; is and whatever &lt;telnet flag&gt; is, Tera Term can respond to telnet commands sent by the host.
35 </p>
36
37 <h1>Terminal setup for non-telnet TCP/IP connection</h1>
38
39 <p>
40 For a non-telnet TCP/IP connection (usually with a port other than 23), you may need to set the "local echo" option on, and the "new-line (transmit)" option to CR+LF. If you edit the TCPLocalEcho and TCPCRSend lines in the [Tera Term] section of the setup file like the following:
41 </p>
42
43 <pre>
44 TCPLocalEcho=on
45 TCPCRSend=CRLF (CR is also acceptable)
46 </pre>
47
48 <p>
49 the "local echo" option is turned on and the "new-line (transmit)" option is set to CRLF automatically when the connection is establised on condition that &lt;telnet flag&gt; is 0 (off), or &lt;TCP port#&gt; is not equal to &lt;telnet port#&gt;. Otherwise, setup values specified by [Setup] Terminal are used. By using these options, one setup file can support both the telnet connection and non-telnet connection.
50 </p>
51
52 <pre>
53 Default:
54 TCPLocalEcho=off (This option is disabled and the "local echo" option in the [Setup] Terminal dialog box is always used.)
55
56 TCPCRSend= (This option is disabled and the "new-line (transmit)" option in the [Setup] Terminal dialog box is always used.)
57 </pre>
58
59 </BODY>
60 </HTML>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26