| 1 |
<html> |
| 2 |
<head> |
| 3 |
<title>tcl3270 Manual Page</title> |
| 4 |
<link HREF="http://www.w3.org/StyleSheets/Core/Steely" TYPE="text/css" REL="stylesheet"> |
| 5 |
</head> |
| 6 |
<body> |
| 7 |
<h1>tcl3270 Manual Page</h1> |
| 8 |
<hr> |
| 9 |
<p><b>Note:</b> This page is no longer being maintained for tcl3270 4.0 and later. |
| 10 |
Please refer to the <a href="https://x3270.miraheze.org/wiki/Main_Page">the x3270 Wiki</a> for up-to-date documentation.</p> |
| 11 |
<hr> |
| 12 |
<h2>Contents</h2> |
| 13 |
<blockquote> |
| 14 |
<a HREF="#Name">Name</a><br> |
| 15 |
<a HREF="#Synopsis">Synopsis</a><br> |
| 16 |
<a HREF="#Description">Description</a><br> |
| 17 |
<a HREF="#tcl3270-Specific-Options">tcl3270-Specific Options</a><br> |
| 18 |
<a HREF="#See-Also">See Also</a><br> |
| 19 |
<a HREF="#Wiki">Wiki</a><br> |
| 20 |
<a HREF="#Version">Version</a><br> |
| 21 |
</blockquote> |
| 22 |
<a NAME="Name"></a><h2>Name</h2> |
| 23 |
tcl3270 - |
| 24 |
<font size=-1>IBM</font> host access tool |
| 25 |
<a NAME="Synopsis"></a><h2>Synopsis</h2> |
| 26 |
<b>tcl3270</b> |
| 27 |
[<i>script</i> [<i>script-arg...</i>]] [-- [<i>tcl3270-options</i>] [<i>s3270-options</i>] [<i>host</i>] |
| 28 |
<br> |
| 29 |
<b>tcl3270</b> |
| 30 |
[<i>script</i> [<i>script-arg...</i>]] [-- [<i>tcl3270-options</i>] [<i>s3270-options</i>] [<i>session-file</i>.tcl3270] |
| 31 |
<br> |
| 32 |
<b>tcl3270</b> -v |
| 33 |
<br> |
| 34 |
<b>tcl3270</b> --help |
| 35 |
<a NAME="Description"></a><h2>Description</h2> |
| 36 |
<b>tcl3270</b> opens a telnet connection to an <font size=-1>IBM</font> |
| 37 |
host, then allows a Tcl script to control the host login session. |
| 38 |
It is derived from |
| 39 |
<a HREF="s3270-man.html"><i>s3270</i>(1)</a>, |
| 40 |
a script-based IBM 3270 emulator. |
| 41 |
<p> |
| 42 |
For each action supported by s3270, tcl3270 defines a |
| 43 |
correcponding Tcl command. |
| 44 |
The result of the Tcl command is the output of the s3270 action. |
| 45 |
If the output is one line, the result is a string. |
| 46 |
If the output is multiple lines, the result is a list of strings. |
| 47 |
<p> |
| 48 |
On the command line, a session file can be named either |
| 49 |
<i>name</i>.<b>tcl3270</b> or <i>name</i>.<b>s3270</b>. |
| 50 |
Resource values, such as those used in <b>-xrm</b> options or in a |
| 51 |
session file, can be specified as <b>tcl3270</b>.<i>resource</i> or |
| 52 |
<b>s3270</b>.<i>resource</i>. |
| 53 |
<a NAME="tcl3270-Specific-Options"></a><h2>tcl3270-Specific Options</h2> |
| 54 |
<dt><b>-d</b></dt><dd> |
| 55 |
Turns on debugging information, tracing data going between tcl3270 and |
| 56 |
s3270. |
| 57 |
<a NAME="See-Also"></a><h2>See Also</h2> |
| 58 |
<a HREF="s3270-man.html">s3270(1)</a> |
| 59 |
<a NAME="Wiki"></a><h2>Wiki</h2> |
| 60 |
Primary documentation for tcl3270 is on the <b>x3270 Wiki</b>, <a HREF="https://x3270.miraheze.org/wiki/Main_Page">https://x3270.miraheze.org/wiki/Main_Page</a>. |
| 61 |
<a NAME="Version"></a><h2>Version</h2> |
| 62 |
tcl3270 4.3ga10 |
| 63 |
<hr> |
| 64 |
<i> |
| 65 |
This HTML document and the accompanying troff document were generated with |
| 66 |
a set of write-only <b>m4</b> macros and the powerful <b>vi</b> editor. |
| 67 |
<br>Last modified 15 December 2024. |
| 68 |
</i> |
| 69 |
</body> |
| 70 |
</html> |