xref: /freebsd/contrib/dialog/samples/copifuncs/copi.ifmcfg2 (revision a96ef4501919d7ac08e94e98dc34b0bdd744802b)
1f4f33ea0SBaptiste Daroussin# Transport programs for mail and news, used by iftoss
2f4f33ea0SBaptiste Daroussinsendmail /usr/lib/sendmail -f $F $T
3f4f33ea0SBaptiste Daroussinrnews  /usr/lib/news/rnews
4f4f33ea0SBaptiste Daroussin
5f4f33ea0SBaptiste Daroussin# Unpackers, used by ifunpack.
6f4f33ea0SBaptiste Daroussin# $F expands to archieve file name
7f4f33ea0SBaptiste Daroussinunzip  /usr/bin/unzip -oq $F
8f4f33ea0SBaptiste Daroussinunarj  /usr/bin/unarj e $F
9f4f33ea0SBaptiste Daroussin#unarc  /usr/bin/unpack $F
10f4f33ea0SBaptiste Daroussinunzoo  /usr/bin/zoo -extract $F
11f4f33ea0SBaptiste Daroussinunlzh  /usr/bin/lharc -x $F
12f4f33ea0SBaptiste Daroussin
13f4f33ea0SBaptiste Daroussin# Packer program, used by ifpack
14f4f33ea0SBaptiste Daroussin# $F expands to archieve file name, $P - to list of packet names
15f4f33ea0SBaptiste Daroussinpacker  /usr/bin/zip $F $P
16f4f33ea0SBaptiste Daroussin
17f4f33ea0SBaptiste Daroussin# Maximum arcmail file size, will start new arcmail file if exceeds
18f4f33ea0SBaptiste Daroussinmaxfsize 65000
19f4f33ea0SBaptiste Daroussin
20*a96ef450SBaptiste Daroussin# Maximum packet size, ifmail/ifnews will start new packet if exceeds.
21f4f33ea0SBaptiste Daroussin# .out files are NOT created if nonzero specified, you must run ifpack
22f4f33ea0SBaptiste Daroussin# to make packets out. (unimplemented)
23f4f33ea0SBaptiste Daroussinmaxpsize    65000
24f4f33ea0SBaptiste Daroussin
25f4f33ea0SBaptiste Daroussin# cnews log file and (temporary) database for seen-bys
26f4f33ea0SBaptiste Daroussinnewslog  /usr/lib/news/log
27f4f33ea0SBaptiste Daroussinmsgidbm  /tmp/ifmsgids
28f4f33ea0SBaptiste Daroussin
29f4f33ea0SBaptiste Daroussin# From this line on, values may be prefixed by a logical expression in
30f4f33ea0SBaptiste Daroussin# round brackets. Operators are: '!', '&', '|', 'Xor'.
31f4f33ea0SBaptiste Daroussin# Possible elements are:
32f4f33ea0SBaptiste Daroussin# - Nodelist flags (like "CM", "MNP", "V32" etc.)
33f4f33ea0SBaptiste Daroussin# - speed <operator> <numeric>
34f4f33ea0SBaptiste Daroussin#         where <operator> is '=', '!=', '<', '>', '<=', '>='
35f4f33ea0SBaptiste Daroussin# - address <wildcard>
36f4f33ea0SBaptiste Daroussin#         where <wildcard> is an (possibly incomplete) fidonet address,
37f4f33ea0SBaptiste Daroussin#         e.g. "5020/*"
38f4f33ea0SBaptiste Daroussin# - time <interval>[,<interval>,...]
39f4f33ea0SBaptiste Daroussin#         where <interval> is a day spec. with optional time spec., e.g.
40f4f33ea0SBaptiste Daroussin#         Wk2000-0900,Sat1800-0000,Sun
41f4f33ea0SBaptiste Daroussin# - phone <prefix>
42f4f33ea0SBaptiste Daroussin#         e.g. "phone 7-095-"
43f4f33ea0SBaptiste Daroussin
44f4f33ea0SBaptiste Daroussin# Dialing parameters
45f4f33ea0SBaptiste Daroussin# of multiple "ModemPort", "ModemReset", "ModemDial", "ModemHangup" lines,
46f4f33ea0SBaptiste Daroussin# first matching is used.
47f4f33ea0SBaptiste Daroussin# of multiple "PhoneTrans", "ModemConnect", "ModemError" lines, all matching
48f4f33ea0SBaptiste Daroussin# are used.
49f4f33ea0SBaptiste Daroussin# In send and expect strings, following substitutions are made:
50f4f33ea0SBaptiste Daroussin# \\ '\' character
51f4f33ea0SBaptiste Daroussin# \r carriage return (0x0d)
52f4f33ea0SBaptiste Daroussin# \n new line (0x0a)
53f4f33ea0SBaptiste Daroussin# \t tab (0x09)
54f4f33ea0SBaptiste Daroussin# \b backspace (0x08)
55f4f33ea0SBaptiste Daroussin# \s space (0x20)
56f4f33ea0SBaptiste Daroussin# \NNN (where N is an octal digit) - character with octal code NNN
57f4f33ea0SBaptiste Daroussin# \d 1 second delay (send strings only)
58f4f33ea0SBaptiste Daroussin# \p 1/4 second pause (send strings only)
59f4f33ea0SBaptiste Daroussin# \T translated telephone no. (send strings only)
60f4f33ea0SBaptiste Daroussin# \D untranslated telephone no. (send strings only)
61f4f33ea0SBaptiste Daroussin
62f4f33ea0SBaptiste Daroussin# ModemPort present a blank-separated list of ports with possible speed
63*a96ef450SBaptiste Daroussin# extension (separated by colon); if speed is prefixed with 'L', it is
64f4f33ea0SBaptiste Daroussin# a "locked" port speed, otherwise it is a maximum speed to be set, while
65f4f33ea0SBaptiste Daroussin# actual speed is taken from the nodelist.  If speed is omitted (or set
66f4f33ea0SBaptiste Daroussin# to zero), previous port speed is not changed.
67f4f33ea0SBaptiste Daroussin#ModemPort (time Any0000-0900,Sat,Sun) ttyS0
68f4f33ea0SBaptiste Daroussin#ModemPort cua0:L38400
69