It's possible to send an NL that will be honored and it is possible (not with TPUT) to push a line on the stack. It is not possible to simulate a terminal solicited read. There was ambiguity in the question.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Phil Smith III <[email protected]> Sent: Wednesday, October 22, 2025 11:14 PM To: [email protected] <[email protected]> Subject: Re: TPUT terminal control characters External Message: Use Caution Well, don't take my word for it that it's not possible--Shmuel says it is. I know how to do 3270 datastream programming so it's not like you can just put an x'25' in there and it be magic, but maybe TPUT offers a way. -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Joseph Reichman Sent: Wednesday, October 22, 2025 11:08 PM To: [email protected] Subject: Re: TPUT terminal control characters I wasn’t really sure I could this ( wish test had an api) ill just tput the message and instruct the user to hit <enter> key On Wed, Oct 22, 2025 at 11:05 PM Phil Smith III <[email protected]> wrote: > The ENTER key isn't a character. 3270 terminals are block-mode > devices, and so things like ENTER and PF and PA keys are out of band, so to > speak. > IOW, you can't do what you want without getting really fancy (and > learning > 3270 data streams--and I'm not sure whether you could do it even then > on TSO). > > -----Original Message----- > From: IBM Mainframe Discussion List <[email protected]> On > Behalf Of Joseph Reichman > Sent: Wednesday, October 22, 2025 10:39 PM > To: [email protected] > Subject: TPUT terminal control characters > > > Hi > > Using TPUT is it possible to send keyboard control characters at the > end message > > What means like at the end of the text message the enter key don’t > know what hex code for the enter key is think it might be hex 25 > > What I am trying to do is send a tso test subcommand specifically the > qualify subcommand followed by the address and period and would like > to follow it with the code for the <enter key> > > Thanks > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
