home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
internet
/
fidomail_1
/
!FidoMail
/
Dox
/
Summary
< prev
next >
Wrap
Text File
|
1993-08-10
|
3KB
|
61 lines
Customising the Summary window
------------------------------
It is possible to make the summary window show other things than the default
contents. This has to be done using a template editor (eg. FormEd), and I will
assume you're able to use that program.
There are certain rules about the window:
* The icons must be numbered from 0 upwards, with _no_ missing icon numbers.
* Somewhere you must have an indirected icon containing the word 'Areas'. I'll
call this icons number 'A'.
* The icons from 0 to A-1 can be anything.
* The icons from A to the last one will be replicated downwards with a line per
area. Therefore, it will look best if they are vertically aligned.
* The icons from A+1 to the last one will contain the numbers. These must be
indirected as well, and should contain special strings which are described
below.
* You can have 1 to 16 number-icons per area.
* The height of the window is adjusted according to the number of areas, but
the width and position will remain as defined with FormEd.
When the window is rearranged by FidoMail, this is what happens:
The line of icons A to the last is copied downwards.
The A icon will contain the area names. The allocated size of the indirected
data should be at least 32 bytes.
The rest of the icons should at least have an 8 byte buffer, and contain 0 or
more characters from the following list. These will then control how the number
is calculated. The mechanism is similar to that of the weed-types.
If the charater is present, the corresponding attribute (flag) will be checked,
and if all of the checked flags match the required value, the message will be
included in the sum. Don't panic, there's some examples below. :-)
F = Found f = Not found
C = Crashmail c = Normal message
R = Read r = Never read
S = Sent s = Not sent
P = Personal p = Not personal
M = Marked m = Not marked
N = New n = Old
So, if you want an icon to contain the number of new messages, you write 'N' in
it.
More examples:
Unread and personal messages: 'rP'
All messages: ''
Old, marked and personal mail: 'nMP'
Mail waiting to be sent: 's'
Found mail which hasn't been read: 'Fr'
And so on...
There is one special character: '0'
If a 0 is present in the icon text, the background colour of the icon will
change to red when the number in the icon is non-zero.
Note, that it is (currently) impossible to have an icon showing eg.
"Personal OR Marked" mail. You can get as far as "Not Personal AND not Marked",
('pm') showing the opposite.