tcl3270(1)

πŸ“¦
version 4.3ga10 Β· 3 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… 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 between tcl3270 and s3270. 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 was tcl3270(1) from the General Commands Manual, version 4.3ga10, dated 15 December 2024. mwah πŸ’‹ go forth and script your hearts out πŸ¦‹πŸ’–
πŸ“¦ where this page comes from