File: trnrc

package info (click to toggle)
trn4 4.0-test77-12
  • links: PTS, VCS
  • area: non-free
  • in suites: buster
  • size: 3,644 kB
  • sloc: ansic: 48,331; sh: 6,817; tcl: 1,696; yacc: 660; perl: 108; makefile: 24
file content (214 lines) | stat: -rw-r--r-- 6,628 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
# This is a sample .trn/trnrc file.

[environment]
LOCALTIMEFMT="%A, %B %e %Y, %r %Z"
KILLLOCAL=%+/Kill/%C
KILLGLOBAL=%+/Kill/Global
#KILLTHREADS=%+/Kill/Threads
XTERMMOUSE=%(%{TERM}=xterm?y:n)
MAILPOSTER="elm -i %h -s '%'s' '%'t'"
MAILHEADER="\\0"
FORWARDPOSTER="elm -i %h -s '%'[subject]' %\"^J^JTo: \""
FORWARDHEADER=^J
ATTRIBUTION="According to %)f <%>f>:"
SELECTCHARS=abcdefgijlmorstuvwxyz1234567890BCFGHIKVW

[options]
# ==Display Options========
Terse Output = #default of no
Pager Line-Marking = underline
Erase Screen = #default of no
Erase Each Line = #default of no
Muck Up Clear = #default of no
Background Spinner = yes
Charset = #default of patm
Filter Control Characters = #default of yes
# ==Selector Options========
Use Newsrc Selector = yes
Newsrc Selector Commands = #default of Z>
Use Addgroup Selector = yes
Addgroup Selector Commands = #default of Z>
Use Newsgroup Selector = yes
Newsgroup Selector Order = #default of natural
Newsgroup Selector Commands = #default of Z>
Newsgroup Selector Display Styles = #default of slm
Use News Selector = #default of yes
News Selector Mode = #default of threads
News Selector Order = #default of date
News Selector Commands = X>
News Selector Display Styles = ms
Option Selector Commands = #default of Z>
# ==Newsreading Options========
Use Threads = #default of yes
Select My Postings = parent
Initial Article Lines = #default of $LINES
Article Tree Lines = 11
Auto-Grow Groups = #default of yes
Compress Subjects = #default of yes
Join Subject Lines = #default of no
Line Num for Goto = #default of 1
Ignore THRU on Select = #default of yes
Read Breadth First = #default of no
Background Threading = #default of yes
Scan Mode Count = #default of 0
Header Magic = #default of 
Header Hiding = #default of 
# ==Posting Options========
Cited Text String = "> "
# ==Save Options========
Save Dir = #default of %./News
Auto Savename = #default of no
Default Savefile Type = norm
# ==Mouse Options========
Use XTerm Mouse = #default of no
Mouse Modes = #default of acjlptwK
Newsrc Selector Mousebar = #default of [Top]^ [PgUp]< [PgDn]> [ OK ]^j [Quit]q [Help]?
Addgroup Selector Mousebar = #default of [Top]^ [Bot]$ [PgUp]< [PgDn]> [ OK ]Z [Quit]q [Help]?
Newsgroup Selector Mousebar = #default of [Top]^ [PgUp]< [PgDn]> [ OK ]Z [Quit]q [Help]?
News Selector Mousebar = #default of [Top]^ [Bot]$ [PgUp]< [PgDn]> [KillPg]D [ OK ]Z [Quit]q [Help]?
Option Selector Mousebar = #default of [Find]/ [FindNext]/^j [Top]^ [Bot]$ [PgUp]< [PgDn]> [Use]^i [Save]S [Abandon]q [Help]?
Article Pager Mousebar = #default of [Next]n [Sel]+ [Quit]q [Help]h
# ==MIME Options========
Multipart Separator = #default of -=-=-=-=-=-
Auto-View Inline = #default of no
# ==Misc Options========
Check for New Groups = #default of yes
Restriction Includes Empty Groups = #default of yes
Append Unsubscribed Groups = #default of no
Initial Group List = no
Restart At Last Group = #default of no
Eat Type-Ahead = #default of yes
Verify Input = #default of no
Fuzzy Newsgroup Names = yes
Auto Arrow Macros = #default of yes
Checkpoint Newsrc Frequency = #default of 20
Default Refetch Time = #default of 4 hours
Novice Delays = no
Old Mthreads Database = #default of no

