1
% @(#)tbledit.twh 19.1 (ESO-IPG) 02/25/03 14:03:48
3
%.IDENTIFICATION tbledit.twh
6
%.VERSION 1.1 Added the ^Z info
8
%.PURPOSE Help for Table Editor
9
%.ENVIRONMENT Midas, Tables, TermWindows
11
\def\eos#1{\EOF}% End of Screen
12
\def\ul#1{{\Vu#1}}% Underline
13
\def\LeftLine#1{\leftline{#1}}% Synonym
14
\def\RightLine#1{\rightline{#1}}% Synonym
15
\def\CentreLine#1{\centerline{#1}}% Synonym
16
\def\NewWindow#1{\CheckLines{#1}}%
17
\def\BeginLeft{\begin{left}}%
18
\def\BeginRight{\begin{right}}%
19
\def\BeginCentre{\begin{center}}%
20
\def\BeginQuote{\begin{quote}}%
21
\def\BeginItems{\begin{itemize}}%
22
\def\BeginIndent{\begin{indent}}%
23
\def\BeginTable#1#2{\begin{table}{#1}{#2}}%
24
\def\EndLeft{\end{left}}%
25
\def\EndRight{\end{right}}%
26
\def\EndCentre{\end{center}}%
27
\def\EndQuote{\end{quote}}%
28
\def\EndItems{\end{itemize}}%
29
\def\EndIndent{\end{itemize}}%
30
\def\EndTable{\end{table}}%
33
\def\CentreColumns#1#2{\multicolumn{#1}{c}{#2}}%
34
\def\LeftColumns#1#2{\multicolumn{#1}{l}{#2}}%
35
\def\RightColumns#1#2{\multicolumn{#1}{r}{#2}}%
36
\def\Centre#1{\multicolumn{1}{c}{#1}}%
37
\def\Left#1{\multicolumn{1}{l}{#1}}%
38
\def\Right#1{\multicolumn{1}{r}{#1}}%
40
\def\frametext#1{\begin{table}{| c |}{\len{#1}}%
41
\Rule #1 \\ \Rule \end{table}}
43
\Help{0}{Main}{Table Editor}{}
44
\Help{1}{keypad}{Keypad}{}
46
\begin{table}{l p{4cm}}{40, } % 2-column text
47
\begin{table}{|c|c|c|c|}{8,8,8,8}
50
{\em ~~~~~~} & & NEXT & DEL L \\
51
{\em ~GOLD~} & HELP & & \\
52
{\em ~~~~~~} & & {\em FIND} & {\em UNDEL L}\\
54
PAGE & SECTION & RIGHT P & DEL W \\
56
{\em COMMAND} & {\em } & {\em LEFT P} & {\em UNDEL W}\\
58
ADVANCE & BACKUP & CREA COL & DEL C \\
60
{\em BOTTOM} &{\em TOP}& {\em DEL COL} & {\em UNDEL C}\\
62
WORD & & CHANGE FM & \\
64
{\em SHOW} & & {\em SORT} & ENTER \\
66
\CentreColumns{2}{LINE} & ROW & ~ \\
67
\CentreColumns{2}{ } & ~ & ~ \\
68
\CentreColumns{2}{\em SCREEN} & {\em STATUS} & ~ \\
73
Press the key to get help
76
Press the {\em spacebar} to exit
80
\Help{1}{line}{Keypad}{}
86
Moves the cursor forward or backward to the nearest beginning of a line,
87
depending on the current direction (see ADVANCE and BACKUP).
92
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
93
To exit the help, press the {\em spacebar}.\\
94
For help on any other keypad or function keys, press the key.
98
\Help{1}{screen}{Keypad}{}
104
Changes screen mode. Alternate modes are:\\
105
TABULAR, several table rows are displayed one after the other, and \\
106
ROW all the columns of a given row are displayed on the screen.
110
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
111
To exit the help, press the {\em spacebar}.\\
112
For help on any other keypad or function keys, press the key.
116
\Help{1}{word}{Keypad}{}
122
Moves the cursor to the next or previous field (column) of current the page,
123
depending on the current direction see (ADVANCE and BACKUP).
127
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
128
To exit the help, press the {\em spacebar}.\\
129
For help on any other keypad or function keys, press the key.
133
\Help{1}{_last_column}{Keypad}{}
139
Moves the cursor to the last field (column) on the current line.
143
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
144
To exit the help, press the {\em spacebar}.\\
145
For help on any other keypad or function keys, press the key.
149
\Help{1}{change_format}{Keypad}{}
155
Changes the display format of a field (column).
156
The reference to the column, either by label or by number,
157
as well as the format are entered interactivelly.
161
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
162
To exit the help, press the {\em spacebar}.\\
163
For help on any other keypad or function keys, press the key.
167
\Help{1}{advance}{Keypad}{}
173
Sets the current direction to forward for the TABULAR, LINE, PAGE,
175
ADVANCE means that the movement will be toward the end of the table.
180
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
181
To exit the help, press the {\em spacebar}.\\
182
For help on any other keypad or function keys, press the key.
186
\Help{1}{bottom_of_table}{Keypad}{}
192
Positions the cursor in the last row of the table.
196
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
197
To exit the help, press the {\em spacebar}.\\
198
For help on any other keypad or function keys, press the key.
202
\Help{1}{backup}{Keypad}{}
208
Sets the current direction to backward for TABULAR, LINE, PAGE,
210
BACKUP means that the movement will be toward the beginning of the table.
215
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
216
To exit the help, press the {\em spacebar}.\\
217
For help on any other keypad or function keys, press the key.
221
\Help{1}{top_of_table}{Keypad}{}
227
Positions the cursor in the first row of the table.
231
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
232
To exit the help, press the {\em spacebar}.\\
233
For help on any other keypad or function keys, press the key.
237
\Help{1}{create_column}{Keypad}{}
243
Creates a new column in the table. Column label, data type and display format
244
are entered interactivelly.
249
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
250
To exit the help, press the {\em spacebar}.\\
251
For help on any other keypad or function keys, press the key.
255
\Help{1}{delete_column}{Keypad}{}
261
Deletes a column from the table. Reference to the column is by label
266
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
267
To exit the help, press the {\em spacebar}.\\
268
For help on any other keypad or function keys, press the key.
273
\Help{1}{page}{Keypad}{}
279
Display next (previous) page of the table depending on the current
280
direction defined as ADVANCE or BACKUP.
285
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
286
To exit the help, press the {\em spacebar}.\\
287
For help on any other keypad or function keys, press the key.
291
\Help{1}{command}{Keypad}{}
297
Allows you to enter in line mode command to be executed without exiting the
298
keypad mode. The command is executed when you press either RETURN or
299
ENTER on the keypad. The command mode is also activated with {\bf CNTRL Z}
301
Possible commands are:\\
302
find, next, create column, delete column, \\
303
row, change_format, advance, backup, \\
304
page, section, right_page, left_page, \\
305
top, bottom, screen(*), show, \\
306
sort, status, help, exit \\
309
Commands marked with (*) are not yet implemented.
313
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
314
To exit the help, press the {\em spacebar}.\\
315
For help on any other keypad or function keys, press the key.
319
\Help{1}{section}{Keypad}{}
325
Display next (previous) section of the table depending on the current
326
direction defined as ADVANCE or BACKUP. A section is defined as half a page.
331
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
332
To exit the help, press the {\em spacebar}.\\
333
For help on any other keypad or function keys, press the key.
337
\Help{1}{right_page}{Keypad}{}
343
Displays the following page of the table. The following page consists of the
344
same rows as the currently displayed page and the columns following
350
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
351
To exit the help, press the {\em spacebar}.\\
352
For help on any other keypad or function keys, press the key.
356
\Help{1}{left_page}{Keypad}{}
362
Displays the leftmost page of the table.
367
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
368
To exit the help, press the {\em spacebar}.\\
369
For help on any other keypad or function keys, press the key.
373
\Help{1}{_delete_word}{Keypad}{}
379
Deletes the entry of the table where the cursor is positioned.
380
The entry is stored in the delete entry buffer.
381
\frametext{Not yet implemented}
385
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
386
To exit the help, press the {\em spacebar}.\\
387
For help on any other keypad or function keys, press the key.
391
\Help{1}{_undel_word}{Keypad}{}
397
Replaces the entry where the cursor is currently positioned by the
398
value stored in the delete entry buffer.
399
\frametext{Not yet implemented}
403
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
404
To exit the help, press the {\em spacebar}.\\
405
For help on any other keypad or function keys, press the key.
409
\Help{1}{_delete_character}{Keypad}{}
415
Deletes the character on which the cursor is positioned
416
and saves it in the delete character buffer.
417
\frametext{Not yet implemented}
421
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
422
To exit the help, press the {\em spacebar}.\\
423
For help on any other keypad or function keys, press the key.
427
\Help{1}{_undel_character}{Keypad}{}
433
Inserts the contents of the delete character buffer directly to the
435
\frametext{Not yet implemented}
439
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
440
To exit the help, press the {\em spacebar}.\\
441
For help on any other keypad or function keys, press the key.
445
\Help{1}{_next_line}{Keypad}{}
451
ENTER and RETURN are used to input interactivelly information to the
452
editor. The interactive input is required by the commands CREA COL,
453
DEL COL, CHANGE FM, FIND and COMMAND.
457
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
458
To exit the help, press the {\em spacebar}.\\
459
For help on any other keypad or function keys, press the key.
463
\Help{1}{row}{Keypad}{}
469
Displays the given row. Rows are defined by the absolute row number,
470
or by the relative (sign + or -) displacement with respect to the
471
current cursor position.
475
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
476
To exit the help, press the {\em spacebar}.\\
477
For help on any other keypad or function keys, press the key.
481
\Help{1}{gold}{Keypad}{}
487
Lets you use the lower (alternate) function of the editing keys.
488
Press the GOLD key, then the key you wish to use.
492
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
493
To exit the help, press the {\em spacebar}.\\
494
For help on any other keypad or function keys, press the key.
498
\Help{1}{next}{Keypad}{}
504
Searches for the next entry value previously entered with the FIND key.
505
The column and the starting row are defined by the current pointer
507
The search is done in the direction of increasing row numbers.
512
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
513
To exit the help, press the {\em spacebar}.\\
514
For help on any other keypad or function keys, press the key.
518
\Help{1}{find}{Keypad}{}
523
Searches for a value in a column of the table.
524
The column and the starting row are defined by the current pointer
526
The value and the error allowed in the search are entered interactivelly.
527
The search is done in the direction of increasing row numbers.
531
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
532
To exit the help, press the {\em spacebar}.\\
533
For help on any other keypad or function keys, press the key.
537
\Help{1}{_delete_line}{Keypad}{}
543
Deletes the displayed values of the row where the cursor is positioned.
544
The values are stored in the delete row buffer.
545
Note: in the current version, all the displayed entries of the row
546
currently pointed by the cursor are deleted.
547
\frametext{Not yet implemented}
552
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
553
To exit the help, press the {\em spacebar}.\\
554
For help on any other keypad or function keys, press the key.
558
\Help{1}{_undel_line}{Keypad}{}
563
Replaces the row values where the cursor is currently positioned by the
564
values stored in the delete row buffer.
565
Note: in the current version, all the displayed entries of the row
566
currently pointed by the cursor are replaced.
567
\frametext{Not yet implemented}
571
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
572
To exit the help, press the {\em spacebar}.\\
573
For help on any other keypad or function keys, press the key.
577
\Help{1}{_arrow}{Keypad}{}
579
\begin{table}{|c|c|c|c|}{8,16,8,16}
582
UP & DOWN & LEFT & RIGHT \\
583
\^ & | & <-- & --> \\
592
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
593
To exit the help, press the {\em spacebar}.\\
594
For help on any other keypad or function keys, press the key.
598
\Help{1}{_bad_key}{Keypad}{}
602
\frametext{No Help Available for this Key}
606
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
607
To exit the help, press the {\em spacebar}.\\
608
For help on any other keypad or function keys, press the key.
612
\Help{1}{tabular}{Keypad}{}
618
Moves the cursor to the next or previous field (column) within the current page,
619
depending on the current direction (see ADVANCE and BACKUP).
623
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
624
To exit the help, press the {\em spacebar}.\\
625
For help on any other keypad or function keys, press the key.
629
\Help{1}{help}{Keypad}{}
633
\frametext{Portable Table Editor}
635
The current version uses a Keypad/Function mode or a command mode to
636
perform the editing functions. \\
637
To enter in the command mode hit {\bf CNTL Z} or the {\bf COMMAND}
639
To exit type {\bf quit} or {\bf exit} in the command mode. \\
640
Exiting the editing session with a {\bf quit} will not modify the table.
642
\frametext{Press keypad {\bf PF2} or function key {\bf F2} for more information}
646
To exit the help, press the {\em spacebar}.\\
647
For help on any other keypad or function keys, press the key.
651
\Help{1}{show}{Keypad}{}
657
Show number of columns and rows in the table.
661
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
662
To exit the help, press the {\em spacebar}.\\
663
For help on any other keypad or function keys, press the key.
667
\Help{1}{sort}{Keypad}{}
673
Sort table according to the ascending/descending order of a column.
677
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
678
To exit the help, press the {\em spacebar}.\\
679
For help on any other keypad or function keys, press the key.
683
\Help{1}{status}{Keypad}{}
689
Displays editor internal variables.
693
To return to the keypad diagram, press {\em return} key or {\em PF2}.\\
694
To exit the help, press the {\em spacebar}.\\
695
For help on any other keypad or function keys, press the key.
699
\Help{1}{Function}{Keypad}{}
700
% Note: This keypad is made of two parts: left 5x2 L keys,
701
% right 1x2 keys. Implemented as two-columns, and a table in each col
703
\begin{table}{ll}{20,30}
704
\begin{table}{|c|c|}{8,8} % Left Part (L keys)
708
{\em COMMAND} & {\em FIND}\\
712
{\em BOTTOM} & {\em TOP} \\
714
RIGHT P & CREA COL \\
716
{\em LEFT P} & {\em DEL COL} \\
720
{\em SHOW} & {\em SORT} \\
724
{\em SCREEN} & {\em STATUS} \\
726
\end{table} % End of Left Part
727
& % Right Column (Function Keys)
728
\begin{table}{|c|c|}{8,8}
739
Press the key to get help\\
742
Use the {\bf \^Z} key to go to \\ Command Mode\\
745
Press the {\em spacebar} to exit\\
746
\end{table} % End of Right Part
747
\end{table} % End of Table