Pulls .page files and shared template infrastructure (mainpagetemplate.temp, menu.bar, barant.tag, opensource.menu, cart.menu, login.menu) read-only from barant.com via SFTP into jetc/barant-site/src, then convert.py mechanically flattens them into self-contained .jet files: linkbutton becomes a plain anchor link (the old SESSIONCTL PAGE/PROCESS form-postback model has no equivalent here - each page is its own real #api route now, not a shared single-form state machine), sectionframe is expanded per its barant.tag definition, /images/* references are fetched and inlined as data URIs (APIServer has no static-file serving), and session-gated chrome (cart, account/admin, login.menu) is resolved to its anonymous-visitor default state, since no session/DB backend is wired into this conversion. 17 pages convert and serve cleanly end-to-end (verified via a local apiserver-barant-site.json instance on :8081, kept separate from the existing demo server on :8080 to avoid a /main route collision with the earlier hand-cloned barant.jet). Two pages deliberately out of scope for this pass: davidarant.page (whiledir filesystem iteration) and the per-topic sub-pages of jet.page (dispatches on an ARGS query param this conversion does not populate - only the default overview state converts). vst.page/modular1.page/modular1_patches.page also deferred - they pull live product rows via sql, a real backend dependency beyond "pages and their template" scope. Nothing was written back to barant.com - SFTP access was read-only throughout, per explicit instruction to convert locally without touching the original site.
26 lines
1013 B
Plaintext
Executable File
26 lines
1013 B
Plaintext
Executable File
<sectionframe title="JET Command Reference">
|
|
|
|
<h2><a href="/jet/contents"><img src="/images/back.png" width="15"></a> CALL</h2>
|
|
<hr>
|
|
<p>Use the CALL tag to transfer control to an executable file on the
|
|
host system. Use a fully qualified name for the executable file.</p>
|
|
<h3>Arguments</h3>
|
|
<ul>
|
|
<li><b>PGM</b>: Fully qualified path name to the executable to be called.</li>
|
|
<li><b>NAME</b>: Specify the name of a variable that is to receive The
|
|
standard output of the executable.</li>
|
|
<li><b>INPUT</b>: Specify the named of a variable that contains data to be
|
|
provided to the standard input of the program being called.</li>
|
|
<li><b>ARG1</b> - <b>ARG30</b>: Specify the data elements that are to be passed as
|
|
arguments to the called program.</li>
|
|
</ul>
|
|
<h3>Residuals</h3>
|
|
<p>The named variable $[RETURNCODE] will contain the integer value
|
|
returned by the called executable file.</p>
|
|
<h3>Examples</h3>
|
|
<div class="code">
|
|
<call pgm="/usr/bin/wget" arg1="barant.com">
|
|
</exclude></div>
|
|
|
|
|
|
</sectionframe> |