@@ -13,17 +13,19 @@ REBOL [
13
13
14
14
make-banner : func [
15
15
"Build startup banner."
16
- fmt /local str star spc a b s
16
+ fmt /local str star spc a b s sf
17
17
] [
18
18
if string? fmt [return fmt] ; aleady built
19
- str: make string! 200
19
+ str: make string! 2000
20
20
star: format/pad [$30.107 74 $0] "" #"*"
21
21
22
22
spc: format [$30.107 "**" 70 "**" $0] ""
23
+ sf: [$30.107 "** " $35 68 $30.107 "**" $0]
23
24
parse fmt [
24
25
some [
25
26
[
26
- set a string! (s: format [$30.107 "** " $35 68 $30.107 "**" $0] a)
27
+ set a string! (s: format sf a)
28
+ | set a block! (s: format sf ajoin a)
27
29
| '= set a [string! | word! | set-word! ] [
28
30
b:
29
31
path! (b: get b/1 )
@@ -49,32 +51,45 @@ if #"/" <> first system/options/home [
49
51
sys/boot-banner: make-banner [
50
52
*
51
53
-
52
- "REBOL 3.0 (Oldes branch)"
54
+ [ "REBOL 3." system /version/2 #"." system /version/3 " (Oldes branch)"]
53
55
-
54
56
= Copyright: "2012 REBOL Technologies"
55
57
= "" "2012-2020 Rebol Open Source Contributors"
56
58
= "" "Apache 2.0 License, see LICENSE."
57
59
= Website: "https://github.com/Oldes/Rebol3"
58
60
-
59
- = Version: system/version
60
61
= Platform: [ajoin [system/platform " (" system/build/os ")" ]]
61
62
= Build: system/build/date
62
- = Warning: "For testing purposes only. Use at your own risk."
63
63
-
64
64
= Home: [to-local-file system/options/home ]
65
65
-
66
66
*
67
67
]
68
68
69
+ system/license: make-banner [
70
+ *
71
+ -
72
+ = Copyright: "2012 REBOL Technologies"
73
+ = "" "2012-2020 Rebol Open Source Contributors"
74
+ = "" "Licensed under the Apache License, Version 2.0."
75
+ = "" "https://www.apache.org/licenses/LICENSE-2.0"
76
+ -
77
+ = Notice: "https://github.com/Oldes/Rebol3/blob/master/NOTICE"
78
+ -
79
+ *
80
+ ]
81
+
82
+
69
83
sys/boot-help:
70
- {^[ [1;33;49mImportant notes^[ [0m:
84
+ {^[ [1;33mImportant notes^[ [0m:
71
85
72
86
* Sandbox and security are not fully available.
73
87
* Direct access to TCP HTTP required (no proxies).
88
+ * Use at your own risk.
74
89
75
- ^[ [1;33;49mSpecial functions^[ [0m:
90
+ ^[ [1;33mSpecial functions^[ [0m:
76
91
77
- ^[ [1;32;49mHelp ^[ [0m - show built-in help information
92
+ ^[ [1;32mHelp ^[ [0m - show built-in help information
78
93
}
79
94
80
95
;print make-banner boot-banner halt
0 commit comments