🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.computers.apollo
Article #256

Help with PAD i/o

#256
From: "MARIE::KROWITZ"
Date: Thu, 11 Sep 1986 17:21
18 lines
1443 bytes
I need a little help from someone who knows more about pads and
windows than I do ...

I have a program which creates a pad with a window and then uses stream i/o
to write a message into the pad. When the message is completed, the stream
is closed and deleted so that the user can make the window and is asscoociated
pad go away by typing EXIT or control-N in the window. I have been trying
to find a way to leave the window positioned to the top of the pad (in case
the message contains more lines than the window can display), but I have
been unsuccessful. The stream close always seems to leave the cursor at
the end of the message. Anyone have any hints?

				-- David Krowitz
Bitnet:		KROWITZ@MITLNS
Arpanet:	KROWITZ@MITLNS.MIT.EDU
		DAVID@MIT-MC.ARPA
		KROWITZ%MITLNS@MIT-MULTICS.ARPA
------
Technical Details
Message-ID: <8609130149.AA01615@yale-eli.YALE.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!marie.DECnet.ARPA!krowitz

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!marie.DECnet.ARPA!krowitz
From: krowitz@marie.DECnet.ARPA ("MARIE::KROWITZ")
Newsgroups: mod.computers.apollo
Subject: Help with PAD i/o
Message-ID: <8609130149.AA01615@yale-eli.YALE.ARPA>
Date: Thu, 11-Sep-86 13:21:00 EDT
Article-I.D.: yale-eli.8609130149.AA01615
Posted: Thu Sep 11 13:21:00 1986
Date-Received: Sat, 13-Sep-86 04:58:32 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: "MARIE::KROWITZ" <krowitz@marie.decnet>
Organization: The ARPA Internet
Lines: 18
Approved: apollo@yale-comix.arpa