fmbedit(1)

NAME
fmbedit - the FEddi Message Reader

SYNOPSIS
fmbedit [--config|-c FILE]

DESCRIPTION
fmbedit is a message reader/editor for the FEddi-msgbase-format.

Online help is everywhere available with 'M-h'. Press first-menu-char (g, f, m or h) to activate pull-up :-) menus.

All other functions should explain themself (I think so :-).

Status information goes to the LogFile.

ADDRESSES
You can enter the destination address in various ways:

PGUP/PGDOWN
    to scroll through the history (the names file)

NAME
    to enter a name directly. In the NETMAIL folder you will also be asked for the address of this name through a nodelist-lookup.

NAME,ADDRESS[,SUBJECT[,FLAGS]]
    to give name and address directly. The address must be in valid 4D format. Missing leading parts will be replaced by your current address (see top line). Sample valid addresses: '.103', '100', '2451/99', '1:234/56.78'.

*SHORTCUT
    will get a line from the names file.

!GROUP
    will select a cc-group from the groups file (works only in NETMAIL).

!   enter temporary group.

TEMPLATES
Templates are standard messages. fmbedit will first search the actual area-path for 'template', then the MSGBASEPATH and after that will use no template. Following commands will be regocnized:

##  inserts a '#'.

#;  comment (first in line only)

#d / #D
    original/actual Date

#t / #t
    original/actual time

#[1|2]e / #[1|2]E
    original/actual Time (1==firstname, 2==lastname; eg #2t results in the original lastname of the msg-addressee)

#[1|2]f / #[1|2]F
    original/actual From (1==firstname, 2==lastname)

#s / #S
    original/actual Subject

#a / #A
    original/actual Area

#.  place cursor here (only internal editor)

#text
    put original text here (only usefull if reply or forward)

#quote
    put original text here but quote it with initials

#cross
    put crosspost info here

#|COMMAND
    execute COMMAND onto messagetext after editing (COMMAND should get the text from stdin on give it through stdout back)

#if [from|to|subj|mode|area|group] string
    If string matches (regular expression) the specified field of current message (mode can be 'new', 'reply', 'netreply', 'forward', 'crosspost' or 'cc') the following lines up to the next #else or #endif will be inserted. In case of from or to the matching string will consist of the name plus the address in bracets.

#else
    insert following lines up to the next #endif, if the previous #if is false (only in conjunction with a previous #if).

#endif
    terminate previous #if/#else sequence.

#include FILE
    include template from FILE..

NAMES
names is a shortcut-file. Each line is interpreted as a address which will be put into the history of the change-To function. The syntax of each line is: [*SHORTCUT,] NAME, 4D-ADDRESS [, SUBJECT [, FLAGS]]. Use PGUP/DOWN to scroll through history or type in your shortcut to get a specific address. The FLAGS use the following syntax: [pr|cr|rc|se|fa|it|or|ks|lo|hp|fr|rr|ir|ar|fu]+ . (pr=private, cr=crash, rc=received, se=sent, fa=fileattached, it=intransit, or=orphan, ks=kill/sent, lo=local, hp=hold, fr=filerequest, rr=returnreceiptrequest, ir=isreceipt, ar=auditrequest, fu=fileupdaterequest)

GROUPS
groups contains shortcutgroups. Each group must start with the name of the group. The first char of the groupname MUST be a '!'. The following lines will be interpreted as in the names file.

ORIGINLINES
fmbedit search for 'origin' as for templates. A random line will be used. Each line is one origin (long lines will be truncated because origins are limited to 79 chars).

ALIAS
fmbedit search for alias as for templates. The change-From function will use the specified names as history. Each line will be interpreted as one Alias (max. 35 chars).

UTILITIES
fmbedit reads the file 'utility' at startup time. The definitions for the utilities in the call-utility (M-u) function will be derived from this file. fmbedit expands COMMANDLINE with the UTILITYPATH (see feddirc).

Format:
    NewUtility [M- | C-]a-zA-Z NAME DESCRIPTION COMMANDLINE [NeedsHeader | NeedsText | NeedsKludges | NeedsScreen | NeedsMsgBase | NeedsArea | ReturnsHeader | ReturnsText | ReturnsStatus | ReturnsLog | ChangesAreas]* EndUtility

TEXTEDIT MACROS
Textedit will read the macros file for macros. Each macro consists of two lines first the description and second the macro. If the description has a '#' as first char and a digit as second (and a newline behind it) the macro will be treated as shortcut and the digit as the shortcut key.

FILES

FEDDISRC/config/
    see this path for various sample-files.

~/.feddirc
    for PATHS and PROFILE

MSGBASEPATH/names
    TO - shortcuts

MSGBASEPATH/groups
    the group file

MSGBASEPATH/areas
    areas and comments

MSGBASEPATH/[+area/]template
    template-file

MSGBASEPATH/[+area/]origin
    originline-files (random)

MSGBASEPATH/[+area/]alias
    alias-files

MSGBASEPATH/magic
    standard magics for request (defaults to 'FILES')

MSGBASEPATH/utility
    file with utility definitions

MSGBASEPATH/macros
    file with macros for textedit

SEE ALSO
fscan(1), ftoss(1), futility(1), fnlc(1), feddirc(1)

AUTHOR
Oliver Graf.