mailcap(4)
files as defined in RFC1524. The Mailcap files are read by
tin(1)
to determine how to display non-text messages at the local site. Any line
that starts with "#" is a comment. Blank lines are ignored. Otherwise, each
line defines a single mailcap entry for a single content type. Long lines
may be continued by ending them with a backslash character, "\".
Each individual mailcap entry consists of a content-type specification, a
command to execute, and (possibly) a set of optional "flag" values.
The "type" field is simply any legal content type name. It is the string
that will be matched against the "Content-Type" header to decide if this is
the mailcap entry that matches the current message. Additionally, the type
field may specify a subtype or a wildcard to match all subtypes.
The "command" field is any UNIX command and is used to specify the
interpreter for the given type of message. It will be passed to the shell
via the
system(3)
facility.
Semicolons and backslashes within the command or any flag field must be
quoted with backslashes. If the field contains "%s", those two characters
will be replaced by the name of a file that contains the body of the
message. If it contains "%t", those two characters will be replaced by the
content-type field, including the subtype, if any. If it contains "%{"
followed by a parameter name and a closing "}", then all those characters
will be replaced by the value of the named parameter, if any, from the
Content-Type header. Finally, if the field contains "\%", those two
characters will be replaced by a single "%" character.
Besides the type and command field the following "flags" are defined:
compose
The "compose" field may be used to specify a program that can be used to
compose a new body or body part in the given format. Its intended use is to
support mail composing agents that support the composition of multiple types
of mail using external composing agents. As with the view-command, the
semantics of program execution are operating system dependent. The result of
the composing program may be data that is not yet suitable for mail
transport - that is, a Content-Transfer-Encoding may need to be applied to
the data.
composetyped
The "composetyped" field is similar to the "compose" field, but is to be
used when the composing program needs to specify the Content-Type header
field to be applied to the composed data. The "compose" field is simpler,
and is preferred for use with existing (non-mail-oriented) programs for
composing data in a given format. The "composetyped" field is necessary when
the Content-Type information must include auxiliary parameters, and the
composition program must then know enough about mail formats to produce
output that includes the mail type information.
edit
The "edit" field may be used to specify a program that can be used to edit a
body or body part in the given format. In many cases, it may be identical
in content to the "compose" field, and shares the operating-system dependent
semantics for program execution.
print
The "print" field may be used to specify a program that can be used to print
a message or body part in the given format. As with the view-command, the
semantics of program execution are operating system dependent.
test
The "test" field may be used to test some external condition (e.g., the
machine architecture, or the window system in use) to determine whether or
not the mailcap line applies. It specifies a program to be run to test some
condition. The semantics of execution and of the value returned by the test
program are operating system dependent. If the test fails, a subsequent
mailcap entry should be sought. Multiple test fields are not permitted -
since a test can call a program, it can already be arbitrarily complex.
needsterminal
The "needsterminal" field indicates that the view-command must be run on an
interactive terminal. This is needed to inform window- oriented user agents
that an interactive terminal is needed. (The decision is not left
exclusively to the view-command because in some circumstances it may not be
possible for such programs to tell whether or not they are on interactive
terminals.) The needsterminal command should be assumed to apply to the
compose and edit commands, too, if they exist. Note that this is NOT a test
- it is a requirement for the environment in which the program will be
executed, and should typically cause the creation of a terminal window when
not executed on either a real terminal or a terminal window.
copiousoutput
The "copiousoutput" field indicates that the output from the view-command
will be an extended stream of output, and is to be interpreted as advice to
the UA (User Agent mail-reading program) that the output should be either
paged or made scroll-able. Note that it is probably a mistake if
needsterminal and copiousoutput are both specified.
description
The "description" field simply provides a textual description, optionally
quoted, that describes the type of data, to be used optionally by mail
readers that wish to describe the data before offering to display it.
textualnewlines
The "textualnewlines" field, if set to any non-zero value, indicates that
this type of data is line-oriented and that, if encoded in base64, all
newlines should be converted to canonical form (CRLF) before encoding, and
will be in that form after decoding. In general, this field is needed only
if there is line-oriented data of some type other than text/* or non-line-
oriented data that is a subtype of text.
x11-bitmap
The "x11-bitmap" field names a file, in X11 bitmap (xbm) format, which
points to an appropriate icon to be used to visually denote the presence of
this kind of data.
nametemplate
The "nametemplate" field gives a file name format, in which %s will be
replaced by a short unique string to give the name of the temporary file to
be passed to the viewing command. This is only expected to be relevant in
environments where filename extensions are meaningful, e.g., one could
specify that a GIF file being passed to a gif viewer should have a name
ending in ".gif" by using "nametemplate=%s.gif"
tin(1)
currently only respects the "test", "description", "nametemplate" and partly
the "needsterminal" flags, all other flags are internally ignored. It also
can't handle the "%F" and "%n" expansions yet.
Example:
# mailcap file example
image/*;\
xv -8 -geometry +0 '%s';\
description=%{name} %t-Image;\
test=test "$DISPLAY" \
nametemplate=%s.IMAGE
message/rfc822;\
if test -x /usr/bin/less \;\
then less '%s' \;\
else more '%s' \; fi;\
edit=${EDITOR-vi} '%s';\
compose=${EDITOR-vi} '%s';\
print=a2ps %s;\
needsterminal
/etc/nntpserver
default NNTP-server to read news from if not reading from the local spool.
'-gserver', $NNTPSERVER and a given default at compile
time have higher priority (in that order) and override any server
specified /etc/nntpserver.
"nntpserverpassword [user]" pairs for NNTP servers
that require authorization. Any line that starts with "#" is a comment.
Blank lines are ignored. This file should be readable only for the user as
it contains the users uncrypted password for reading news!
nntpserver
full qualified domain name of the newsserver.
password
users uncrypted password for reading news.
user
username on the newsserver if it differs from the local login. this field is
optional.
Example:
# sample .newsauth file
news.example.org example
news.example.net news guest
This allows access to the 'inbox' and 'outbox' folders of user foo.
They are accessed via /home/foo/Mail/inbox and /home/foo/Mail/outbox
${TIN_HOMEDIR-$HOME}/.tin/active.save
active file of user's saved newsgroups, used by tin -R.
${TIN_LIBDIR-/news/etc}/attributes
${TIN_HOMEDIR-$HOME}/.tin/attributes
The group attributes files may be used to override some global settings from
${TIN_HOMEDIR-"$HOME"}/.tin/tinrc on a per group basis. Order is
important as last match counts; this allows to refine attributes for
narrowed scopes. Note that the scope=<grouplist> line has to be
specified before the attributes are specified for that list. All attributes
are set to a reasonable default so you only have to specify the attribute
that you want to change. All toggle attributes are set by specifying ON/OFF.
Otherwise, they function exactly as their global equivalents. The following
group attributes are available:
scope
This changes the list of groups to which the attributes that follow will be
applied. See the section NEWSGROUP LISTS & WILDCARDS in
tin(1)
for the types of pattern that can be used here.
maildir
Identical to the tinrc variable default_maildir
savedir
Identical to the tinrc variable default_savedir
savefile
organization
This can be used to set the article header field ''Organization:''. It
overrides the setting (if any) of organization in
/etc/tin/tin.defaults and $ORGANIZATION (or $NEWSORG on
Apollo DomainOS). Note that some newsserver might still overwrite the
''Organization:''-header.
from
Identical to the tinrc variable mail_address
sigfile
The path that specifies the signature file to use when posting, following
up to or replying to an article. If the path is a directory then the
signature will be randomly generated from files that are in the specified
directory. If the path starts with a ! the program the path points to will
be executed to generate a signature. --none will suppress any signature.
followup_to
printer
auto_select
auto_save
Identical to the tinrc variable of the same name
batch_save
Can be used to override the global setting in tinrc on a
per group basis. For more information read section AUTOMATIC MAILING AND
SAVING NEW NEWS in
tin(1).
delete_tmp_files
If this is set to ON, then saved article files that have been post-processed
will be automatically deleted. If set to OFF, you will be prompted as to
whether to delete each file in turn. Note that automatic processing of
Tagged articles using 'S' will also suppress prompting.
show_only_unread
Identical to the tinrc variable of the same name
thread_arts
Identical to the tinrc variable thread_articles
translit
If ON append //TRANSLIT to the first argument of
iconv_open(3)
to enable transliteration. This means that when a character cannot be
represented in the target character set, it can be approximated through one
or several similarly looking characters. On systems where this extension
doesn't exist, this option is disabled.
show_author
Identical to the tinrc variable of the same name
sort_art_type
Identical to the tinrc variable sort_article_type
sort_threads_type
Identical to the tinrc variable sort_threads_type
post_proc_type
Identical to the tinrc variable post_process_type
mailing_list
Used when a group is a mailing list. All responses to the group will be
directed to this email address instead
x_headers
A list of headers that will be automatically added when posting
x_body
A piece of text that will be added at the start of a message body. If this
string starts with a / or ~ then it is assumed to be the name of a file
containing the text to insert.
quick_kill_scope
quick_kill_expire
quick_kill_case
quick_kill_header
quick_select_scope
quick_select_expire
quick_select_case
quick_select_header
x_comment_to
news_quote_format
Identical to the tinrc variable of the same name
quote_chars
Identical to the tinrc variable of the same name
tex2iso_conv
Identical to the tinrc variable of the same name
ispell
Example:
# include extra headers
scope=*
x_headers=~/.tin/headers
# in *sources* set post process type to shar
scope=*sources*
post_proc_type=1
# in *binaries* set post process type to uudecode
# remove tmp files and set Followup-To: poster
scope=*binaries*
post_proc_type=2
delete_tmp_files=ON
followup_to=poster
# in fido.* newsgroups change quote_chars
# and add X-Comment-To: line
scope=fido.*
quote_chars=%s>_
x_comment_to=ON
# in *.test newsgroups, don't append signature
# and preset Subject
scope=*.test
sigfile=--none
x_headers=Subject: test - ignore - no reply
Keymap-file, containing "keynamevalue" pairs.
Below is a list of all keynames and their default bindings.
PageDown3 SPACE
ShellEscape !
SetRange #
LastPage $
ToggleColor &
LastViewed -
SearchSubjF /
SearchSubjB ?
SearchAuthB A
SearchBody B
ToggleHelpDisplay H
ToggleInverseVideo I
LookupMessage L
OptionMenu M
Postponed2 O
QuitTin Q
DisplayPostHist W
FirstPage ^
SearchAuthF a
PageUp3 b
Help h
ToggleInfoLastLine i
Down2 j
Up2 k
Print o
Quit q
Version v
Post w
Pipe |
PageUp ^B
PageDown ^D
PageDown2 ^F
RedrawScr ^L
Down ^N
Postponed ^O
Up ^P
PageUp2 ^U
ConfigSelect ^J
ConfigSelect2 ^M
ConfigLastPage2 G
ConfigNoSave Q
ConfigFirstPage2 g
FeedTag T
FeedArt a
FeedHot h
FeedPat p
FeedRepost r
FeedSupersede s
FeedThd t
FilterEdit e
FilterSave s
GroupAutoSel ^A
GroupNextUnreadArtOrGrp TAB
GroupReadBasenote ^J
GroupKill ^K
GroupReadBasenote2 ^M
GroupSelThd *
GroupDoAutoSel +
GroupToggleThdSel .
GroupSelThdIfUnreadSelected ;
GroupSelPattern =
GroupReverseSel @
GroupCatchupNextUnread C
GroupEditFilter E
GroupToggleGetartLimit G
GroupMarkThdRead K
GroupNextUnreadArt N
GroupPrevUnreadArt P
GroupBugReport R
GroupAutoSaveTagged S
GroupTagParts T
GroupUntag U
GroupMarkUnselArtRead X
GroupMarkThdUnread Z
GroupQuickAutoSel [
GroupQuickKill ]
GroupCatchup c
GroupToggleSubjDisplay d
GroupGoto g
GroupListThd l
GroupMail m
GroupNextGroup n
GroupPrevGroup p
GroupToggleReadUnread r
GroupSave s
GroupTag t
GroupToggleThreading u
GroupRepost x
GroupMarkArtUnread z
GroupUndoSel ~
HelpLastPage2 G
HelpFirstPage2 g
NrctblCreate c
NrctblDefault d
NrctblAlternative a
NrctblQuit q
PageAutoSel ^A
PageReplyQuoteHeaders ^E
PagePGPCheckArticle ^G
PageToggleHeaders ^H
PageNextUnread TAB
PageNextThd ^J
PageAutoKill ^K
PageNextThd2 ^M
PageToggleTabs ^T
PageFollowupQuoteHeaders ^W
PageToggleTex2iso "
PageToggleRot %
PageToggleUue (
PageReveal )
PageSkipIncludedText :
PageTopThd <
PageBotThd >
PageCatchupNextUnread C
PageCancel D
PageEditFilter E
PageFollowup F
PageLastPage2 G
PageKillThd K
PageNextUnreadArt N
PagePrevUnreadArt P
PageReply R
PageAutoSaveTagged S
PageGroupSel T
PageViewUrl U
PageViewAttach V
PageMarkThdUnread Z
PageQuickAutoSel [
PageQuickKill ]
PageToggleHighlight _
PageCatchup c
PageEditArticle e
PageFollowupQuote f
PageFirstPage2 g
PageListThd l
PageMail m
PageNextArt n
PagePrevArt p
PageReplyQuote r
PageSave s
PageTag t
PageGotoParent u
PageRepost x
PageMarkArtUnread z
PgpEncSign b
PgpEncrypt e
PgpIncludekey i
PgpSign s
PostCancel d
PostEdit e
PostPGP g
PostIspell i
PostContinue c
PostAbort a
PostIgnore i
PostMail m
PostPost2 y
PostPost3 p
PostSend s
PostSend2 y
PostSupersede s
PostPostpone o
PostponeOverride Y
PostponeAll A
PromptYes y
PromptNo n
SaveAppendFile a
SaveOverwriteFile o
PProcExtractZip E
PProcListZip L
PProcExtractZoo e
PProcListZoo l
PProcShar s
PProcUUDecode u
PProcNone n
SelectEnterNextUnreadGrp TAB
SelectReadGrp ^J
SelectReadGrp2 ^M
SelectResetNewsrc ^R
SelectCatchupNextUnread C
SelectNextUnreadGrp N
SelectBugReport R
SelectSubscribePat S
SelectUnsubscribePat U
SelectQuitNoWrite X
SelectSyncWithActive Y
SelectMarkGrpUnread2 Z
SelectCatchup c
SelectToggleDescriptions d
SelectGoto g
SelectMoveGrp m
SelectEnterNextUnreadGrp2 n
SelectToggleReadDisplay r
SelectSubscribe s
SelectUnsubscribe u
SelectYankActive y
SelectMarkGrpUnread z
ThreadReadNextArtOrThread TAB
ThreadReadArt ^J
ThreadReadArt2 ^M
ThreadSelArt *
ThreadToggleArtSel .
ThreadReverseSel @
ThreadCatchupNextUnread C
ThreadMarkArtRead K
ThreadBugReport R
ThreadAutoSaveTagged S
ThreadUntag U
ThreadMarkThdUnread Z
ThreadCatchup c
ThreadToggleSubjDisplay d
ThreadMail m
ThreadSave s
ThreadTag t
ThreadMarkArtUnread z
ThreadUndoSel ~
${TIN_HOMEDIR-$HOME}/.tin/newsrctable
"nntpservernewsrc [shortname [...]]"
pairs to use with the ''-g'' command-line switch.
Copy of all posted articles in
mbox(5)
format. This requires keep_posted_articles to be set (which is the
default). The filename might be changed by setting
keep_posted_articles_file.
${TIN_HOMEDIR-$HOME}/.tin/postponed.articles
Pool of postponed articles. This file is in
mbox(5)
format.
At startup,
tin(1)
reads in the configuration file. This contains a list of
"variable=value" pairs that can be used to configure the way
tin(1)
works. If it exists, the global configuration file,
${TIN_LIBDIR}-"/news/etc"}/tinrc is read first. After that, the
users own configuration file ${TIN_HOMEDIR-"$HOME"}/.tin/tinrc is read.
The global file is useful for distributing system-wide defaults to new
users who have no private tinrc yet (see also /etc/tin/tin.defaults).
add_posted_to_filter
If ON add posted articles to filter for highlighting follow-ups.
Default is ON.
advertising
Turn ON advertising in header (''User-Agent:''). Default is ON.
alternative_handling
If ON strip multipart/alternative messages automatically. Default is ON.
art_marked_deleted
The character used to show that an article was deleted. Default is 'D'.
art_marked_inrange
The character used to show that an article is in a range. Default is '#'.
art_marked_return
The character used to show that an article will return as an unread article
when the group is next entered. Default is '-'.
art_marked_selected
The character used to show that an article/thread is auto-selected (hot).
Default is '*'.
art_marked_recent
The character used to show that an article/thread is recent (not older than
X days). See also recent_time. Default is 'o'.
art_marked_unread
The character used to show that an article has not been read.
Default is '+'.
art_marked_read
The character used to show that an article was read. Default is ' '.
art_marked_killed
The character used to show that an article was killed. Default is 'K'.
kill_level must be set accordingly.
art_marked_read_selected
The character used to show that an article was hot before it was read.
Default is ':'. kill_level must be set accordingly.
ask_for_metamail
If ON
tin(1)
will ask before using
metamail(1)
to display MIME messages. This only occurs if use_metamail is also
switched ON. Default is ON.
auto_bcc
If ON automatically put your name in the ''Bcc:'' field when mailing an
article. Default is OFF.
auto_cc
If ON automatically put your name in the ''Cc:'' field when mailing an
article. Default is OFF.
auto_list_thread
If ON automatically list thread when entering it using right arrow key.
Default is ON.
auto_reconnect
Reconnect to server automatically. Default is OFF.
auto_save
If ON articles/threads with ''Archive-name:'' in header will be
automatically saved with the Archive-name & part/patch no and post processed
if post_proc_type is not set to none (0). Default is OFF.
batch_save
If set ON articles/threads will be saved in batch mode when save
''-S'' or mail ''-M, -N'' is specified on the command
line. Default is ON.
beginner_level
If set ON a mini menu of the most useful commands will be displayed at the
bottom of the screen for each level. Also a short posting etiquette will be
displayed after composing an article. Default is ON.
cache_overview_files
If ON, create local copies of NNTP overview files. This can be used to
considerably speed up accessing large groups when using a slow connection.
Default is OFF.
catchup_read_groups
If set ON the user is asked when quitting if all groups read during the
current session should be marked read. Default is OFF.
col_back
Standard background color
col_from
Color of sender (From:)
col_head
Color of header-lines
col_help
Color of help pages
col_invers_bg
Color of background for inverse text
col_invers_fg
Color of foreground for inverse text
col_markdash
Color of words emphasised like _this_. See also word_h_display_marks
col_markstar
Color of words emphasised like *this*. See also word_h_display_marks
col_minihelp
Color of mini help menu
col_newsheaders
Color of actual news header fields
col_normal
Standard foreground color
col_quote
Color of quoted lines
col_quote2
Color of twice quoted lines
col_quote3
Color of >=3 times quoted lines
col_response
Color of response counter. This is the text that says 'Response x of y' in
the article viewer.
col_signature
Color of signatures
col_subject
Color of article subject
col_text
Color of text-lines
col_title
Color of title text on all the menu screens
confirm_action
Ask for confirmation before executing certain dangerous commands (e.g.,
'c'atchup). Default is ON.
confirm_to_quit
If ON you will be asked to confirm that you wish to exit
tin(1)
when you use the 'q' command. Default is ON.
default_art_search
default_author_search
default_config_search
The last article/author/config option that was searched for
default_editor_format
The format string used to create the editor start command with parameters.
Default is '%E +%N %F' (i.e., /bin/vi +7 .article).
default_filter_days
Default is 28.
default_filter_kill_case
Defaults for quick (1 key) kill filter case. ON = filter case sensitive, OFF
= ignore case. Default is OFF.
default_filter_kill_expire
Defaults for quick (1 key) kill filter expire. ON = limit
to 'default_filter_days', OFF = don't ever expire. Default is OFF.
default_filter_kill_global
Defaults for quick (1 key) kill filter global. ON=apply to all groups
OFF=apply to current group. Default is ON.
The directory where articles/threads are to be saved in
mbox(5)
format. This feature is mainly for use with the
elm(1)
mail program. It allows the user to save articles/threads/groups simply
by giving '=' as the filename to save to. Default is
${TIN_HOMEDIR-"$HOME"}/Mail.
default_mailer_format
The format string used to create the mailer command with parameters that is
used for mailing articles to other people. Default is '%M "%T" < %F' (i.e.,
/bin/mail "iain" < .article). The flexible format allows other mailers with
different command line parameters to be used such as 'elm -s "%S" "%T" <
"%F"' (i.e., elm -s "subject" "iain" < .article) or 'sendmail -oem -t < %F'
(i.e. sendmail -oem -t < .article).
default_move_group
default_pipe_command
default_post_newsgroups
default_post_subject
default_printer
The printer program with options that is to be used to print articles. The
default is
lpr(1)
for BSD machines and
lp(1)
for SysV machines. Printing from
tin(1)
may have been disabled by the System Administrator.
default_range_group
default_range_select
default_range_thread
default_regex_pattern
default_repost_group
default_save_file
default_save_mode
default_savedir
Directory where articles/threads are saved. Default is
${TIN_HOMEDIR-"$HOME"}/News.
default_select_pattern
default_shell_command
default_sigfile
The path that specifies the signature file to use when posting, following up
to or replying to an article. If the path is a directory then the signature
will be randomly generated from files that are in the specified directory.
Default is ${TIN_HOMEDIR-"$HOME"}/.Sig.
default_subject_search
draw_arrow
Allows groups/articles to be selected by an arrow '->' if set ON or by an
highlighted bar if set OFF.
force_screen_redraw
Specifies whether a screen redraw should always be done after certain
external commands. Default is OFF.
getart_limit
If use_getart_limit is ON and getart_limit is > 0 not more than
getart_limit articles/group are fetched from the server. If
use_getart_limit is ON and getart_limit is < 0
tin(1)
will start fetching articles from your first unread minus absolute value of
getart_limit. Default is 0, which means no limit.
group_catchup_on_exit
If ON catchup group when leaving with the left arrow key. Default is ON.
groupname_max_length
Maximum length of the names of newsgroups to be displayed so that more of
the newgroup description can be displayed. Default is 32.
hide_uue
If ON, then sections of uuencoded data will be shown with a single tag line
showing the size and filename (much the same as a MIME attachment).
Otherwise the raw uuencoded data is displayed. Default is OFF. This
behaviour can also be toggled in the article viewer.
inews_prog
Path, name and options of external
inews(1)
If you are reading via NNTP the default value is "--internal" (use built in
NNTP inews), else it is "inews -h". The article is passed to
inews_prog on STDIN via '< article'.
info_in_last_line
If ON, show current group description or article subject in the last line
(not in the pager and global menu) - 'i' toggles setting. This
facility is useful as the full width of the screen is available to display
long subjects. Default is OFF.
inverse_okay
If ON use inverse video for page headers at different levels. Default is ON.
keep_dead_articles
If ON keep all failed postings in ${TIN_HOMEDIR-"$HOME"}/dead.articles
besides keeping the last failed posting in
${TIN_HOMEDIR-"$HOME"}/dead.article. Default is ON.
keep_posted_articles
If ON keep all postings in ${TIN_HOMEDIR-"$HOME"}/Mail/posted.
Default is ON.
kill_level
This option controls the processing and display of articles that are killed.
There are 3 options: 0 (default) is the 'traditional' behaviour of
tin(1).
Only unread articles are killed once only by marking them read. Options 1
and 2 will process all articles in the group and therefore there is a
processing overhead when using them. Option 1 will thread killed articles as
normal but they will be marked with a 'K'. Option 2 simply does not display
killed articles.
mail_8bit_header
Allows 8bit characters unencoded in the header of mail message. Default is
OFF. Turning it ON is effective only if mail_mime_encoding is also set
to 8bit. Leaving it OFF is safe for most users and compliant to Internet
Mail Standard (RFC2822 and RFC2047). Default is OFF.
mail_address
User's mail address (and fullname), if not username@host. This is used when
creating articles, sending mail and when
pgp(1)
signing.
mail_mime_encoding
MIME encoding of the body in mail message, if necessary (8bit, base64,
quoted-printable, 7bit) Default is 8bit and no encoding (or charset
conversion) is performed (i.e., local charset is used as it is). If set to
7bit, CJK text in 8bit encoding (EUC-CN, EUC-TW, EUC-JP, EUC-KR, Big5,
Shift_JIS) is supposed to be converted into ISO-2022-KR/JP/CN. Only EUC-KR
to ISO-2022-KR conversion has been implemented, however. Accordingly,
setting it to 7bit has no effect on MIME charsets/encodings other than
EUC-KR (Korean).
mail_quote_format
Format of quote line when replying (via mail) to an article (%A=Address,
%D=Date, %F=Fullname+Address, %G=Groupname, %M=Message-Id, %N=Fullname,
%C=Firstname, %I=Initials). Default is "In article %M you wrote:"
Format of the mailbox (mailbox_format)
Select one of the following mailbox-formats: MBOXO (default), MBOXRD
or MMDF. See
mbox(5)
for more details on MBOXO and MBOXRD and
mmdf(5)
for more details about MMDF.
mark_saved_read
If ON mark articles that are saved as read. Default is ON.
mm_charset
Charset supported locally, which is also used for MIME header (charset
parameter and charset name in header encoding) in mail and news posting
unless local charset/encoding needs to be converted into other
charset/encoding as in case of EUC-KR which is converted to ISO-2022-KR if
mail_mime_encoding is set to 7bit. Possible values include ISO-8859-X
(where X is 1 to 16), EUC-JP, EUC-CN, EUC-KR, EUC-TW, Big5, Shift_JIS, and
so forth. If MIME_STRICT_CHARSET is defined at the compile time, text
in charset other than the value of this parameter is considered not
displayable and represented as '?'. Otherwise, all character sets are
regarded as compatible with the display. If it's not set, the value of the
environment variable $MM_CHARSET is used. US-ASCII or compile-time
default is used in case neither of them is defined. If your system supports
iconv(3),
this option is disabled and you should use mm_network_charset instead.
mm_network_charset
Charset used for posting and MIME headers; replaces mm_charset.
Conversion between mm_network_charset and local charset (determined
via
nl_langinfo(3))
is done via
iconv(3),
if this function is not available on your system this option is disabled
and you have to use mm_charset instead.
mm_network_charset is limited to one of the following charsets:
US-ASCII, ISO-8859-{1,2,3,4,5,7,9,10,13,14,15,16}, KOI8-{R,U,RU}
EUC-{CN,JP,KR,TW}, ISO-2022-{CN,CN-EXT,JP,JP-1,JP-2,KR}, UTF-8
Not all values might work on your system, see
iconv_open(3)
for more details. If it's not set, the value of the environment variable
$MM_CHARSET is used. US-ASCII or compile-time default is used in
case neither of them is defined.
newnews
These are internal timers used by
tin(1)
to keep track of new newsgroups. Do not change them unless you understand
what they are for.
news_headers_to_display
Which news headers you wish to see. If you want to see _all_ the headers,
place an '*' as this value. This is the only way a wildcard can be used.
If you enter 'X-' as the value, you will see all headers beginning
with 'X-' (like X-Alan or X-Pape). You can list more than one by delimiting
with spaces. Not defining anything turns off this option.
news_headers_to_not_display
Same as news_headers_to_display except it denotes the opposite. An
example of using both options might be if you thought X- headers were A Good
Thing(tm), but thought Alan and Pape were miscreants... well then you would
do something like this:
news_headers_to_display=X-news_headers_to_not_display=X-Alan X-Pape
Not defining anything turns off this option.
news_quote_format
Format of quote line when posting/following up an article (%A=Address,
%D=Date, %F=Fullname+Address, %G=Groupname, %M=Message-Id, %N=Fullname,
%C=Firstname, %I=Initials). Default is "%F wrote:"
pgdn_goto_next
If ON the Page Down keys will go to the next unread article when pressed at
the end of a message. Default is ON.
pos_first_unread
If ON put cursor at first unread article in group otherwise at last article.
Default is ON.
post_8bit_header
Allows 8bit characters unencoded in the header of news article. Default is
OFF. Only enacted if post_mime_encoding is also set to 8bit. In a
number of local hierarchies where 8bit characters are used, using unencoded
(raw) 8bit characters in header is acceptable and sometimes even recommended
so that you need to check the convention adopted in the local hierarchy of
your interest to determine what to do with this and
post_mime_encoding.
post_mime_encoding
MIME encoding of the body in news message, if necessary. (8bit, base64,
quoted-printable, 7bit) Default is 8bit, which leads to no encoding (or
charset conversion, i.e., local charset is posted as it is). If set to 7bit,
Chinese and Japanese text (in 8bit encodings such as EUC-CN, EUC-TW, EUC-JP,
Shift_JIS, Big5) is supposed to be converted into ISO-2022-CN/JP, but it's
NOT yet implemented. Therefore, currently 7bit has NO effect (i.e.
equivalent to 8bit) whatever MIME charset/encoding is chosen.
post_process_view
If ON, then
tin(1)
will start an appropriate viewer program to display any files that were post
processed and uudecoded. The program is determined using the mailcap file.
Default is ON.
post_process_type
This specifies the default type of post processing to perform on saved
articles. The following types of processing are allowed:
---none.
---unpacking of multi-part shar files (shell archives).
---unpacking of multi-part uuencoded files.
print_header
If ON, then the full article header is sent to the printer. Otherwise only
the ''Subject:'' and ''From:'' fields are output. Default is OFF.
process_only_unread
If ON only save/print/pipe/mail unread articles (tagged articles excepted).
Default is OFF.
prompt_followupto
If ON show empty ''Followup-To:'' header when editing an article.
Default is OFF.
quote_chars
The character used in quoting included text to article followups and mail
replies. The '_' character represents a blank character and is replaced
with ' ' when read. Default is '>_'.
quote_empty_lines
If ON quote empty lines, too. Default is ON.
quote_regex
A regular expression that will be applied when reading articles. All
matching lines are shown in col_quote. If quote_regex is blank,
then
tin(1)
uses a built in default for this.
quote_regex2
A regular expression that will be applied when reading articles. All
matching lines are shown in col_quote2. If quote_regex2 is
blank, then
tin(1)
uses a built in default for this.
quote_regex3
A regular expression that will be applied when reading articles. All
matching lines are shown in col_quote3. If quote_regex3 is blank,
then
tin(1)
uses a built in default for this.
quote_signatures
If ON quote signatures, too. Default is OFF.
recent_time
If set to 0, this feature is deactivated, otherwise it means the number of
days. Default is 2.
reread_active_file_secs
The news ${TIN_LIBDIR-NEWSLIBDIR}"/"${TIN_ACTIVEFILE-active} file
is reread at regular intervals to show if any new news has arrived. Default
is 1200. Setting this to 0 will disable this feature.
scroll_lines
The number of lines that will be scrolled up/down in the article pager when
using cursor-up/down. The default is 1 (line-by-line). Set to to 0 to get
traditional tin page-by-page scrolling. Set to -1 to get page-by-page
scrolling where the top/bottom line is carried over onto the next page.
This setting supercedes show_last_line_prev_page=ON. Set to -2 to get
half-page scrolling. This setting supercedes full_page_scroll=OFF.
show_author
---None (0) only the ''Subject:'' line will be displayed.
---Addr (1) ''Subject:'' line & the address part of the ''From:'' line are
dis
---Name (2) ''Subject:'' line & the authors full name part of the ''From:''
li
---Both (3) ''Subject:'' line & all of the ''From:'' line are displayed.
Default is 2, authors full name.
show_description
If ON show a short group description text after newsgroup name at the group
selection level. The ''-d'' command-line flag will override the setting
and turn descriptions off. The text used is taken from the
${TIN_LIBDIR-NEWSLIBDIR}/newsgroups file. Default is ON.
show_lines
Show number of lines of first unread article in thread listing (ON/OFF).
show_only_unread_arts
If ON show only new/unread articles otherwise show all articles. Default is
ON.
show_only_unread_groups
If ON show only subscribed to groups that contain unread articles. Default
is OFF.
show_signatures
If OFF don't show signatures when displaying articles. Default is ON.
sigdashes
If ON prepend the signature with sigdashes. Default is ON.
signature_repost
If ON add signature to reposted articles. Default is ON.
sort_article_type
This specifies how articles should be sorted. The following sort
types are allowed:
---don't sort articles (none=0).
---sort articles by ''Subject:'' field (descending=1 & ascending=2).
---sort articles by ''From:'' field (descending=3 & ascending=4).
---sort articles by ''Date:'' field (descending=5 & ascending=6).
---sort articles by filtering score (descending=7 & ascending=8).
Sort by ascending Date (6) is the default.
sort_threads_type
This specifies how threads will be sorted. The following sort
types are allowed:
---don't sort threads (none=0).
---sort threads by filtering score (descending=1 & ascending=2).
Sort by descending Score (1) is the default.
space_goto_next_unread
SPACE normally acts as a Page Down key and has no effect at the end of an
article. If this option is turned ON the SPACE command will go to the next
unread article when the end of the article is reached (rn (1)-style
pager).
spamtrap_warning_addresses
Set this option to a list of comma-separated strings to be warned if you are
replying to an article by mail where the e-mail address contains one of
these strings. The matching is case-insensitive.
start_editor_offset
Set ON if the editor used for posting, follow-ups and bug reports has the
capability of starting and positioning the cursor at a specified line within
a file. Default is ON.
strip_blanks
Strips the blanks from the end of each line therefore speeding up the
display when reading on a slow terminal or via modem. Default is ON.
strip_bogus
Bogus groups are groups that are present in your
${TIN_HOMEDIR-"$HOME"}/.newsrc file that no longer exist on the news
server. There are 3 options. 0 means do nothing & always keep bogus groups.
1 means bogus groups will be permanently removed. 2 means that bogus groups
will appear on the Group Selection Menu, prefixed with a 'D'. This allows
you to unsubscribe from them as and when you wish. Default is 0 (Always Keep).
strip_newsrc
If ON, then unsubscribed groups will be permanently removed from
your ${TIN_HOMEDIR-"$HOME"}/.newsrc file. Default is OFF.
tab_after_X_selection
If enabled will automatically go to the first unread article after having
selected all hot articles and threads with the 'X' command at group
index level. Default is OFF.
tab_goto_next_unread
If enabled pressing <TAB> at the article viewer level will go to the next
unread article immediately instead of first paging through the current one.
Default is ON.
tex2iso_conv
Decode German style TeX umlaut codes to ISO
If ON, show "a as Umlaut-a, etc. Default is OFF. This behaviour can also be
toggled in the article viewer via '"'.
thread_articles
Defines which threading method to use. The choices are:
0) Don't thread, 1) Thread on Subject only 2) Thread on References only,
3) Thread on References then Subject (default)
4) Thread multipart articles on Subject.
It's also possible to set the threading type on a per group basis by setting
the group attribute variable thread_arts to 0 - 4 in the file
${TIN_HOMEDIR-"$HOME"}/.tin/attributes.
thread_catchup_on_exit
If ON catchup group/thread when leaving with the left arrow key. Default is
ON.
translit
If ON append //TRANSLIT to the first argument of
iconv_open(3)
to enable transliteration. This means that when a character cannot be
represented in the target character set, it can be approximated through one
or several similarly looking characters. On systems where this extension
doesn't exist, this option is disabled. Default is OFF.
unlink_article
If ON remove ${TIN_HOMEDIR-"$HOME"}/.article after posting. Default is
ON.
url_handler
The program that will be run when launching URL's in the article viewer
using 'U'. The actual URL will be appended to this. Default is
url_handler.sh %s.
use_getart_limit
If enabled
tin(1)
fetches max. getart_limit articles/group from the server. Default
is OFF.
use_color
If enabled
tin(1)
uses ANSI-colors. Default is OFF.
use_keypad
Use scroll keys on keypad. Default is OFF.
use_mailreader_i
Interactive mailreader: if ON mailreader will be invoked earlier for reply
so you can use more of its features (eg. MIME, pgp, ...) this option has to
suit default_mailer_format
use_metamail
If ON metamail can/will be used to display MIME articles. Default is ON.
This might become obsolete.
use_mouse
Allows the mouse key support in a
xterm(1x)
to be enabled/disabled.
Default is OFF.
wildcard
Allows you to select how
tin(1)
matches strings. The default is 0 and uses the wildmat notation, which is
how this has traditionally been handled. Setting this to 1 allows you to use
perl(1)
compatible regular expressions
pcre(3).
You will probably want to update your filter
file if you use this regularly. NB: Newsgroup names will always be matched
using the wildmat notation.
word_h_display_marks
Should the leading and ending stars and dashes also be displayed,
even when they are highlighting marks?
--- 0 = no
--- 1 = yes, display mark
--- 2 = print a space instead
--- 3 = print a space, but only in signatures
word_highlight
Enable word highlighting. See word_h_display_marks for the options
available is this is enabled.
xpost_quote_format
Format is the same as for news_quote_format, this is used when
answering to a crossposting to several groups with no ''Followup-To:'' set
/etc/tin/tin.defaults
Yet another global configuration file with "variable=value"
pairs. This one is for the more general options which usually can't be
controlled via ${TIN_LIBDIR-"/news/etc"}/tinrc and/or
${TIN_HOMEDIR-"$HOME"}/.tin/tinrc like resetting (to override the
build in default) the newslibdir.
domainname
Sets a global domain name used in From lines
organization
Defines the name of your organization. $ORGANIZATION overrides any
specified value.
newslibdir
Defines the default place for some configuration files, common values are
/usr/lib/news, /var/lib/news, /usr/local/lib/news or
/news/db. $TIN_LIBDIR overrides any specified value.
bugaddress
Defines the email address to which users can send bug reports using tin's
built in function. The default points to a developers mailing list located
at tin.org. You might want to change this address to one of your local
administration if you want to deal with your lusers problems on your own.
$BUG_ADDRESS overrides any specified value.
inewsdir
Defines the directory containing of the
inews(1)
executable
mm_charset
Default charset to be used in MIME's Content-Type header. $MM_CHARSET
overrides any specified value.
post_mime_encoding
Default encoding scheme use in MIME articles. 8bit might be the best value.
mail_mime_encoding
Default encoding scheme use in MIME letters. quoted-printable is a good
choice here.
disable_gnksa_domain_check
Allow unregistered top level domains
disable_sender
Don't generate a ''Sender:''-header. This has no effect if
inews_prog is not set to --internal.
spooldir
Base of your newsspool (Bnews, Cnews and INN tradspool style), common values
are /var/spool/news, /usr/spool/news, /news/spool.
$TIN_SPOOLDIR overrides any specified value.
overviewdir
Base of your NOV database
newsoverview(5)
(tradspool style; might be the same dir as
spooldir), common values are /var/spool/overview,
/usr/spool/overview, /news/overview. $TIN_NOVROOTDIR
overrides any specified value.
overviewfile
Name of a single overview file, common values are .overview,
over.view.
activefile
Full pathname of your newssystem's active file; usually the active file
resides in newslibdir and is named active, so you only have
to change this setting if your configuration differs. $TIN_ACTIVEFILE
overrides any specified value.
activetimesfile
Full pathname of your newssystem's active.times file; usually the
active.times file is newslibdir, so you only have to change this
setting if your configuration differs.
newsgroupsfile
Full pathname of your newssystem's newsgroups file; usually the newsgroups
file is in newslibdir, so you only have to change this setting if your
configuration differs.
subscriptionsfile
Full pathname of your newssystem's subscriptions file; usually the
subscriptions file is in newslibdir, so you only have to change this
setting if your configuration differs.
translation into language specified in $LC_ALL, $LC_MESSAGES or
$LANG
${TIN_LIBDIR-/news/db}/${TIN_ACTIVEFILE-active}
This file lists the newsgroups that the local site receives. Each newsgroup
should be listed only once. Each line specifies one group; within each
newsgroup, articles are assigned unique names, which are monotonically
increasing numbers.
If an article is posted to newsgroups not mentioned in this file, those
newsgroups are ignored.
If no valid newsgroups are specified, the article is rejected.
Each line consists of four space-separated fields "namehighmarklowmarkflags".
name
is the name of the newsgroup
highmark
is the highest article number that has been used in that newsgroup
lowmark
is the lowest article number in the group; this number is not guaranteed to
be accurate, and should only be taken to be a hint. Note that because of
article cancellations, there may be gaps in the numbering sequence. If the
lowest article number is greater then the highest article number, then there
are no articles in the newsgroup.
flags
can be one of those
y
local postings are allowed
n
no local postings are allowed, only remote ones
m
the group is moderated and all postings must be approved
j
articles in this group are not kept, but only passed on
x
articles cannot be posted to this newsgroup
=foo.bar
articles are locally filed into the ''foo.bar'' group
only only tries to read the file if you read directly from the local spool,
if you read news via NNTP,
tin(1)
uses the LIST (RFC977) command instead.
${TIN_LIBDIR-/news/db}/active.times
This file provides a chronological record of when newsgroups are created. It
is normally updated by the local newsserver (i.e
innd(8))
whenever a new group is created. Each line consist of three space-separated
fields "nametimecreator".
name
is the name of the newsgroup
time
is the time when the group was created, expressed as the number of seconds
since the epoch.
creator
is the electronic mail address of the person who created the group.
only only tries to read the file if you read directly from the local spool,
if you read news via NNTP,
tin(1)
uses the NEWGROUPS (RFC977) command instead.
${TIN_LIBDIR-/news/db}/newsgroups
This file provides shot descriptions of each newsgroup. It is normally
updated by the local newsserver (i.e
innd(8))
whenever a new group is created. Each line consist of two tab-separated
fields "group.nameone-line description".
only only tries to read the file if you read directly from the local spool,
if you read news via NNTP,
tin(1)
uses the LIST NEWSGROUPS (RFC2980) command instead.
${TIN_LIBDIR-/news/db}/overview.fmt
This file specifies the organization of the news overview database (see
also
newsoverview(5)).
The order of lines in this file is important; it determines the order in
which the fields will appear in the database.
tin(1)
currently only understands the order specified in RFC2980. See also
overview.fmt(5).
tin(1)
only tries to read the file if you read directly from the local spool,
if you read news via NNTP,
tin(1)
uses the LIST OVERVIEW.FMT (RFC2980) command instead.
${TIN_LIBDIR-/news/db}/subscriptions
This file contains a list of newsgroups - one per line - which the client
should subscribe to when the user has no ${TIN_HOMEDIR-"$HOME"}/.newsrc for
the newsserver.
tin(1)
only tries to read the file if you read directly from the local spool,
if you read news via NNTP,
tin(1)
uses the LIST SUBSCRIPTIONS (RFC2980) command instead.