home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
wp_dtp
/
textplus.lzh
/
TextPlus
/
English
/
doc
/
TextPlus3.0E.doc
< prev
next >
Wrap
Text File
|
1991-04-11
|
57KB
|
1,424 lines
[0m[0 p
[0;1mText Plus V3.0[0m
A word-processor for the Amiga
(c) copyright 1987-1991 by Martin Steppler
[0;1mCONTENTS[0m
[0;1m1. Introduction[0m
a) What is TextPlus? .................................... 4
b) Acknowledgements ..................................... 4
[0;1m2. Installation[0m
a) Installation ......................................... 5
b) Start ................................................ 6
[0;1m3. The configurations-files[0m
a) TxP.Config ........................................... 6
i) hotkey qualifier and code ....................... 6
ii) function-key-mapping ............................ 7
iii) menu-entries of the extern-menu ................. 7
b) TxP.Printer .......................................... 7
i) linefeed-code ................................... 8
ii) footnotes-code .................................. 8
iii) color-codes ..................................... 8
iv) character-translation-chart ..................... 8
[0;1mDescription of menus and their items[0m
[0;1m4. Project[0m
a) Load ................................................. 9
b) Append File .......................................... 9
c) New window ........................................... 9
d) Load & new window .................................... 10
e) Load TxP.Config ...................................... 10
f) Load TxP.Printer ..................................... 10
g) Delete file .......................................... 10
h) Save ................................................. 10
i) Save as .............................................. 10
j) Save and quit ........................................ 10
k) Print ................................................ 10
i) NLQ, pica, elite, condensed .................... 10
ii) from and to page ............................... 10
iii) left and right margin .......................... 11
iv) paper-length ................................... 11
v) formfeed ....................................... 11
vi) proportional ................................... 11
vii) numbering of pages ............................. 11
viii) numbering of lines ............................. 11
ix) Par: / Prt: .................................... 11
x) color 1-4 on/off ............................... 11
xi) footnotes ...................................... 11
xii) serial letter .................................. 12
xiii) the print-out .................................. 12
l) Iconify .............................................. 13
m) Palette .............................................. 13
n) Help ................................................. 13
o) About ................................................ 13
p) Quit ................................................. 13
[0;1m5. Block[0m
a) Block
i) Mark ........................................... 13
ii) Copy ........................................... 13
iii) Move ........................................... 14
iv) Paste .......................................... 14
v) Delete ......................................... 14
vi) Load ........................................... 14
vii) Save ........................................... 14
viii) Print .......................................... 14
b) Delete mark .......................................... 14
c) Block <--> TP.tmp .................................... 14
d) Mark-mode ............................................ 14
[0;1m6. Prefs[0m
a) Prefs
i) Insert-mode ..................................... 14
ii) Letter-mode ..................................... 15
iii) Auto-Div-mode ................................... 15
iv) Backup-mode ..................................... 15
b) Text-width ........................................... 15
c) Left edge ............................................ 15
d) Indent block ......................................... 15
e) Page-length .......................................... 16
f) S-Mark ............................................... 16
g) Undo ................................................. 16
h) Go to ................................................ 16
i) Go to line x ......................................... 16
j) Interlace ............................................ 16
[0;1m7. Style[0m
a) Style ................................................ 16
b) Justify .............................................. 16
c) Color ................................................ 16
[0;1m8. Find[0m
a) Find (next / previous) ............................... 17
b) Replace (next / previous) ............................ 17
[0;1m9. Clock[0m
a) Clock ................................................ 17
b) Date ................................................. 17
c) Auto-Save ............................................ 17
[0;1m10. The ARexx-Port of TextPlus [0m............................. 17
[0;1mAPPENDIX[0m
[0;1mA Keymap [0m................................................... 19
[0;1mB Command-sequences of the printer.device [0m.................. 21
[0;1mREGISTER[0m
[0;1m1. Introduction[0m
[0;1ma) What is TextPLus?[0m
Text Plus V3.0 is a word-processor for the Amiga and
is shareware. If you like it and use it regularly, you
should send me a donation ($30/£8/DM40). This will make
you get the latest update without the nerve-racking
requester.
There are four versions of Text Plus V3.0:
- Text Plus V3.0 German version without the nerve-
racking requester
- Text Plus V3.0N German version with t.n.n.r.
- Text Plus V3.0E English version without t.n.n.r.
- Text Plus V3.0EN English version with t.n.n.r.
If you are already registered for Text Plus V2.x, you
only need to send an update-fee ($15/£8/DM20) to get the
update.
The nerve-racking requester has been implemented in
order to make it easier for you to decide whether to send
the share or not.
[0;1mTo all pd-distributors:[0m
TextPlus with the nerve-racking requester may be
distributed by everybody, without by none. The price
shouldn't exceed a reasonable fee.
Send your share, bug-reports, etc. to:
Martin Steppler
Roermonder Str. 112 a / Zimmer 69
W-5100 Aachen
Fed. Rep. of Germany
In case of urgent problems mail to:
InterNet: steppler@cip-s01.informatik.rwth-aachen.de
Fido: Martin Steppler @ 2:242/7.12
[0;1mb) Acknowledgements[0m
I would like to thank [0;1mColin Fox [0mand [0;1mBruce Dawson [0mfor the
[0;1mreq.library [0mand [0;1mNico François [0mfor the [0;1mpowerpacker.[0m
[0;1mlibrary[0m. They helped me to increase the user-friendliness
of Text Plus.
[0;1m2. Installation[0m
[0;1ma) Installation[0m
In order to make TextPlus (from now on refered to as
TP) work correctly, you must copy following files to the
respective directories:
the program
[0;1mTextPlus3.0E [0mto a dir of your shell's current
[0;1mTextPlus3.0E.info [0m search-path, e.g. SYS: or C:
the configuration-files
[0;1mTxP.Config S:[0m
[0;1mTxP.Printer S:[0m
the clock- and the null-handler
[0;1mTextPlus-Handler L:[0m
[0;1mnull-handler L:[0m
the requester- and the decrunch-Library
[0;1mreq.library LIBS:[0m
[0;1mpowerpacker.library LIBS:[0m
additional files, not explicitly needed to run TP:
printer.configuration for those, who want to use the
printer.device
[0;1mTxP.Printer.Prt S:[0m
for the deletion of no-longer-used memory-resident
libraries:
[0;1mFlush C:[0m
some macros with the suffix '.tpl', that show the use of
the ARexx-port of TP:
[0;1m*.tpl REXX:[0m
finally there are the documentation and example-files:
[0;1mTextPlus3.0E.doc[0m
[0;1mTextPlus3.0E.doc.info[0m
[0;1mTPE-ARexx.doc[0m
[0;1mTPE-ARexx.doc.info[0m
[0;1mExample.txp[0m
[0;1mSerialletter.txp[0m
[0;1mFootnotes.txp[0m
If you want to use the 'Execute'-command, you must add
following entry to the mountlist located in the DEVS:-
directory.
[0;1mNULL: Handler = L:null-handler[0m
[0;1m Stacksize = 500[0m
[0;1m Priority = 5[0m
[0;1m GlobVec = 1[0m
[0;1m#[0m
Before starting TP you must type
[0;1mmount NULL:[0m
[0;1mb) Start[0m
TP can be run from both, Workbench and CLI.
USAGE:
[0;1mTextPlus3.0E [-i] [file1] [file2] ... [file10][0m
If the '-i'-switch is set, TP only opens iconified
window(s) on the workbench. If not, a screen and all
windows are opened. The first one will not be iconified.
If you click into an iconified window for the first time,
the respective file is loaded.
[0;1m3. The configuration-files[0m
[0;1ma) TxP.Config[0m
After a succesful start, TP tries to load its
configuration-file 'TxP. Config', and if TP fails to
find it in the current directory, TP will search for it
in the 's:'-directory. The configuration-file enables
the user to create a personal environment according to
his own requirements, i.e. to set the text-width, page-
length, tabulators etc. TxP.Config is an ASCII- file,
which can be changed very easily. This is why I think the
remarks in TxP.Config fully suffice for understanding,
how to change the settings. Anyway, TP runs without
TxP.Config, too.
Nevertheless some complicated commands of TxP.Config
are explained in the following:
[0;1mi) hotkey qualifier and code[0m
If you press the hotkeys, defined in the configura-
tion-file, you will get back from the workbench to the
TextPlus-screen. The hotkeys consist of a qualifier-
key and a code-key. Default values are LEFT-RIGHT-
AMIGA (c0) and Y (31). All values must be entered in
HEX.
Following values are possible:
qualifier
01 left shift
02 right shift
04 caps lock
08 control
10 left alt
20 right alt
40 left amiga key
80 right amiga key
Combinations are allowed:
e.g. left + right amiga = 40 + 80 = C0. (HEX!)
code
10 - 1A qwertzuiop[
20 - 2A asdfghjkl;'
30 - 3A <yxcvbnm,.-
45 ESC
50 - 59 F1 - F10
Combinations are not allowed.
[0;1mii) Function-key-mapping[0m
Up to 20 function-keys can be mapped with commands.
The mapping of commands follows the scheme 'key,
command, argument'.
Possible commands are the TP-ARexx-commands or the
name of an ARexx-macro. The argument(s) will
automatically be sent to either the command or the
macro.
If you are in the command-line (above the ruler),
function-keys won't be executed, but displayed in the
command-line. This is an easy way to make changes
before executing a function-key.
[0;1miii) Menu-entries of the extern-menu[0m
The extern-menu might contain up to 15 items.
An entry follows the scheme 'name of the menu-item
in quotation-marks, command, argument'.
See 3. a) ii) Function-key-mapping for the passing
of commands and arguments.
[0;1mb) TxP.Printer[0m
TP enables the user to send self-defined sequences to
the printer. These sequences are defined in the file
TxP.Printer. Furthermore the character-translation-chart
and the default-values of the print-requester are located
in TxP.Printer.
Before the invocation of the print-requester, TxP.
Printer is loaded.
First you have to decide whether you want send the
data to be printed to prt: or par:.
If you choose the printer.device, footnotes cannot be
printed, because a linefeed of n/216 inch isn't
supported. But you save yourself from changing
TxP.Printer, due to the fact that the nescessary
sequences are already entered in the file
TxP.Printer.Prt. If you rename this file to TxP.Printer,
you can start printing.
If you choose the parallel.device, you can make use of
the full range of print-modes your printer provides.
In the file TxP.Printer you can find the values for an
Epson-compatible printer.
The comments in TxP.Printer should suffice to un-
derstand, how to change the values.
All codes must be entered in decimal, divided by a
slash ('/').
Further explanation of more comlplex parts of TxP.
Printer.
[0;1mi) linefeed-code[0m
Some printers advance the paper automatically if a
carriage return is sent. In this case you must enter a
'0' in the linefeed-code-line of TxP.Printer, other[0;1m[0m
[0mwise the value mentioned in your printer-manual, nor
mally 10.
[0;1mii) footnotes-code[0m
Here you can choose, how your footnotes will look
like. Subscript and condensed yield to a good print-
out. Furthermore a footnote-linefeed of 18/216 inch is
recommended.
[0;1miii) color-codes[0m
Whenever TP encounters the start or the end of a
color during the print-out, the respective color-
command-sequence is sent to the printer. This is an
easy way to control your printer according to your own
wishes.
[0;1miv) character translation chart[0m
During the print-out TP checks every char if it is
to be translated to one or more different chars.
In many cases a char can only be printed correctly,
if the international character set of your printer is
changed before the printing of the char. After this
you should switch back to the old character set.
An example:
You want to print the Spanish char '¿' (ASCII 191).
Provided the American character set is switched on the
entry in the character translation chart must look
like this:
char to be searched for: 191/
switch to Spanish character set: 27/82/7/
char to be sent: 93/
switch back to American char set: 27/82/0
The whole entry looks like this:
191/27/82/7/93/27/82/2 comment
Your printer-manual should contain a list of
international characters, which are to be sent instead
of the ASCII codes.
This was an example for an Epson-compatible
printer, but the method of character-translation
should be clear now.
If you don't want to translate a character, e.g.
'#' (ASCII 35), the entry looks like this:
35/35 comment
Characters not appearing in the chart are not
translated.
Up to 43 characters can be translated in the
moment. If you try to extend the chart, you will
surely fail 8-).
[0;1m4. Project[0m
[0;1ma) Load[0m
After clicking on this menu-point a filerequester pops
up, the current function of which - here: 'Load file' -
is displayed in the window-title-bar. The selector is
completely dynamic and asynchronous; you may change
directories, select files, scroll the file list, etc.,
while the selector is scanning a directory.
After a file has been chosen, TP loads it and
recognizes automatically if the file is a plain ASCII-
file, if it contains ANSI-control-sequences or if it is a
TextPlus-letter (Suffix: '.txp'). TextPlus-letters of
older versions can be loaded, too.
If you try to overwrite a modified file, a security-
requester will pop up asking you to confirm your
decision. The keymap equivalents of the OKAY and the STOP
gadget of this and all other requesters are CR (OKAY) and
Esc (STOP).
[0;1mb) Append file[0m
A file is appended to the end of the already existing
file. If you want to insert a file at the cursor's
current position, you've got to load a block. --> 5. a)
vi)
[0;1mc) New window[0m
If sufficient memory is available, a new window is
opened. The tabulators, the text-width etc. of the old
window are used in the new one, too. TextPlus is able to
handle up to 10 windows at the same time.
[0;1md) Load and new window[0m
The commands of item 4. a) and c) are carried out.
[0;1me) Load TxP.Config[0m
If you want to reset your window to the values defined
in TxP.Config, you only have to choose this item.
Furthermore this is an easy way to check just-made
changes of the configuration-file. Only changes of the
extern-menu-items are not recognized.
[0;1mf) Load TxP.Printer[0m
The contents of all gadgets and the state of all
switches of the print-requester are reset to the values
defined in TxP.Printer.
[0;1mg) Delete file[0m
The current file is deleted in memory.
[0;1mh) Save[0m
The current file is saved under its current filename.
The letter-mode influences the form of saving. If it is
set to ASCii, a plain ASCII-file without any control-
sequence is saved, if it is set to ANSi, control-
sequences for changes in style or color are saved with
the file according to the ANSI-standard. Such files can
be loaded by every ANSI-compatible editor or text-display
program, e.g. 'MuchMore'. If the letter-mode is set to
LETter, all definitions of the print-requester, the
tabulators, the text-width etc. are saved, too. The
suffix '.txp' is added to such files.
[0;1mi) Save as ...[0m
After a filename has been chosen, it is saved as
described above (--> 4. h)).
[0;1mj) Save and quit[0m
The commands of item 4. h) and p) are carried out.
[0;1mk) Print[0m
The print-requester pops up. The printer-configura-
tion-file is loaded, if the requester is invoked for the
first time.
The meanings of all gadgets and switches are:
[0;1mi) NLQ, Pica, Elite, Condensed:[0m
Set the print pitch.
[0;1mii) from and to page:[0m
The print-out will start at page 'from page' and stop
after printing page 'to page'.
[0;1miii) left and right margin:[0m
Set the left and the right margin of the print-out.
[0;1miv) paper-length[0m
If the line spacing is set to 1/6 inch, the length of
a normal sheet of paper is 72 lines. Furthermore a
page-length of 60 lines is recommended (--> 6. e)).
[0;1mv) formfeed:[0m
If formfeed is switched on, the paper is advanced
to the beginning of the next page after the last line
of the previous page has been printed. 'Footnotes' and
'numbering of pages' demand 'formfeed' to be switched
on.
[0;1mvi) proportional:[0m
Set the printer to proportional print.
[0;1mvii) numbering of pages:[0m
Every page is numbered automatically.
[0;1mviii) numbering of lines:[0m
Every line is numbered automatically.
[0;1mix) Par: / Prt:[0m
The data to be printed are sent to par: (parallel.
device) or prt: (printer.device).
[0;1mx) color 1 - 4 on/off:[0m
Here you can enter the sequences, you want to be
sent at the start and the end of a color.
[0;1mxi) footnotes:[0m
If footnotes are to be printed, the name of the
file, which contains the footnotes, has to be
provided. Before the print-out a further window is
opened and the footnotes-file is loaded. A window is
only opened if a window with the name of the
footnotes-file does not already exist.
A footnotes-file could look like this:
>>> 1 <<<
1st footnote of the 1st page
The text is up to the user.
*** This is a footnote, too.
abc This is the last footnote of the 1st page.
>>> 2 <<<
This is the only footnote of page 2.
>>> 4 <<<
Page 3 did not have any footnotes.
123 But the 4th page has got two.
'>>>
footnotes of a page. During the print-out footnotes
are dominant, i.e. the lines of a page, which would
intersect the footnotes, are not printed. If the
paper-length is set to 72 lines, the line spacing to
1/6 inch, the footnote line spacing to 18/216 inch and
the page-length to 60 lines, you can print 3 footnotes
without any intersection. If you want to print 4, 5 or
more footnotes, you should leave the 60th, 59th, ...
line of the page empty. Two lines of footnotes
correspond to one real line. Normally a footnote
corresponds to an index set in the page above. It is
left up to the user to set those indices. Printing
footnotes is much easier than it seems to be at first
sight. For better understanding take a look at the
example-files.
[0;1mxii) serial letter:[0m
In coherence to the printing of footnotes a window
is opened and the serial letter file is loaded before
the print-out, if serial letters are to be printed.
Again a window is only opened, if a window with the
name of the serial letter file does not exist.
The print-out of serial letters works this way:
Whenever TP encounters this character '[33;41mS[0m' (--> 6.
f)) [0mduring the print-out, the next line of the serial
letter file is printed. After that the printing of the
main file is continued. You can use this function to
easily print letters, the only difference of which is
for example the address.
If after finishing a print-out TP has not reached
the last line of the serial letter file, TP assumes,
that another print-out should take place. If for
example a file contains five [33;41mS[0m and the serial letter
file is [0mlonger than five lines, TP carries on
printing. It is the user's task to make the number of
[33;41mS[0m correspond to the number of lines of the serial
letter file.
For better understanding see the example files.
[0;1mxiii) the print-out:[0m
After the print-requester has been left another one
pops up, which asks you whether you want to skip or
print the current page or print all pages. The last
function is very useful for printing serial letters.
In case of an error it is possible to print the
current line again or to abort printing.
If the data to be printed are sent to the
printer.device, the directory devs:printers must
contain the printer-handler selected in 'preferences'.
[0;1ml) Iconify[0m
The current window is iconified and opened on either
the Workbench or the TextPlus-screen. The latter takes
place if there is at least one uniconified window besides
the current one left over on the TextPlus-screen. Closing
down the TextPlus-screen is very useful for memory
hungry multitaskers, because 42 KB of memory are returned
to the system.
Clicking the menu-button uniconifies the current
window. If the TextPlus-screen is closed, you can also
return to it by pressing the hotkey. Default values are
Left + Right Amiga and Y (--> 2. a) i)).
[0;1mm) Colors[0m
Here you can change the colors of the TextPlus-
screen. You can also set the default colors in the
configuration-file.
[0;1mn) Help[0m
The keymap of TP is displayed.
[0;1mo) About[0m
Informations 'bout the guy, who started all the
trouble.
[0;1mp) Quit[0m
The current window is closed and if this window was
the last one to be open, TP quits. In order to make
everybody believe that TP frees all allocated memory, I
have included the utility [0;1mFlush[0m, which removes all unused
memory resident libraries. Invoke it and you will see
that TP did not steal any memory.
[0;1m5. Block[0m
[0;1ma) Block[0m
[0;1mi) Mark[0m
Depending on the mark-mode a block can be marked
LINewise, WORdwise or BLocKwise. The marked characters
are displayed in reversed colors. The state of the
block-mode, which can be left by invoking 'Delete
marks' or 'Delete block', is indicated by the word
'BLO' above the ruler.
[0;1mii) Copy[0m
Copy the marked block to the cursor's current
position. You can also copy a block by doubleclicking
the left mouse button.
[0;1miii) Move[0m
Move the marked block to the current position of
the cursor. (mouse equivalent: ctrl-doubleclick)
[0;1miv) Paste[0m
Paste the marked block to the current position of
the cursor. The difference between 'Copy' and 'Paste'
is that 'Copy' inserts the block into the text and
'Paste' pastes over the text.
[0;1mv) Delete block[0m
The marked block is deleted. (shift-doubleclick)
[0;1mvi) Load block[0m
A normal file is inserted into the text at the
current position of the cursor. The way the file is
inserted depends on the mark-mode.
[0;1mvii) Save block[0m
The marked block is saved to disk.
[0;1mviii) Print[0m
The print-out takes place as described above (--> 4.
k)). The 'from page' and 'to page' gadgets have no
meaning.
[0;1mb) Delete marks[0m
Clear the block markers for the current window.
(alt-doubleclick)
[0;1mc) Block <--> TP.tmp[0m
If a block is markekd it is saved as 'TP.tmp' to the
directory defined in the configuration file (default:
RAM:). If no block is marked TP.tmp is loaded and
inserted into the text. This is an easy way to exchange
blocks between windows.
[0;1md) Mark-mode[0m
Mark blocks WORdwise, LINewise or BLocKwise.
[0;1m6. Prefs[0m
[0;1ma) Prefs[0m
[0;1mi) Insert-mode[0m
The insert-mode is either switched on or off. If
switched on it is indicated by the word 'INS' above
the ruler. Characters are inserted in the already
existing text and do not overwrite the text.
[0;1mii) Letter-mode[0m
Set letter-mode to LETter, ANSi or ASCii. Its only
purpose is to determine how a file is to be saved.
(--> 4. h) Save ).
[0;1miii) Auto-div-mode[0m
Text Plus was originally designed to be a German
word-processor. Due to the occurrence of ultra-long
words in German a function called Auto-Div which
divides ultra-long words in accordance with German
grammar has been provided in order to decrease the
number of ultra-long gaps in the text. Auto-Div
divides English words in accordance with German
grammar, too. This is why you better keep it switched
off. If there is someone who wants TP to divide
English words according to English grammar then don't
hesitate to send me first the share and then the rules
of English grammar. If Auto-Div is switched on and if
a block is marked and then formatted (left/right-
aligned, centered, justification), words which are too
long for the respective line are divided in order to
avoid large gaps. Auto-Div is not perfect. This is why
you should always check the division. Words divided
by TP end with this dash '' and only this dash is
accepted by TP as indicator for a division in case of
reformatting.
[0;1miv) Backup-mode[0m
If switched on TP checks the disk for the same
filename you want to save. Providing the file exists
the suffix '.bak' is added to this file in order to
protect it from being overwritten.
[0;1mb) Text-width[0m
The width must range between 10 and 255. If a block
has been marked, it is formatted according to the new
width. The text-width is relative to the left edge.
Reformatting requires the mark-mode to be set to
LINewise.
[0;1mc) Left edge[0m
The left edge must range between 1 and 145. If a block
has been marked, it is formatted according to the new
left edge, provided the mark-mode is set to LINewise.
[0;1md) Indent block[0m
If a block is formatted, its first line is indented
automatically by the number of columns entered into the
'Indent Block' gadget. (--> b) c); 7. b) Justify). This
paragraph for example has been indented by 3 columns. The
'indent block' value must range between 0 and the half of
the text-width.
[0;1me) Page-length[0m
The page-length must range within 10 and 255.
[0;1mf) S-mark[0m
The character '[33;41mS[0m' is inserted into the text. Its only
purpose is to control the print-out of serial letters.
(--> 4. k) xii))
[0;1mg) Undo[0m
Undo the current line.
[0;1mh) Go to ...[0m
After the string which is to be searched for has been
entered, TP is searching for it at the beginning of every
line and only finds the string if it starts in the first
column. This routine is quite useful for C-programmers,
because one can find modules, e.g. main() , very fast
especially in long sourcecodes.
[0;1mi) Go to line x[0m
TP jumps to line x. This routine, too, is useful for
programmers, because compilers tell the user the line in
which an error has occurred.
[0;1mj) Interlace[0m
Toggle interlaced/non-interlaced display. All windows
except the current window are iconified.
[0;1m7. Style[0m
[0;1ma) Style[0m
The new style is set, and if a block has been marked,
it is displayed in the new style.
[0;1mb) Justify[0m
The current line is formatted according to the new
alignment, or if a block has been marked, the block is
formatted provided that the mark-mode is set to
LINewise.
[0;1mc) Color[0m
The drawing colors are set to type 1, 2, 3, 4 or
normal. If a block has been marked, it is displayed in
the new colors.
[0;1m8. Find[0m
[0;1m a) Find (next/previous)[0m
After the search pattern has been entered, TP starts
to search for it at the cursor's current position. If TP
finds the search pattern, the cursor is placed at the
beginning of the respective word. [0;1mNext [0mand [0;1mPrev [0mcause TP
to search for the next/previous occurrence of the search
pattern.
[0;1mb) Replace (next/previous)[0m
If the search pattern is found, the user is asked
whether he wants to replace it by the replace pattern or
not. If 'Continuous' is switched on, TP continues
replacing till the end of file.
[0;1mNext [0mand [0;1mPrev [0mcause TP to find next/previous occur-
rence of the search pattern and replace it by the replace
pattern.
The switches 'Continuous' and 'Casesensitive' can be
set in the configuration-file.
[0;1m9. Clock[0m
[0;1ma) Clock[0m
Change the clock display. (--> configuration-file)
[0;1mb) Date[0m
The current date is inserted into the text.
[0;1mc) Auto-Save[0m
Whenever the time interval elapses (0 to 60 minutes,
0 = OFF), the respective file is saved automatically
under its current name.
If Auto-Save is switched on, it is displayed above the
ruler ('ASA'). Auto-Save might be switched on in every
window using different time intervals. Both Auto-Save and
the clock need the TextPlus-Handler in order to work
properly.
[0;1m10. The ARexx-port of TextPlus[0m
ARexx is an implementation of the programming language
Rexx and has been ported to the Amiga by Bill Hawes. ARexx
distinguishes itself from other languages by its powerful
command interface, i.e. ARexx programs can issue commands to
external programs that provide a suitable command interface.
Since V3.0 TextPlus has an ARexx-interface and provides
120 different commands, listed in the file TPE-ARexx.doc.
The hostname of TP is 'TextPlus'.
The rexxsys.library, part of the ARexx distribution
packet, must be in the libs: directory, if you want to make
use of the ARexx-port of TextPlus.
By pressing 'Esc' you get into the command line.
ARexx macros for TP may be invoked in two ways:
- Implicitly, by specifying the name of a macro on TP's
command line, followed by any arguments to be passed to the
macro.
The macro name must not be the same as an internal TP
command.
Note that the entire command string is passed to the
ARexx interperter "as is", with the case of any arguments,
special characters, etc. being preserved.
- By hitting a function key or choosing a menu item of the
'Extern' menu.
The implicit form of a macro command line, with any
arguments, may be mapped to a key or a menu item.
If a function key is pressed when in command line mode
the command mapped to the function key is not executed but
displayed in the command line.
ARexx macros for TP should be given the filename
extension '.tpl'.
Furthermore they must reside in the current directory, or
the directory 'rexx:' is assigned to. The current directory
is searched first, followed by the "rexx:" directory.
[0;1mAPPENDIX[0m
[0;1mAPPENDIX A Keymap and shortcuts[0m
CONTROL -b mark begin/end of Block
-d Delete mark
-f change mark-mode
-c/p/m/x Copy/Paste/Move/delete block
-j block <--> tp.tmp
-a/e/k Auto-div/insErt/bacKup-mode on/off
-r change letteR-mode
-o indent the first line of the marked blOck
-g Go to ...
-l go to Line x
-y set left edge
-s set page length
-t display length and end of Text
-u Undo
-z insert date
-v auto-saVe
-q save file and close window/quit
-w new Window
-n load file & New window
SHIFT-DEL delete line
SHIFT-CR insert last deleted line
CTRL -BS/DEL delete begin/rest of line
ALT -BS/DEL delete previous/next word
SHIFT-BS delete all spaces until reaching end of
line
ALT -TAB move line to next tab-stop or - if a block
has been marked - move block to next tab-
stop
CTRL -TAB delete line to previous tab-stop or move
block to previous tab-stop
ESC toggle command-line-mode
SHIFT-ALT-CRSR-U/D go to begin/end of the marked block
SHIFT-CRSR-UP/DOWN jump one screen up/down
ALT -CRSR-UP/DOWN jump to begin/end of file
CTRL -CRSR-UP/DOWN jump to begin of the previous/next
page
SHIFT-ALT-CRSR-L/R jump to begin/end of line
SHIFT-CRSR-LFT/RGT same, but won't stop at the end of
the screen.
ALT -CRSR-LFT/RGT jump to begin of the previous/next
word
CTRL -CRSR-LFT/RGT move block left/right
RIGHT-AMIGA -g/a/d load/Append/Delete file
-w/s save/Save as ...
-x save & quit
-p Print
-y iconifY
-q quit
-k/m/z load/save/print block
-t set text width
-5 insert serial letter mark
-n/u/b/i style: Normal/Underlined/Bold/
Italic
-l/e/c/j justify Left/right, Center, Justi-
fication
-0/9/8/7/6 Color: normal/one/two/three/four
-f/1/2 Find / next / previous
-r/3/4 Replace / next / previous
[0;1mAPPENDIX B command-sequences of the printer.device[0m
For those who don't know the command-sequences of the
printer.device, but want to print via prt:
27/99 reset
27/35/49 initialize
27/68 linefeed
27/69 carriage return, linefeed
27/77 reverse linefeed
27/91/48/109 normal char set
27/91/51/109 italics on
27/91/50/51/109 italics off
27/91/52/109 underline on
27/91/50/52/109 underline off
27/91/49/109 boldface on
27/91/50/50/109 boldface off
27/91/48/87 normal pitch
27/91/50/87 elite on
27/91/49/87 elite off
27/91/52/87 condensed fine on
27/91/51/87 condensed fine off
27/91/54/87 enlarged on
27/91/53/87 enlarged off
27/91/54/34/122 shadow print on
27/91/53/34/122 shadow print off
27/91/52/34/122 doublestrike on
27/91/51/34/122 doublestrike off
27/91/50/34/122 NLQ on
27/91/49/34/122 NLQ off
27/91/50/118 superscript on
27/91/49/118 superscript off
27/91/52/118 subscript on
27/91/51/118 subscript off
27/91/48/118 normalize the line
27/76 partial line up
27/75 partial line down
27/40/66 US char set
27/40/82 French c
27/40/75 German char set
27/40/65 English char set
27/40/69 Danish char set I
27/40/72 Swedih char set
27/40/89 Italian char set
27/40/90 Spanish char set
27/40/74 Japanese char set
27/40/54 Norwegian char set
27/40/67 Danish char set II
27/91/50/112 proportional print on
27/91/49/112 proportional print off
27/91/n/32/69 set spacing for proportional print
27/91/53/32/70 justify left
27/91/55/32/70 justify right
27/91/54/32/70 center
27/91/48/32/70 switch justification off
27/91/51/32/70 set spacing for justification
27/91/49/32/70 justification
27/91/48/122 1/8 inch spacing
27/91/49/122 1/6 inch spacing
27/91/n/116 paper length n lines
27/35/57 set left margin
27/35/48 set right margin
27/35/56 set top margin
27/35/50 set bottom margin
27/91/xx/59/yy/114 set top and bottom margin
27/91/xx/59/yy/115 set left and right margin
27/35/51 delete margins
27/72 set horizontal tabulator
27/74 set vertical tabulator
27/91/48/103 clear horizontal tabulator
27/91/51/103 clear all horizontal tabulators
27/91/49/103 clear vertical tabulator
27/91/52/103 clear all vertical tabulators
27/35/52 clear all tabulators
27/35/53 set tabulators
[0;1mREGISTER[0m
[0;1mA[0mbout ................................................... 13
[0m Acknowledgements ........................................ 4
[0mAppend .................................................. 9
ARexx ................................................... 17
Auto-Div-mode ........................................... 15
Auto-Save ............................................... 17
[0;1mB[0mackup-mode ............................................. 15
Block <--> TP.tmp ....................................... 14
Bold .................................................... 16
[0;1mC[0masesensitive ........................................... 17
Center .................................................. 16
Character translation chart[0m ............................. 8
[0mClock ................................................... 17
[0mColor-Codes ............................................. 8
Color 1-4 on/off ........................................ 11
Color ................................................... 16
Colors .................................................. 13
Command sequences of the printer.device ................. 21
[0mCondensed ............................................... 10
Continuous .............................................. 17
Copy, block ............................................. 13
[0;1mD[0mate .................................................... 17
Delete, block ........................................... 14
Delete, marks ........................................... 14
Delete, file ............................................ 10
[0;1mE[0mdge, left .............................................. 17
Elite ................................................... 10
Extern-menu ............................................. 7
[0;1mF[0mind .................................................... 1[0;1m7[0m
Footnotes ............................................... 1[0;1m1[0m
Footnotes-code .......................................... 8
Formfeed ................................................ 1[0;1m1[0m
Function keys, mapping of ............................... 7
[0;1mG[0mo to ................................................... 16
Go to line x ............................................ 16
[0;1mH[0melp .................................................... 13
Hotkey qualifier and code ............................... 6
[0;1mI[0mconify ................................................. 13
Indent, block ........................................... 15
[0mInsert-mode ............................................. 14
Installation ............................................ 5
Interlace ............................................... 16
Italics ................................................. 16
[0;1mJ[0mustification ........................................... 16
Justify ................................................. 16
[0;1mK[0meymap .................................................. 19
[0;1mL[0meft, justify ........................................... 16
Letter-mode ............................................. 15
Linefeed-code ........................................... 8
Lines, numbering of ..................................... 11
[0mLoad TxP.Config ......................................... 10
Load TxP.Printer ........................................ 10
Load .................................................... 9
Load, block ............................................. 14
Load & new window ....................................... 10
[0;1mM[0margin, left and right .................................. 11
[0mMark, block ............................................. 13
Mark-mode ............................................... 14
[0mMove, block.............................................. 14
[0;1mN[0mLQ ..................................................... 10
Normal .................................................. 16
[0;1mP[0mage, from and to ....................................... 10
Page length ............................................. 16
Pages, numbering of ..................................... 11
[0mPaper length ............................................ 11
Par: / Prt: ............................................. 11
[0mPaste, block ............................................ 14
Pica .................................................... 10
Printer.device .......................................... 21
Print-out ............................................... 12
Print, block ............................................ 14
Print, file ............................................. 10
Proportional ............................................ 11
[0;1mQ[0muit .................................................... 13
[0;1mR[0meplace ................................................. 17
Right, justify .......................................... 17
[0;1mS[0m-mark .................................................. 16
Save, block ............................................. 14
Save, file .............................................. 10
Save as ................................................. 10
Save and quit ........................................... 10
Serial letters .......................................... 12
Start ................................................... 6
Style ................................................... 16
[0;1mT[0mext-width .............................................. 15
TxP.Config .............................................. 6
TxP.Printer ............................................. 7
[0;1mU[0mnderline ............................................... 16
Undo .................................................... 16
[0;1mW[0mhat is TextPlus? ....................................... 4
Window, new ............................................. 9
IS THIS THE END OF THE DOC-FILE! OH, YES!
Aachen, 07.04.91
Martin
[0m[1 p