# Make Use XTerm Mouse default to Yes if this is an xterm or similar
[options] %{TERM}=^xterm\\|^vs100
Use XTerm Mouse = Yes
Auto-View Inline = Yes

# The [attribute] section attaches highlight attributes (standout,
# underline, or normal) to various screen objects.  If you have a
# color terminal, you can specify colors instead (see below).  If
# you specify '-' it means don't change the attribute from its
# current setting.

[attribute]
# object	= attr
ngname		= standout
plus		= -
minus		= -
star		= -
header		= normal
subject		= underline
tree		= normal
tree marker	= standout
more		= standout
heading		= standout
command		= standout
mouse bar	= standout
notice		= standout
score		= standout
art heading	= normal
mime separator	= standout
mime description= underline
cited text	= -

# The [termcap] section is needed if you want to specify colors in
# the [attribute] section (and must precede it).  Any color names
# can be used (up to around 48 names), but they must be in the form
# "fg color" and "bg color" and fg/bg default must be defined.

[termcap] %{TERM}=color-xterm\\|color-vs100
# fg/bg color = string
fg default = \033[m
fg black   = \033[30m
fg red     = \033[31m
fg green   = \033[32m
fg yellow  = \033[33m
fg blue    = \033[34m
fg magenta = \033[35m
fg cyan    = \033[36m
fg white   = \033[37m
bg default = #\033[m
bg black   = \033[40m
bg red     = \033[41m
bg green   = \033[42m
bg yellow  = \033[43m
bg blue    = \033[44m
bg magenta = \033[45m
bg cyan    = \033[46m
bg white   = \033[47m

# Here's a color version of the [attribute] that will override the
# above section if the TERM variable matches the indicated value.
# The attribute is normally set to '-' as mixing colors and attributes
# rarely produces any usable result.  The attribute standout might be
# useful if a terminal only supports foreground colors, i.e. perhaps
# "normal white blue" can be written as "standout blue -".

[attribute] %{TERM}=color-xterm\\|color-vs100
# object	= attr	fg	bg
ngname		= -	white	blue
plus		= -	black	green
minus		= -	white	red
star		= -	white	blue
header		= -	blue	-
subject		= -	blue	yellow
tree		= -	red	-
tree marker	= -	white	red
more		= -	yellow	black
heading		= -	white	blue
command		= -	yellow	black
mouse bar	= -	white	blue
notice		= -	blue	-
score		= -	blue	-
art heading	= -	white	blue
mime separator	= -	blue	-
mime description= -	blue	yellow
cited text	= -	blue	-

# Here's a sample vt100 [termcap] and [attribute] section that defines
# the "bold" capability

[termcap] %{TERM}=vt100
fg default = \033[m
fg bold    = \033[1m
bg default = #\033[m

[attribute] %{TERM}=vt100
# object	= attr	fg	bg
tree		= -	bold	-
mime separator	= -	bold	-
mime description= -	bold	-
cited text	= -	bold	-

# These trailing sections will override the above sections.
# These examples are conditional on various parameters.

[environment] %H=local.host.com		# check the host name
NETSPEED=fast

[options] %j = 2400			# check the line speed
Initial Article Lines = 8

[environment] %{DEBUG}=yes		# check an environment variable
NEWSHEADER='\
%(%[followup-to]=^$?:%(%[followup-to]=^%n$?:X-ORIGINAL-NEWSGROUPS: %n
))Newsgroups: %(%F=^$?%C:%F)
Subject: %(%S=^$?%"^J^JSubject: ":Re: %S)
Summary: 
Expires: 
%(%R=^$?:References: %R
)Sender: 
Followup-To: 
%(%{REPLYTO}=^$?:Reply-To: %{REPLYTO}
)Distribution: %(%i=^$?%"Distribution: ":%D)
Organization: %o
Keywords: %[keywords]
Cc: %(%F=poster?%t:%(%F!=@?:%F))
^J'