Subject: | |
From: | |
Reply To: | |
Date: | Thu, 11 Dec 1997 10:50:49 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
We run our main (VPLUS-)app in batch every night to make sure a few
clean-up tasks users tend to forget really is performed. The program
opens a differently compiled Vplus-form (passed in the ;INFO-string),
and gets STDIN redirected with :RUN ...;STDIN=file. File looks something
like:
* comments
VFIELDNAME "STRING" [put STRING in VFIELDNAME]
$ [SEND]
$8 [f8]
Unfortunately, I'm not sure what makes this work (as is the case with a
lot of things here.. !-).
The first difference I can see is that the 'special' form is compiled
for the 'HP264X Family' terminal and the 'normal' form is compiled for
the 'HP262X, HP239X, HP7009X Families' (specified in the 'T'-screen in
formspec).
The second is that the call to VOPENTERM seems to be excluded when our
program is run like this.
As far as I can tell this is the only differences, (e.g. there's no
file-equations involved) but I haven't been forced to dig deep into this
(yet)...
So, there is a way, only I'm not sure about all the details. We have all
source available (Fortran 77), but it's not trivial (for me!) to find
out exactly how it works, partly because most of the VPLUS-handling is
burried deep in home-grown libraries...
I hope, at least, that this might give you an idea.
We're on 5.0 but the first version of the stdin-file was made 19871111
/per
> hi~
> i've had a co-worker ask if it's possible to redirect $stdin
> for a vplus screen. something along the lines of having a
> text(?) file available that contains the input data (in the
> correct order...). any ideas? - d
> --
> Donna Garverick Sr. System Programmer
> 510/210-6631 [log in to unmask]
>
> >>>MY opinions, not Longs Drug Stores'<<<<
>
|
|
|