aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/pages/HTXAdvPage6.ht
blob: 2966dd78bd2db398b2e0dbb0948ef952a92ca1f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
\begin{page}{HTXAdvPage6}{Miscellaneous}
\centerline{\fbox{{\tt \thispage}}}\newline
\begin{scroll}


We present here a few commands that may be of some use
to you.
You may want to know certain parameters so that you can pass
them to one of the action {\tt \\command}s.

The {\tt \\thispage} command shows the name of the
current page.

\beginImportant
\begin{paste}{HTXAdvPage6xPaste1}{HTXAdvPage6xPatch1}
\pastebutton{HTXAdvPage6xPaste1}{Interpret}
\newline
{\tt \\thispage}\newline
{\tt \\newline}\newline
{\tt \\lispcommand\{Lisp\}\{(pprint "\\thispage")\}}\newline
\end{paste}
\endImportant


The {\tt \\windowid} command shows the X Windows
{\it WindowID} of the current window.

\beginImportant
\begin{paste}{HTXAdvPage6xPaste2}{HTXAdvPage6xPatch2}
\pastebutton{HTXAdvPage6xPaste2}{Interpret}
\newline
{\tt \\windowid}\newline
{\tt \\newline}\newline
{\tt \\lispcommand\{Lisp\}\{(pprint \\windowid)\}}\newline
\end{paste}
\endImportant

% \examplenumber not documented

The {\tt \\env} command gets the value of an environment
variable. It is an error to use {\tt \\env} with an undefined
environment variable.

\beginImportant
\begin{paste}{HTXAdvPage6xPaste3}{HTXAdvPage6xPatch3}
\pastebutton{HTXAdvPage6xPaste3}{Interpret}
\newline
{\tt \\env\{AXIOM\}}
\end{paste}
\endImportant


The {\tt \\nolines} command, if included somewhere
in the page, eliminates the horizontal lines that
delimit the header and footer regions.


% \beep not documented

%\returnbutton{homebutton}{ReturnPage}

%\upbutton{upbutton}{UpPage}


\end{scroll}
\beginmenu
\menulink{Back to Menu}{HTXAdvTopPage}
\endmenu

\end{page}



\begin{patch}{HTXAdvPage6xPatch1}
\begin{paste}{HTXAdvPage6xPaste1A}{HTXAdvPage6xPatch1A}
\pastebutton{HTXAdvPage6xPaste1A}{Source}
\newline
\thispage
\newline
\lispcommand{Lisp}{(pprint "\thispage")}
\end{paste}
\end{patch}
\begin{patch}{HTXAdvPage6xPatch1A}
\begin{paste}{HTXAdvPage6xPaste1B}{HTXAdvPage6xPatch1}
\pastebutton{HTXAdvPage6xPaste1B}{Interpret}
\newline
{\tt \\thispage}\newline
{\tt \\newline}\newline
{\tt \\lispcommand\{Lisp\}\{(pprint "\\thispage")\}}\newline
\end{paste}
\end{patch}


\begin{patch}{HTXAdvPage6xPatch2}
\begin{paste}{HTXAdvPage6xPaste2A}{HTXAdvPage6xPatch2A}
\pastebutton{HTXAdvPage6xPaste2A}{Source}
\newline
\windowid
\newline
\lispcommand{Lisp}{(pprint \windowid)}
\end{paste}
\end{patch}
\begin{patch}{HTXAdvPage6xPatch2A}
\begin{paste}{HTXAdvPage6xPaste2B}{HTXAdvPage6xPatch2}
\pastebutton{HTXAdvPage6xPaste2B}{Interpret}
\newline
{\tt \\windowid}\newline
{\tt \\newline}\newline
{\tt \\lispcommand\{Lisp\}\{(pprint \\windowid)\}}\newline
\end{paste}
\end{patch}


\begin{patch}{HTXAdvPage6xPatch3}
\begin{paste}{HTXAdvPage6xPaste3A}{HTXAdvPage6xPatch3A}
\pastebutton{HTXAdvPage6xPaste3A}{Source}
\newline
\env{AXIOM}
\end{paste}
\end{patch}
\begin{patch}{HTXAdvPage6xPatch3A}
\begin{paste}{HTXAdvPage6xPaste3B}{HTXAdvPage6xPatch3}
\pastebutton{HTXAdvPage6xPaste3B}{Interpret}
\newline
{\tt \\env\{AXIOM\}}\newline
\end{paste}
\end{patch}