forked from OpusVL/perl-ccfe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathccfe.conf
More file actions
86 lines (79 loc) · 2.92 KB
/
Copy pathccfe.conf
File metadata and controls
86 lines (79 loc) · 2.92 KB
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
# The Curses Command Front-end default configuration file.
global {
screen_layout = Normal
hide_cursor = YES
shell = /bin/sh
log_level = 1
#path = /path/to/add:/another/path/to/add
#user_shell = /bin/ksh
key_f2 = list
key_f3 = sel_items
key_f4 = back
key_f5 = show_action
key_f6 = save
key_f7 = shell_escape
key_f8 = redraw
key_f9 = exit
}
browser_global {
max_rows = 5000
info_attr = A_REVERSE
stderr_attr = A_BOLD
stdout_attr = A_NORMAL
end_marker = **** end of output ****
# Colour is optional and off by default. When the terminal supports it
# (and NO_COLOR is unset and the layout is not Simple), CCFE pre-creates
# the standard foreground colour pairs, so any *_attr below may reference
# COLOR_PAIR(n): 1=red 2=green 3=yellow 4=blue 5=magenta 6=cyan 7=white,
# over the terminal's default background, combinable with A_BOLD etc.
# For example, to show errors in bold red and info lines in cyan:
# stderr_attr = COLOR_PAIR(1) | A_BOLD
# info_attr = COLOR_PAIR(6)
}
menu_global {
mark_noaction_items = YES
# Screen appearance. Default is monochrome (screen normal, selected item
# reversed, bold header, reverse function keys). With colour available (see
# browser_global) these may use COLOR_PAIR(n) for a colour UI -- including
# the header (title_attr) and the control keys (key_attr), which apply to
# every screen. For example, a SMIT-like colour theme:
# screen_attr = COLOR_PAIR(6) # menu text
# selected_attr = COLOR_PAIR(3) | A_REVERSE | A_BOLD # highlight bar
# title_attr = COLOR_PAIR(3) | A_BOLD # header
# key_attr = COLOR_PAIR(2) | A_REVERSE | A_BOLD # control keys
# Ready-made examples ship as ccfe.conf.smit (classic monochrome) and
# ccfe.conf.smit-color (colour), under doc/samples after install.
}
form_global {
field_pad = " "
hidden_field_pad = "*"
show_changed_fields = YES
show_field_flags = YES
initial_ovl_mode = YES
}
field_attr {
label_fg = A_NORMAL
label_bg = A_NORMAL
value_fg = A_NORMAL
value_bg = A_UNDERLINE
changed_value_fg = A_BOLD
changed_value_bg = A_UNDERLINE
}
active_field_attr {
label_fg = A_BOLD
label_bg = A_NORMAL
value_fg = A_NORMAL
value_bg = A_REVERSE
changed_value_fg = A_NORMAL
changed_value_bg = A_REVERSE
}
# User-defined variables (see ccfe.conf(5) "VARIABLES CONFIGURATION SECTION").
# Define a value once and reference it as $NAME / ${NAME} in menu and form
# actions and in a field's list_cmd. Variables may reference each other; the
# references are resolved when the configuration is loaded. Used by the
# "Config variables demo" form (demo.d/vars.form).
variables {
DEMO_NAME = CCFE
DEMO_HELLO = Hello from ${DEMO_NAME} configuration variables!
LIST_DIR = /etc
}