-
Notifications
You must be signed in to change notification settings - Fork 0
/
salomon.cfg.default
218 lines (208 loc) · 7.5 KB
/
salomon.cfg.default
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
215
216
217
218
##############################################################################
# #
# Global config file for Salomon. #
# #
# This file contains various options which can be set. There is no need to #
# change or set anything here to get Salomon running. #
# #
# The options inside this file cannot be set via command-line arguments. #
# #
# Important notice: Ensure that there are no spaces around the equal #
# signs of all options. Otherwise settings will not #
# be applied correctly or Salomon may even crash #
# under certain circumstances. #
# #
##############################################################################
# Delay for printing output lines:
#
# The default amount of milliseconds to wait between each output line.
# Relevant only when using the command-line argument to slow down the
# output.
#
# Options:
# 100 = minimum
# 200 = default
# 900 = maximum
#
delay=200
# Delay for processing input files via 'less':
#
# When using the '--less' command-line argument the input files are pre-
# processed and then displayed by the 'less' tool.
#
# While processing the input data, the CPU load may increase significantly
# depending on the file size. In order to decrease the CPU load, a marginal
# delay is used while processing.
#
# Options:
# 1 = minimum
# 4 = default
# 900 = maximum
#
less_delay=4
# Highlight foreground color:
#
# When using color codes for highlighting matches the foreground may be
# hard to recognize and read, so the foreground color for highlighted
# matches can be set manually.
#
# Options:
# terminal = use the foreground color of the terminal (default)
# black = always use black foreground
# white = always use white foreground
#
highlight_forecolor=terminal
# Separator line:
#
# While monitoring multiple files, an obvious separator line will be added
# each time Salomon has received data from a different file. If disabled,
# the default separator of the 'tail' command will be used.
#
# Options:
# 0 = disabled
# 1 = enabled (default)
#
separator_line=1
# Line width:
#
# This option applies to the width of the lines of the information header
# and footer, the line of the prompt when using the '--pause' argument as
# well as the file separator line when monitoring multiple files. In earlier
# versions, these lines had a fixed width.
#
# Options:
# auto = automatically set the width based on the terminal size (default)
# fixed = use the fixed width of 78 characters
#
line_width=auto
# Box-drawing characters:
#
# Use box-drawing characters for the output messages instead of of asterisk,
# hyphen and equals chars.
#
# Options:
# 0 = disabled
# 1 = enabled (default)
#
boxdrawing_chars=1
# Leading line character:
#
# Add a pipe character (or a line character if box-drawing characters are
# enabled) at the beginning of each output line. This allows distinguishing
# the output of a command like 'tail' compared to Solomon.
#
# Options:
# 0 = disabled (default)
# 1 = enabled
#
leading_line_char=0
#
# The leading line character can be changed to a custom one. However, this
# only takes effect when enabling box-drawing characters (see above).
#
# If you do not set any custom character, the default one will be used. You
# can only use one character. In case you enter multiple characters, the
# first one will be used.
#
leading_line_char_custom=""
#
# The leading line character uses the default terminal foreground color.
# However, it can be alternatively colored like the line it starts with.
# For example, if the output line is green, the leading line character will
# also be that way. This also applies to highlighting.
#
# Options:
# 0 = disabled (default)
# 1 = enabled
#
leading_line_char_colored=0
#
# Manually set the color of the leading line character. You may run the main
# script with the '--color-table' command-line argument for an overview of
# the colors the terminal emulator supports (can display).
#
# ./salomon.sh --color-table
#
# This option will only take effect when the option for colored leading line
# characters above is enabled.
#
# Options:
# 0 = shell foreground color (default)
# 1 to 255 = corresponding color value
#
leading_line_char_custom_color=0
# Leading timestamp
#
# Print a timestamp in the format given below to lines when using monitoring
# mode. For details about the formats available, read either the manpage via
# the command 'man date' or the usage information via 'date --help'.
#
# If the option below is not set (empty), the default value
#
# "+%Y-%m-%d %H:%M:%S "
#
# will be used (as shown with a single trailing space).
#
leading_timestamp="+%Y-%m-%d %H:%M:%S "
# Usage information:
#
# Print the usage information with colored text instead of the default
# shell color, only.
#
# Options:
# 0 = disabled
# 1 = enabled (default)
#
usage_color=1
# Interactive dialogs:
#
# Salomon supports the following dialog programs to display those dialogs.
# When using the 'auto' option, it first tries to use 'dialog' and in case
# it is unavailable, it switches to 'whiptail'.
#
# In case an unsupported program (which is not listed) is given, there is a
# fallback to the default option.
#
# Options:
# auto (default)
# dialog
# whiptail
#
dialog_program=auto
#
# When using the interactive mode, some dialogs asking for required and
# optional settings (such as paths, filters and values) will appear. The
# following options allow customizing which of them should be shown.
#
# Notice that the dialogs for the required arguments cannot be disabled.
#
# Options:
# 0 = disabled
# 1 = enabled (default for all)
#
dialog_show_color=1 # Show color configuration file dialog
dialog_show_delay=1 # Show delay dialog (on slow down)
dialog_show_exclude=1 # Show exclude pattern dialog
dialog_show_export=1 # Show export to file dialog
dialog_show_filter=1 # Show filter pattern dialog
dialog_show_head_lines=1 # Show first lines (head) dialog
dialog_show_highlight=1 # Show highlight dialog (highlighting modes)
dialog_show_ignorecase=1 # Show ignore case dialog
dialog_show_merge=1 # Show merge input files dialog
dialog_show_noinfo=1 # Show information header and footer dialog
dialog_show_pause=1 # Show pause output dialog
dialog_show_prompt=1 # Show prompt on exit dialog
dialog_show_remove=1 # Show remove pattern dialog
dialog_show_slowdown=1 # Show slow down dialog
dialog_show_tail_lines=1 # Show last lines (tail) dialog
dialog_show_wait=1 # Show wait on match dialog
dialog_show_welcome=1 # Show welcome dialog
#
# The shadows of the dialogs can be disabled. However, this only works with
# the 'dialog' command (when using 'whiptail' this option will be ignored).
#
# Options:
# 0 = disabled
# 1 = enabled (default)
#
dialog_shadow=1