Skip to content

Commit 42ef0d5

Browse files
committed
CHANGE: updated banner and license output
1 parent 77a4122 commit 42ef0d5

File tree

2 files changed

+27
-17
lines changed

2 files changed

+27
-17
lines changed

src/boot/sysobj.reb

+3-8
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,11 @@ REBOL [
1818

1919
product: 'core
2020

21-
; Next three fields are updated during build:
21+
; Next four fields are updated during build:
2222
platform: none
2323
version: 0.0.0
24-
build: 1
25-
26-
license: {Copyright 2012 REBOL Technologies
27-
REBOL is a trademark of REBOL Technologies
28-
Licensed under the Apache License, Version 2.0.
29-
See: http://www.apache.org/licenses/LICENSE-2.0
30-
}
24+
build: 0
25+
license: none
3126

3227
catalog: object [
3328
; Static (non-changing) values, blocks, objects

src/mezz/mezz-banner.reb

+24-9
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ REBOL [
1313

1414
make-banner: func [
1515
"Build startup banner."
16-
fmt /local str star spc a b s
16+
fmt /local str star spc a b s sf
1717
][
1818
if string? fmt [return fmt] ; aleady built
19-
str: make string! 200
19+
str: make string! 2000
2020
star: format/pad [$30.107 74 $0] "" #"*"
2121

2222
spc: format [$30.107 "**" 70 "**" $0] ""
23+
sf: [$30.107 "** " $35 68 $30.107 "**" $0]
2324
parse fmt [
2425
some [
2526
[
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)
2729
| '= set a [string! | word! | set-word!] [
2830
b:
2931
path! (b: get b/1)
@@ -49,32 +51,45 @@ if #"/" <> first system/options/home [
4951
sys/boot-banner: make-banner [
5052
*
5153
-
52-
"REBOL 3.0 (Oldes branch)"
54+
["REBOL 3." system/version/2 #"." system/version/3 " (Oldes branch)"]
5355
-
5456
= Copyright: "2012 REBOL Technologies"
5557
= "" "2012-2020 Rebol Open Source Contributors"
5658
= "" "Apache 2.0 License, see LICENSE."
5759
= Website: "https://github.com/Oldes/Rebol3"
5860
-
59-
= Version: system/version
6061
= Platform: [ajoin [system/platform " (" system/build/os ")"]]
6162
= Build: system/build/date
62-
= Warning: "For testing purposes only. Use at your own risk."
6363
-
6464
= Home: [to-local-file system/options/home]
6565
-
6666
*
6767
]
6868

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+
6983
sys/boot-help:
70-
{^[[1;33;49mImportant notes^[[0m:
84+
{^[[1;33mImportant notes^[[0m:
7185
7286
* Sandbox and security are not fully available.
7387
* Direct access to TCP HTTP required (no proxies).
88+
* Use at your own risk.
7489
75-
^[[1;33;49mSpecial functions^[[0m:
90+
^[[1;33mSpecial functions^[[0m:
7691
77-
^[[1;32;49mHelp^[[0m - show built-in help information
92+
^[[1;32mHelp^[[0m - show built-in help information
7893
}
7994

8095
;print make-banner boot-banner halt

0 commit comments

Comments
 (0)