home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 2
/
crawlyvol2.bin
/
apps
/
telecomm
/
o_026
/
maus
/
omaus.inf
< prev
next >
Wrap
Text File
|
1994-11-11
|
20KB
|
607 lines
## @(#)omaus.inf Rev. 0.27 - September 6, 1994
Configuration file for Okami Newsreader
* Special Version for O Goes Mausnet *
This is the primary configuration file for all O programs.
Lines beginning with `#' and blank lines are comment lines.
Lines beginning with `##' begin and end comment blocks.
Command lines have the form
variable=value
values are taken literally, i.e. the value begins after the `='
and ends at the end of the line. Whitespace at end of `value'
and at the beginning of `variable' are ignored.
Some variables can be set by env variables; if they are the
env variables have priority over the settings in the conf file.
Some variables are numeric; if they are binary then 0 is false
and 1 is true.
Paths and filenames should be given as full names including
drive and directory specification. Use `.' to refer to the
current directory, not an empty string. Note that the current
directory might change while O is running, so it's best to
use absolute path names whereever possible.
In all string variables, the following substitutions will take place:
$ABC the value of env var ABC
$(ABC) dito
~ the home directory of user $LOGNAME
~() dito
~xyz the home directory of user xyz
~(xyz) dito
^$ a dollar sign
^~ a tilde
These allow you to use environment variables to set up O from
outside even for those variables that are not originally bound
to an environment variable.
Note: O provides default values for all variables, but they
might not be useful on your system. The O programs will run
even if the conf file cannot be found or is not readable, but
a warning will be given.
If you wish to shorten the programs' initialisation time, use
an editor to remove all comment blocks from this file. Be sure
to keep a copy of the original. (won't make it much faster btw)
##
#------------- SETTINGS FOR ALL PROGRAMS -------------------
# Create an own desktop (0 or 1)
# If the following is set to 0 then the newsreader will create an own
# desktop with its beautiful logo on it. If you are using MTOS or for
# some other reasons don't want to see the logo, set to 1.
# --- Veränderung bei Erstinstallation nicht notwendig ---
nodesk=0
# Directory for log files (a directory)
# Each O program has an own log file, e.g. `logdir'\oimport for
# oimport.ttp. If `logdir' is a blank string then no logs are
# created. Could be set to the usr\adm directory where mercury
# and Hermes store log files, or a directory on a ramdisk if you
# don't wish to keep log files. Might be set to u:\dev\null when MiNT
# is in use.
# See also: `loglevel' below.
#
logdir=\o\log
# log level - a number
# --- Veränderung bei Erstinstallation nicht notwendig ---
# This is the log level for all programs, determining what information
# is to be written into the log files. Possible values are:
#
# -1 no logging
# 0 normal logging (begin and end of programs etc.)
# others reserved & usually undefined
#
loglevel=0
# Base directory for news file tree - env var NEWSDIR
# This directory must contain the newsgroups directory hierarchy.
# E.g., if newsdir is `h:\usr\news', then the news files of
# newsgroup comp.sys.atari.st must be in the directory
# `h:\usr\news\comp\sys\atari\st'.
#
newsdir=\o\msgbase
# Mercury's news.def file - should be <newsdir>\news.def but may
# be different.
#
merc.newsdef=\o\msgbase\news.def
# User list and passwort file (a file name)
# O uses this file to get a list of all users and their home
# directories. Mail will only be imported for a specific user
# if his name is in this file.
# This file must follow the Unix and Hermes conventions for the
# /etc/passwd file.
#
etcpasswd=\o\maus\passwd
# Message Queue directory - env var MQUEUE
# --- unbenutzt fürs Mausnetz ---
#
mqueuedir=
# Temp directory (should be ramdisk) - env var TEMP
# Used for temporary files, e.g. for editor calls. You should
# certainly not set this to u:\dev\null.
# If you want to use a different env variable for this, e.g. TMP,
# just say:
# tmp=$TMP
# or whatever you like.
#
tmp=$TMP
# UUCP configuration:
# --- unbenutzt fürs Mausnetz ---
#
site=
domain=
organization=
xheader=
# time zone (a string) - env var TIMEZONE
# --- unbenutzt fürs Mausnetz ---
# This string is used as the time zone in Date: lines created for
# outgoing messages. Set it to MEZ or +0000 or $TIMEZONE or whatever
# your mailer software understands.
#
timezone=MEZ
# alias file (a filename)
# This file is used to resolve alias names in adresses when sending msgs.
# It may contain comment lines beginning with `#'. If a line ends with
# a `\' then it continues on the next line.
# Lines begin with the name to be substituted, and a list of values,
# seperated by whitespace, that are to be substituted. If the values
# contain whitespace then they must be surrounded by "s. Substitution
# is done recursively, e.g.:
#
# wr wr@bara.oche.de
# okami wr
#
# would replace "okami" by "wr@bara.oche.de". Precede a value with a `\'
# to avoid further substition:
#
# okami2 \wr
#
# in the above file woult replace "okami2" with "wr".
# Recursive substitution may go up to 32 levels deep (this limit is
# set only to allow detection of infinite recursion).
# Set to an empty string if you don't want alias substitution.
#
alias=\o\alias
# Enabled/disable crosspost handling.
# See documentation for details.
# Possible values: `0' crosspost handling off, `1' on.
handle.xposts=0
#------------ SETTINGS FOR O NEWSREADER -------------------
# Advance msg to first non-header line (0 or 1)
# --- Veränderung bei Erstinstallation nicht notwendig ---
# If 1, skips the msg header when displaying msgs, so display starts
# with the first non-header line (the line following the first blank
# line). If 0, displays msgs from the beginning of the msg file.
#
advmsg=1
# Position of click button line (0, 1 or 2)
# --- Veränderung bei Erstinstallation nicht notwendig ---
# This sets the position of the buttons in msg windows:
#
# 0 no buttons
# 1 last line (default)
# 2 first line
#
buttons=2
# Umlaut transformation mode (0, 1 or 2)
# --- unbenutzt für Mausnetz ---
umlaut=1
# Which groups shall be displayed (0, 1 or 2)
# --- Veränderung bei Erstinstallation nicht notwendig ---
# Determines which groups will displayed in die groups menu.
# Possible values are:
#
# 0: (new) only groups with unread msgs
# 1: (any) only groups with any msgs at all (no empty groups)
# 2: (all) all groups
#
# In () are the corresponding switches of the O setup panel.
#
dispgrps=1
# Groups that shall not be displayed (string array)
# --- Veränderung bei Erstinstallation nicht notwendig ---
# Groups that match any of the wildcard patterns in an `unsubscribe'
# statement will not be displayed in the groups menu. They can be
# opened by pressing Ctrl-N and typing the newsgroup name.
# Up to 256 `unsubscribe' statements can be given.
#
unsubscribe=Mail.*.archive
# Font configuration
# The following set up the GDOS fonts to use in the newsreader. There
# are 4 fonts to be used: for menu and for browser windows, for each a
# big and a small one. Usually, the big font is used, however if the
# text to be displayed would be longer than the screen the small font
# will be used.
# The syntax of the lines is: font size, whitespace, font name.
# The font name is what is displayed in O's font selection dialog (^L).
# O is quite smart when looking at the font names so they don't need
# a 100% match. Case is irrelevant.
# To use the normal system font, set to `10 6x6 system font'.
#
font.view.big=10 6x6 system font
font.view.small=10 6x6 system font
font.menu.big=10 6x6 system font
font.menu.small=8 Rufus
## Text attribute substitution
---- Veränderung bei Erstinstallation nicht notwendig ----
=== advanced users only ===
The following configuration sets up regular expressions that O
identifies and displays in alternative text attributes. For
example, you can make O display _this_ as the word "this" in
underlined, or print all quotes in a different color, etc.
Every `texteffect' line sets up one such pattern. The syntax is:
texteffect=eff color RE
Where:
`eff' is the text effect to display the matched text in.
`eff' is a bit array as in vst_effects; the bits mean:
bit 0 1 2 3 4 5
value 1 2 4 8 16 32
effect: bold bright skewed underl. hollow shadowed
If `eff' is <=0 then no special text effects are used.
`col' is the color to display the matched text in. It is
the color register number (>=0). If `col' is <0 then the
color is not changed.
`RE' is a regular expression. When O discovers a match to
this regular expression anywhere in a line of a displayed
msg, it switches to `eff' and `col' and displays all parts
of the text that are matched by parts of `RE' that are
surrounded by parantheses, discarding all text that is
matched by `RE' but not by a part surrounded in parantheses.
Sure you didn't understand this, here's an example:
texteffect=2 5 a(b)c(d)e
matches the string "abcde", displays the "bd" in bright
(effect 2) and color 5, discarding the a, c and e.
texteffect=4 2 (^>.*$)
matches whole lines that begin with `>' and prints them
skewed and in color 2. The entire RE is surrounded by
parantheses, thus the entire line is printed. Use this
to identify quotes.
texteffect=8 0 _([^_]*)_
matches any string surrounded by underscores and prints that
string (without the underscores) underlined.
There can be up to 256 `texteffect'-statements.
All this will work only if `texteffect.mode' is set to 1. If
`texteffect.mode' is 0 then the `texteffect' statements are
ignored and everything is displayed unchanged. Usually, you
will set `texteffect.mode' to 1 and bind the newsreader command
"set texteffect.mode" to a key so you can toggle text effect
substitution on and off in case msgs get messed up. In O's default
keymap.inf file, this command is bound to the E key.
##
# >quotes
texteffect=4 -1 ^((..)?>.*)
# _underlined_
texteffect=8 -1 _([^_]+)_
# /skewed/
texteffect=4 -1 /([^_]+)/
# *bold*
texteffect=1 -1 \*([^*]+)\*
texteffect.mode=1
## Text effects in group and message menus
---- Veränderung bei Erstinstallation nicht notwendig ----
The following settings determine the text effects for lines in
group and message menus. Every variable can be set to one of the
following values:
b bold
i italic
l light
u underlined
n normal (i.e. don't care)
Only the first letter of the variable value is relevant.
The variables are:
eff.grp.nonew for groups with no new messages
eff.grp.nounread for groups with no unread messages
eff.grp.new for groups with new messages
eff.grp.unread for groups with unread messages
eff.msg.unread for unread messages
eff.msg.new for new messages
eff.msg.killed for killed messages
##
eff.grp.nonew=light
eff.grp.nounread=light
eff.grp.new=normal
eff.grp.unread=normal
eff.msg.unread=bold
eff.msg.new=normal
eff.msg.killed=light
## Configuration for message menu
---- Veränderung bei Erstinstallation nicht notwendig ----
`msgmenu.fmt' is a format string determining how a message appears
in the message menu window.
It may contain the following format elements:
%a name of sender of message (as in index)
%s subject
%m marker for msg flags: + killed, o protected, hook answered
%n * for new msgs, : for non-new msgs
%% a percent sign
Each (except %%) may include an output length, e.g. %20s will print
the subject with 20 characters. Use this for column alignment.
##
msgmenu.fmt=%m %20f %n %s
## Configuration for msg display window title/info line
---- Veränderung bei Erstinstallation nicht notwendig ----
`msg.titel' is what's put in the window's title line when
displaying a msg.
`msg.info' is the same for the window's info line.
Both are format strings that may contain the following format
elements:
%a net adress of sender
%r real name of sender
%f sender name as in menu
%F One of: "To", "From", "For" depending on msg/group type
%s subject
%g newsgroup
%n number of comments (if >0, else nothing)
%t arrows that indicate threading
%d date and time when msg was written
%D date when msg was written
%m msg flags
%l the number of msg in the newsgroup that have a
subject equivalent to the one being displayed
%p number of this msg within those with equivalent subject.
Example: "%p/%l" creates an output like "3/5" which
means that the current msg is the 3rd in a thread of
5 with equivalent subject.
%% a percent sign
%. where . is anything else: undefined
Each % may be followed by a number (>0) to indicate max length,
i.e. %10a means at most 10 chars of the sender's net adress.
##
msg.titel=%g (%p/%l) %s
msg.info=%m %t %n %d %F %f
# Configuration for msg window size
# ---- Veränderung bei Erstinstallation nicht notwendig ----
# This can be:
# - an empty string, then msg windows will be full screen size
# (default)
# - a string of the form "rows x lines", e.g. "80 x 24". Msg
# windows will then be of that size.
msg.winsize=
# Default values for msg sending (strings)
# --- unbenutzt für Mausnetz ---
# "default.network=1" bedeutet, daß Mausnetz als Zielnetz für neue Msgs
# voreingestellt ist.
default.network=1
default.distr=
default.replyto=
default.cc.news=
default.cc.mail=
# The name of the group description file (a filename)
# --- unbenutzt für Mausnetz, verwendet automatisch die kurze Gruppenliste ---
grptxtfile=
## Additional configuration files:
some O programs require an additional configuration file
that gives them information not provided in o.inf. The
names of all these files, however, are stated in o.inf so
o.inf still is the only file to be located (via parameter,
env var etc.) to obtain all required information.
##
# Signature definition file (a filename)
# sigfile.resident: keep sigfile in memory (0 or 1)
# This file contains the signatures for the various
# newsgroups. See the supplied sigs.inf file for
# further information.
# Set this to an empty string to disable signatures.
#
# if `sigfile.resident' is 1 then `sigfile' will be
# kept in memory once it was loaded. If it is 0, `sigfile'
# will be read from disk each time it is needed.
# Use 0 if you are short of memory and 1 if you have
# a slow harddisk.
#
sigfile=\o\sigs.inf
sigfile.resident=1
# Expiration configuration file (a filename)
# This file tells oexpire.ttp how to expire newsgroups. It contains
# its own documentation, see the supplied oexpire.inf file for
# further information.
# Setting this to an empty string will reduce expiring to command
# line parameters passed to oexpire.ttp on invocation.
#
oexpire.inf=\o\oexpire.inf
# Folding configuration file (a filename)
# This file defines how newsgroups are "folded" into menu levels
# in the newsreader. See the supplied folds.inf file for further
# information.
folds.inf=\o\folds.inf
# The compress program (a full path&file name) - Env var COMPRESS
# --- wird nicht unbedingt benötigt ---
# The following must be a Unix-like compress program which is
# able to compress and decompress data from stdin to stdout (pipe
# mode). It must support the following ways of invocation:
# a) when called with no parameters, compresses stdin to stdout.
# b) when called with the parameter -d, decompresses stdin to stdout.
# c) when called with a filename, compresses the file in-place and
# appends Z to the filename extender.
# d) when called with the parameter -d followed by a filename, decompresses
# the file in-place and removes Z from the filename extender.
#
# Example:
#
# compress \news\dir\123
#
# must compress the file \news\dir\123 in-place and then rename the file
# to `\news\dir\123.Z'.
# Compress is called by oimport to compress msg files that exceed the
# user-defined max length, and by the newsreader to decompress these
# files before displaying them.
#
compress=c:\bin\compress.ttp
# The diff programm (a full path&file) - Env var DIFF
# The following must be a Unix-like diff program which is able to
# compare two files given on the command line and write differences
# to stdout. It is always called in the following way:
#
# diff -a file1 file2
#
# -a is used to set diff to ascii mode (i.e. not complain about international
# characters).
# In the current version of O, it is used only by omausimp to create
# diffs of incoming updates of Infofiles. So, `diff' is unused unless
# you use Mausnet.
#
diff=c:\bin\diff.ttp
## External Editor confiuration:
An external editor is needed to edit mail&news. Future versions
of O will have optional built-in editors.
variable: purpose:
editor full path&file of editor program - env var EDITOR
editwd work directory for editor
editfmt parameter string format
`editfmt' may contain the following format elements:
%f name of file to be edited
%l line number to start with
%% a percent sign
##
#
# --- bitte anpassen ---
#
editor=\o\edit.prg
editfmt=%f
editwd=.
## PGP configuration
The following is used only if you have PGP (the Pretty Good Privacy
public-key encryption system) installed on your system and want to
use it from out of O.
If you do, read "PGP support" in the O user's manual.
`pgp.prg' is the complete file name of the pgp executable.
`pgp.wd' is the work directory for pgp, usually the directory your
PGP files are stored in.
`pgp.ownname' is the user-id under which your own public key
is stored in the key ring. This usually is your e-mail adress.
DO NOT USE WHITESPACE in the user id.
##
pgp.prg=d:\pgp\pgp.ttp
pgp.wd=d:\pgp
pgp.ownname=Wolfram_Rösler@ac2.maus.de
## Quote configuration:
--- Veränderung bei Erstinstallation nicht notwendig ---
The following fields determine the way O quotes msgs.
`quote.text.mail' and `quote.text.news' are the header
text printed above quoted mail and news, respectively.
They may contain the following format elements:
%a net adress of sender
%r real name of sender
%f first name of sender
%i initials of sender
%s subject of msg
%m msg id
%g name of newsgroup
%% a percent sign
\n a newline character
\t a tab character
\\ a backslash
`quote.text.pm' and `quote.text.maus' are the same as these but
are used only for Mausnet groups. Forget it if you don't use the
Mausnet part of O.
`quote.string' is the string printed before every quoted line.
It may contain any of these format elements.
O provides reasonable defaults for all of these, so don't set
them to empty strings but rather put them into comments if
you don't want to define own values.
If `quote.binmode' is set to 1 then quotes will be created in binary
mode, i.e. lines will be seperated by LFs only. Some editors have
trouble with this and expect lines to be seperated with CR-LF;
if your editor is so stupid then set `quote.binmode' to 0. Since
CR-LF is the TOS standard, 0 is the default.
##
#
# --- die folgenden beiden sind nicht für die Maus ---
quote.text.news=In %m,\n%r (%a) wrote:\n
quote.text.mail=Hi %f,\n
# --- die folgenden sind für die Maus ---
quote.text.maus=%a schrieb:\n
quote.text.pm=Hallo %f,\nin %m gabst Du folgendes von Dir:\n
quote.string=%i>
quote.binmode=1
## Mausnet configuration:
The following is required only if you intend to use O for
Mausnet. Instructions are german because Mausnet is so too.
If you don't use Mausnet, just leave these as they are and
forget their existence.
`infile' und `outfile' sind die vollen Pfadnamen der ent-
sprechenden Dateien, die für den Maustausch benötigt werden.
`user' ist der Username (aus /etc/passwd), an den die übers
Mausnetz einkommenden PMs geschickt werden sollen.
##
#
# --- bitte anpassen ---
# --- maus.user kann "root" bleiben ---
#
maus.infile=\dfu\infile.txt
maus.outfile=\dfu\outfile.txt
maus.user=root
# Erst readme.dbf lesen, dann die folgende Zeile ändern:
read.convert=0