aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/pages/HTXAdvPage1.ht
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
committerdos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
commitab8cc85adde879fb963c94d15675783f2cf4b183 (patch)
treec202482327f474583b750b2c45dedfc4e4312b1d /src/hyper/pages/HTXAdvPage1.ht
downloadopen-axiom-ab8cc85adde879fb963c94d15675783f2cf4b183.tar.gz
Initial population.
Diffstat (limited to 'src/hyper/pages/HTXAdvPage1.ht')
-rw-r--r--src/hyper/pages/HTXAdvPage1.ht104
1 files changed, 104 insertions, 0 deletions
diff --git a/src/hyper/pages/HTXAdvPage1.ht b/src/hyper/pages/HTXAdvPage1.ht
new file mode 100644
index 00000000..0e209ad8
--- /dev/null
+++ b/src/hyper/pages/HTXAdvPage1.ht
@@ -0,0 +1,104 @@
+\begin{page}{HTXAdvPage1}{Input areas}
+\centerline{\fbox{{\tt \thispage}}}\newline
+\begin{scroll}
+
+You have probably seen input areas in other \HyperName{}
+pages. They provide {\it dynamic link} capabilities.
+Instead of having a choice between certain actions,
+they allow you to specify an action on--the--fly.
+To use them, you need the following commands:
+\beginImportant
+\newline
+{\tt \\inputstring\{{\it label}\}\{{\it length}\}\{{\it default value}\}}
+\newline
+{\tt \\stringvalue\{{\it label}\}}
+\endImportant
+
+The first command puts up an input area of the {\it length}
+specified. The {\it default value} is placed in it.
+The first argument, {\it label} gives a name to the
+contents of the input area.
+You can refer to those contents by using
+the second command. Never place a {\tt \\stringvalue} command
+in an "exposed" part of the page. It is only meant
+to be used as an argument to an {\it action}.
+Here are some examples.
+
+
+
+
+
+\beginImportant
+\begin{paste}{HTXAdvPage1xPaste1}{HTXAdvPage1xPatch1}
+\pastebutton{HTXAdvPage1xPaste1}{Interpret}
+\newline
+{\tt Page name \\tab\{16\} }
+{\tt \\inputstring\{pagetogo\}\{30\}\{RootPage\}}\newline
+{\tt \\newline}\newline
+{\tt \\downlink\{GO!\}\{\\stringvalue\{pagetogo\}\}}\newline
+\end{paste}
+\endImportant
+
+\beginImportant
+\begin{paste}{HTXAdvPage1xPaste2}{HTXAdvPage1xPatch2}
+\pastebutton{HTXAdvPage1xPaste2}{Interpret}
+\newline
+{\tt File to edit \\tab\{16\}}\newline
+{\tt \\inputstring\{filetoedit\}\{30\}\{/etc/passwd\}}\newline
+{\tt \\newline}\newline
+{\tt \\unixcommand\{Ready!\}\{xterm -e vi \\stringvalue\{filetoedit\}\}}
+\end{paste}
+\endImportant
+
+
+\end{scroll}
+\beginmenu
+\menulink{Next Page --- Radio boxes}{HTXAdvPage2}
+\endmenu
+
+\end{page}
+
+
+
+\begin{patch}{HTXAdvPage1xPatch1}
+\begin{paste}{HTXAdvPage1xPaste1A}{HTXAdvPage1xPatch1A}
+\pastebutton{HTXAdvPage1xPaste1A}{Source}
+\newline
+Page name \tab{16}
+\inputstring{pagetogo}{30}{RootPage}
+\newline
+\downlink{GO!}{\stringvalue{pagetogo}}
+\end{paste}
+\end{patch}
+\begin{patch}{HTXAdvPage1xPatch1A}
+\begin{paste}{HTXAdvPage1xPaste1B}{HTXAdvPage1xPatch1}
+\pastebutton{HTXAdvPage1xPaste1B}{Interpret}
+\newline
+{\tt Page name \\tab\{16\} }
+{\tt \\inputstring\{pagetogo\}\{30\}\{RootPage\}}\newline
+{\tt \\newline}\newline
+{\tt \\downlink\{GO!\}\{\\stringvalue\{pagetogo\}\}}\newline
+\end{paste}
+\end{patch}
+
+
+\begin{patch}{HTXAdvPage1xPatch2}
+\begin{paste}{HTXAdvPage1xPaste2A}{HTXAdvPage1xPatch2A}
+\pastebutton{HTXAdvPage1xPaste2A}{Source}
+\newline
+File to edit \tab{16}
+\inputstring{filetoedit}{30}{/etc/passwd}
+\newline
+\unixcommand{Ready!}{xterm -e vi \stringvalue{filetoedit}}
+\end{paste}
+\end{patch}
+\begin{patch}{HTXAdvPage1xPatch2A}
+\begin{paste}{HTXAdvPage1xPaste2B}{HTXAdvPage1xPatch2}
+\pastebutton{HTXAdvPage1xPaste2B}{Interpret}
+\newline
+{\tt File to edit \\tab\{16\}}\newline
+{\tt \\inputstring\{filetoedit\}\{30\}\{/etc/passwd\}}\newline
+{\tt \\newline}\newline
+{\tt \\unixcommand\{Ready!\}\{xterm -e vi \\stringvalue\{filetoedit\}\}}
+\end{paste}
+\end{patch}