tcl3270(1)
π tcl3270 β¨
okay bestie, welcome to the General Commands Manual entry for tcl3270, and lemme tell you, this little icon is the vibe.
π NAME π
tcl3270 β IBM host access tool π
πΈ SYNOPSIS πΈ
tcl3270 [script [script-arg...]] [-- [tcl3270-options] [s3270-options]
[host]
tcl3270 [script [script-arg...]] [-- [tcl3270-options] [s3270-options]
[session-file.tcl3270]
tcl3270 -v
tcl3270 --help
β¨ DESCRIPTION β¨
so basically, tcl3270 opens a telnet connection to an IBM host, and then it just hands the aux over to a Tcl script so the script can run the whole host login session. it's giving puppet master energy π and fr fr it's derived from s3270(1), the script-based IBM 3270 emulator.
here's the tea π«: for every action that s3270 supports, tcl3270 defines a corresponding Tcl command. and the result of that Tcl command? it's literally the output of the s3270 action. if the output is one line, you get a string back. if the output is multiple lines, you get a list of strings. simple as that, no cap.
on the command line, you can name a session file either name.tcl3270 or name.s3270 β both slay equally. and resource values, like the ones you'd use in -xrm options or inside a session file, can be specified as tcl3270.resource or s3270.resource. either one, bestie, it's flexible like that πββοΈ
π TCL3270-SPECIFIC OPTIONS π
-dβ turns on debugging information, tracing the data going back and forth betweentcl3270ands3270. it's the "not me watching every single packet like it's a reality show" option π₯
π SEE ALSO π
π WIKI π
the primary documentation for tcl3270 lives on the x3270 Wiki, at https://x3270.miraheze.org/wiki/Main_Page. go read it, it's the main character of documentation πβ¨
β VERSION β
tcl3270 4.3ga10
aaaand that's a wrap, bestie π«Ά this wastcl3270(1)from the General Commands Manual, version4.3ga10, dated 15 December 2024. mwah π go forth and script your hearts out π¦π
π¦ where this page comes from
- debian trixie: tcl3270 4.3ga10-5 Β· x3270
- ubuntu questing: tcl3270 4.3ga10-5
- ubuntu resolute: tcl3270 4.3ga10-5build1 Β· x3270
- ubuntu stonking: tcl3270 4.3ga10-5build2 Β· x3270
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms