🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.asm370
Article #1625

Re:Interacting with a TSO user from a program

#1625
From: Radchenko Igor Mikhailovich
Date: Wed, 18 Mar 1992 23:16
18 lines
1231 bytes
Mr. Grout writes:

>My requirement is to be able to issue a prompt on a line and have
>the user enter the response on the same line.

To solve the problem you can use ASIS option in the TPUT/PUTLINE/PUTGET
macros. But do not use CR at the end of the output line:
        TPUT MESSAGE,L'MESSAGE,ASIS
        TGET REPLY,L'REPLY

MESSAGE DC C'text of the message'
REPLY   DS C...

     Sevastianov Sergey.
-- 
Igor Radchenko        |         Tel:         +7 (0752) 229-357 (office)
--------------        |                      +7 (0752) 221-247 (home)            
Tambov, Russia        |         E-mail:      rim@tixmcnit.tambov.su
Technical Details
Message-ID: <ABHzynfC55@tixmcnit.tambov.su>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!fuug!demos!relcom!news-server

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcdcb,c3495f00bfac6a0d,start
X-Google-Attributes: gidfcdcb,public
X-Google-ArrivalTime: 1992-03-18 15:40:59 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!fuug!demos!relcom!news-server
From: rim@tixmcnit.tambov.su (Radchenko Igor Mikhailovich)
Newsgroups: bit.listserv.asm370
Subject: Re:Interacting with a TSO user from a program
Message-ID: <ABHzynfC55@tixmcnit.tambov.su>
Date: 18 Mar 92 23:16:33 GMT
Sender: news-server@kiae.su
Reply-To: rim@tixmcnit.tambov.su
Organization: Tambov Center of New Information Technol
Lines: 18