🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.tpu
Article #22

RE: Need help with with TPU procedures

#22
From: Michael Lemke, Astronomy UT Aust...
Date: Fri, 10 Apr 1992 20:23
57 lines
2283 bytes
In a message of 10 Apr 92 14:09:50 +1200, received on 10 Apr 1992, 12:21 GMT
Jason Haar, Network Consultant, CSC <cctr127@csc.canterbury.ac.nz> wrote
to: Text Processing Utility (TPU) Language Discussion List <INFO-TPU@SHSU.edu>

>Can anyone tell me how to do the following.
>
>I've thrown together a customized TPU editor (well, section file) that has
>a few keys defined/etc, but which also splits the screen into two unequal parts
>and has a help file in the bottom buffer. I do this via an initialisation file,
>but would rather get the editor to do it automagically. I've looked through the
>manual, but I can't get the CREATE_SCREEN or CREATE_BUFFER calls to do what I
>want - can a kind soul please show me how to get the following initialisation
>file into TPU format?
>
>Cheers
>
>Jason Haar.
>

Although I am still not very good on this, here is what I lernt from
this list.  Try this:

>
>SET RIGHT 72
eve_set_right_margin(72)

>SPLIT WINDOW
eve_split_window(eve$k_no_arg)

>BUFF "MAIL HELP COMMANDS"
eve_buffer("MAIL HELP COMMANDS")

>INC FILENAME.HELP
eve_include_file("FILENAME.HELP")

>SET BUFF READ_ONLY
eve_set_buffer("READ_ONLY")

>SHRINK 5
eve_shrink_window(5)

>NEXT WINDOW
eve_next_window

>

How did I find this?  Do `tpu eve$$parse("<eve_command>")' at the
Command: prompt.  You can get the answer even in your text at the
current cursor position with `tpu copy_text( eve$$parse("<eve_command>") )'
which is how I created this.

I know there are even simpler (faster) translations for some of your
commands but I don't know them right now.  I'm sure somebody else from
this list will tell you.


Michael
Technical Details
Message-ID: <920410152310.2975@IO.AS.UTEXAS.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!mips!swrinde!elroy.jpl.nasa.gov!decwrl!infopiz!mccall!info-tpu-newsgate!list

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!mips!swrinde!elroy.jpl.nasa.gov!decwrl!infopiz!mccall!info-tpu-newsgate!list
From: michael@io.as.utexas.edu (Michael Lemke, Astronomy UT Austin, Phone:)
Newsgroups: vmsnet.tpu
Subject: RE: Need help with with TPU procedures
Message-ID: <920410152310.2975@IO.AS.UTEXAS.EDU>
Date: 10 Apr 92 20:23:10 GMT
Reply-To: MICHAEL@IO.AS.UTEXAS.EDU (Michael Lemke, Astronomy UT Austin,
Organization: The Internet
Lines: 57
Errors-To: TPU-Mgr@SHSU.edu
X-Listname: Text Processing Utility (TPU) Language Discussion List
X-Vmsmail-To: SMTP%"cctr127@csc.canterbury.ac.nz"