-
Notifications
You must be signed in to change notification settings - Fork 110
/
test.conf
64 lines (50 loc) · 1.27 KB
/
test.conf
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
# test config file
# this is a one line comment
// this is a C -style one line comment
///this is another C -style one line comment
/*
* This is a C-style multi-line comment
*/
BackLog = 2147483647
bookmark heimdal {
login = "anonymous"
password = ${ANONPASS:-anonymous@}
directory = "/pub/heimdal/src"
machine = "ftp://ftp.pdc.kth.se:21"
proxy {
type = 1
host = ${HOST:-localhost} # environment variable substitution
#port = 21
#exclude = {"localhost" , ".localnet" , "fu.bar.net"}
exclude = {.aol.com , .sf.net}
}
}
probe-device = "eth1"
# probe-device = "eth3" # error, probe-device is not a list
bookmark gazonk {
machine = "ssh://localhost"
login = joe
passive-mode = true
directory = '/pub/dir with spaces/\
more' # continued on next line
port = 022 # in octal mode
proxy {} /* use default proxy */
}
bookmark ftp.du.se {
machine = "ftp.du.se"
// port = 0x21 /* hexadecimal */
login = ftp
proxy {
exclude = {.com.net}
}
}
/* functions can be called with variable number of arguments
*/
func( "one", "two", 'three',four )
func( 1, 2 )
//delays = {145.12345, .6,42, 4.987e2}
//delays = {0.1, 0.2, 0.3}
ask-quit = maybe
#ask-quit-array = {"maybe", "maybe", "maybe"}
ask-quit-array = {"no", "yes", "yes"}
include(inc.conf)