aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/pages/newuser.ht
blob: 0ff95d6cfae28bf1950e6d3c52b1768289ede36a (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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
% Copyright The Numerical Algorithms Group Limited 1991, 1992, 1993.
% Certain derivative-work portions Copyright (C) 1988 by Leslie Lamport.
% All rights reserved

% --------------------------------------------------------------------
\begin{page}{NoMoreHelpPage}{No More Help :-(}
% --------------------------------------------------------------------
\beginscroll\vspace{2}
\centerline{No additional or specific help information is available.}
\centerline{Click on \ \ExitButton{QuitPage} \  to get back.}
\endscroll
\end{page}

% ----------------------------------------------------------------------
\begin{page}{YouTriedIt}{You Tried It!}
% ----------------------------------------------------------------------
\beginscroll
\upbutton{Click here}{UpPage} to get back.
\endscroll
\end{page}

% Getting Started

%% % Now using text from book

%%  % --------------------------------------------------------------------
%%  \begin{page}{GettingStarted}{Getting Started}
%%  % --------------------------------------------------------------------
%%  \beginscroll
%%  \par
%%  \HyperName{} is the gateway to \Language{}.
%%  It's both an on-line tutorial and an on-line reference.  It also enables you
%%  to use \Language{} simply by using the mouse and filling in templates.
%%  \HyperName{} is available to you if you are running \Language{} under the
%%  X Window System.
%%  \par
%%  Pages usually have active areas, marked in \downlink{this
%%  font.}{YouTriedIt}
%%  As you move the mouse pointer to an active area, the pointer changes from a
%%  filled dot to an open circle.
%%  The active areas are usually linked to other pages.
%%  When you click on an active area, you move to the linked page.
%%  Try clicking \downlink{here}{YouTriedIt} now.
%%  \par
%%  Now we suggest that you learn more about other features of
%%  \HyperName{} by clicking on an active area in the menu below:
%%  %
%%  \beginmenu
%%  \menumemolink{Headings}{ugHyperHeadingsPage}\tab{15}How to use the headings at the top of the page
%%  \menulink{Scroll Bars}{ugHyperScrollPage}\tab{15}All about {\it scroll bars} on \HyperName{} pages
%%  \menulink{Input Areas}{ugHyperInputPage}\tab{15}All about {\it input areas} in \HyperName{}
%%  \menulink{Buttons}{ugHyperButtonsPage}\tab{15}Learn about {\it radio buttons} and {\it toggles}
%%  \menulink{Search Strings}{SearchStrings}\tab{15}Learn about {\it search strings} in \HyperName{}
%%  \menulink{Example Pages}{ugHyperExamplePage}\tab{15}How to view or run {\it examples} on \HyperName{} pages
%%  \menulink{Settings}{ugHyperResourcesPage}\tab{15}X Window Resources for \HyperName{}
%%  \endmenu
%%  \endscroll
%%  \end{page}

%%  % --------------------------------------------------------------------
%%  \begin{page}{ExamplesIntro}{\Language{} Examples}
%%  % --------------------------------------------------------------------
%%  \pp
%%  \beginscroll
%%  Many pages have \Language{} examples.
%%  Here are two:
%%  \spadpaste{a:= x**2 + 1 \bound{a}} \newline
%%  \spadpaste{(a - 2)**2 \free{a}} \newline
%%  Each example has an active ``button'' along the left margin.
%%  When you click on this button the output for the
%%  command is ``pasted-in.''
%%  Try it!
%%  Click again on the button and you'll see
%%  that the pasted-in output disappears. Got the idea?
%%  \par
%%  Maybe you would like to run an example?
%%  To do so, just click on any part of it!
%%  When you do, the example line is copied into a new interactive \Language{}
%%  buffer for this \HyperName{} page.
%%  \par
%%  Sometimes one example line cannot be run before you run an earlier one.
%%  Don't worry---this is all automatic!
%%  For instance, the second example line above refers to \spad{a} which is
%%  assigned in the first example line.
%%  What happens if you first click on the second example line?
%%  \Language{} first issues the first line (to assign \spad{a}), then the
%%  second (to do the computation using \spad{a}).
%%  \par
%%  The new interactive \Language{} buffer will disappear when you leave
%%  \HyperName{}.
%%  If you want to get rid of it beforehand,
%%  use the ``Cancel'' button of the X window manager.
%%  \endscroll
%%  %\autobutt{HelpHelp}
%%  \end{page}

%%  % --------------------------------------------------------------------
%%  \begin{page}{RadioButtons}{Radio Buttons and Toggles}
%%  % --------------------------------------------------------------------
%%  \beginscroll
%%  \radioboxes{sample}{\htbmfile{pick}}{\htbmfile{unpick}}
%%  \par
%%  Radio buttons are a group of round buttons like those on car radios: you can
%%  select only one.
%%  Here are three radio buttons:
%%  \centerline{
%%  {\em\radiobox[1]{rone}{sample}\space{}The first one}\space{3}
%%  {\em\radiobox[0]{rtwo}{sample}\space{}The second one}\space{3}
%%  {\em\radiobox[0]{rthree}{sample}\space{}The third one}
%%  }
%%  \newline
%%  The selected button has an {\it X} in the box.
%%  The others which are not selected are open, i.e. they have no {\it X}.
%%  To change the selection, move the cursor with the mouse to an
%%  alternate radio button and click. Try it now.
%%  %\vspace{1}\centerline{To see another kind of button click on:}
%%  %\centerline{\box{\downlink{Next Page}{ToggleButton}}}
%%  %\endscroll
%%  %\autobuttons\end{page}
%%  %\begin{page}{ToggleButton}{Toggles}
%%  %\beginscroll
%%  \vspace{1}
%%  \par
%%  A toggle is a square button you can either select (it has an {\it X}) or
%%  not (it has no {\it X}).
%%  Unlike radio buttons, you can set a group of them any way you like.
%%  Here are three:
%%  \centerline{
%%  {\em\inputbox[1]{one}{\htbmfile{pick}}{\htbmfile{unpick}}\space{}The first one}
%%  \space{3}
%%  {\em\inputbox[0]{two}{\htbmfile{pick}}{\htbmfile{unpick}}\space{}The second one}
%%  \space{3}
%%  {\em\inputbox[1]{three}{\htbmfile{pick}}{\htbmfile{unpick}}\space{}The third one}
%%  }
%%  \newline
%%  To change the selections, move the cursor with the mouse
%%  to a toggle and click.
%%  \endscroll
%%  \autobuttons\end{page}

%%  % --------------------------------------------------------------------
%%  \begin{page}{InputAreas}{Input Areas}
%%  % --------------------------------------------------------------------
%%  \beginscroll
%%  \par Input areas are boxes that you can fill in.
%%  Here is one:
%%  \centerline{\inputstring{one}{40}{some text}}
%%  \newline As you can see, the input area has some initial text {\it some text}
%%  followed by an underscore (the character {\it _}).
%%  First, make sure that the mouse cursor is
%%  on this page. Now type some
%%  characters at the keyboard.
%%  The characters that you type are now inserted in front of the underscore.
%%  You may type as many characters as you like.
%%  The input area will grow to accomodate as many characters as you type.
%%  Use the {\it Backspace} key to erase
%%  characters to the left.
%%  Use the keys {\it Insert}, {\it Delete}, {\it Home} and {\it End}
%%  to modify what you type.
%%  Also try right- and left-arrow keys immediately to the right of the
%%  standard keyboard.
%%  \vspace{1}\newline\centerline{\box{\downlink{Next Page}{MultipleugHyperInputPage}}}
%%  \endscroll
%%  \end{page}


%%  % --------------------------------------------------------------------
%%  \begin{page}{MultipleInputAreas}{Multiple Input Areas}
%%  % --------------------------------------------------------------------
%%  \beginscroll
%%  Here is a large input area like the one on the last page:
%%  \centerline{\inputstring{one}{40}{one}}
%%  \newline
%%  and here are two smaller ones:
%%  \centerline{\inputstring{two}{15}{two}\space{8}\inputstring{three}{7}{three}}
%%  Move your mouse cursor to somewhere within this page.
%%  Note that only the first input area has an underscore cursor.
%%  This means that when you type characters at your keyboard, they
%%  will go into this first input area. Try it!
%%  \par
%%  To type information into another input area,
%%  use the {\it Enter} or {\it Tab} key to move from one input area to another.
%%  To move in the reverse order, use {\it Shift + Tab}.
%%  \par
%%  You can also move from one input area to another using your mouse.
%%  Notice that each input area is active. Click on one of the areas.
%%  As you can see, the underscore cursor now moves to that window.
%%  \endscroll
%%  \end{page}

%%  % Now using text from the book
%%
%%  % --------------------------------------------------------------------
%%  \begin{page}{ScrollBars}{Using Scroll Bars}
%%  % --------------------------------------------------------------------
%%  When all of the text does not fit within a window, part of the window
%%  is like a ``looking glass'' you can
%%  move up and down over the length of the text.
%%  The text seen by the looking glass has a {\it scroll bar}
%%  down its right side.
%%  The {\it scroll bar} allows you to move this looking glass.
%%  It also tells you the position of the looking glass
%%  relative to the whole text.
%%  \beginscroll
%%  \par
%%  The part of this \HyperName{} window beginning with this line has a
%%  {\it scroll bar} along its right side.
%%  Move the cursor with the mouse to the scroll bar.
%%  Now move the cursor to the `down-arrow' at the
%%  bottom of the scroll bar and click. See that the looking glass moves
%%  down one line. Do it again and again. Each time you click, the
%%  looking glass moves down one line.
%%  \par
%%  Now move the mouse to the 'up-arrow' at the top of the scroll
%%  bar and click. The looking glass moves up one line each time you click.
%%  \par
%%  Next move the mouse to any position along the middle of the
%%  scroll bar and click.
%%  This will attempt to move the top of the looking glass to the point where you
%%  click.
%%  However, you cannot make the looking glass to go off the bottom edge.
%%  For this example page, the looking glass region is approximately
%%  half of the whole region. So the lowest point you can
%%  set top of the looking glass is halfway down.
%%  Get the idea?
%%  \par
%%  Want to use the keyboard instead of the mouse?
%%  Then use the {\it Page Up} and {\it Page Down} keys on your
%%  keyboard. They move the visible part of the region up and down
%%  one page each time you type them. Try them!
%%  \par
%%  If a page does not have an input area, you can also use the {\it Home}
%%  and up and down arrow keys to move the visible part of the region.
%%  The {\it Home} key moves the region to the very top of the page.
%%  The up and down arrow keys move the region up and down one line,
%%  respectively.
%%  (If a page does have an input area, these three keys operate on the
%%  input area.)
%%  \endscroll
%%  \autobuttons\end{page}


%%  % --------------------------------------------------------------------
%%  \begin{page}{StartingButtonHelp}{Know These Buttons}
%%  % --------------------------------------------------------------------
%%  \beginscroll
%%  Most pages have a standard set of buttons at the top of the page.
%%  \newline
%%  This is what they mean:
%%  \par \ExitBitmap   \space{} {\it Exit} from \HyperName{}
%%  \par \HelpBitmap   \space{} Get {\it Help}
%%  \par \ReturnBitmap \space{} {\it Jump back} to main page
%%  \par \UpBitmap     \space{} {\it Go back} one page
%%  \newline
%%  \pp
%%  The {\it Help} button shows you pages that can give you additional
%%  information.  You can always
%%  click on {\it Help} while you're
%%  exploring.
%%  You can always make forays into new topics.
%%  \HyperName{} remembers where you came from.
%%  Don't worry about how to get back. Just click on either the ``up arrow''
%%  or the ``HOME'' button. Now click on the ``up arrow'' to go back one page.
%%  \endscroll
%%  \autobutt{DummyHelp}\end{page}

%%  % --------------------------------------------------------------------
%%  \begin{page}{StartingMenuHelp}{Menus}
%%  % --------------------------------------------------------------------
%%  \pp
%%  \beginscroll
%%  A `menu' is a list of topics. Each topic has at least one active area.
%%  Clicking on the active area marked {\it Menus} is how you got here.
%%  \horizontalline
%%  Here is another menu to practice on:
%%  \newline
%%  \beginmenu
%%  %\menulink{Riddle}{RiddlePage}
%%  %    A classic riddle.
%%  %\menulink{\HyperName{}}{WhatIsHyperName}
%%  %    What is \HyperName{}
%%  \menulink{Buttons}{ButtonHelp}
%%      Buttons in \HyperName{}.
%%  \endmenu
%%  \endscroll
%%  \autobuttons\end{page}