1# test config file
2
3# this is a one line comment
4
5// this is a C++-style one line comment
6///this is another C++-style one line comment
7
8/*
9 * This is a C-style multi-line comment
10 */
11
12BackLog = 2147483647
13
14bookmark heimdal {
15	login = "anonymous"
16	password = ${ANONPASS:-anonymous@}
17	directory = "/pub/heimdal/src"
18	machine = "ftp://ftp.pdc.kth.se:21"
19
20	proxy {
21	  type = 1
22	  host = ${HOST:-localhost}   # environment variable substitution
23	  #port = 21
24	  #exclude = {"localhost"  , ".localnet" , "fu.bar.net"}
25      exclude += {.aol.com , .sf.net}
26	}
27}
28
29probe-device = "eth1"
30# probe-device += "eth3"   # error, probe-device is not a list
31
32bookmark gazonk {
33 machine = "ssh://localhost"
34 login = joe
35 passive-mode = true
36 directory = '/pub/dir with spaces/\
37more'       # continued on next line
38  port = 022 # in octal mode
39 proxy {} /* use default proxy */
40}
41
42bookmark ftp.du.se {
43 machine = "ftp.du.se"
44// port = 0x21 /* hexadecimal */
45 login = ftp
46 proxy {
47   exclude = {.com.net}
48 }
49}
50
51/* functions can be called with variable number of arguments
52 */
53func( "one", "two", 'three',four )
54func( 1, 2 )
55
56//delays = {145.12345, .6,42, 4.987e2}
57//delays += {0.1, 0.2, 0.3}
58
59ask-quit = maybe
60
61#ask-quit-array = {"maybe", "maybe", "maybe"}
62ask-quit-array += {"no", "yes", "yes"}
63
64include(inc.conf)
65