-
Notifications
You must be signed in to change notification settings - Fork 92
/
cnsllogo.h
125 lines (106 loc) · 3.38 KB
/
cnsllogo.h
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/* CNSLLOGO.H (c)Copyright Roger Bowler, 1999-2012 */
/* (C) and others 2013-2023 */
/* Hercules Console Logo */
/* */
/* Released under "The Q Public License Version 1" */
/* (http://www.hercules-390.org/herclic.html) as modifications to */
/* Hercules. */
/* This is the default LOGO */
#ifndef _CNSLLOGO_H_
#define _CNSLLOGO_H_
/* The following is an extract from the README.HERCLOGO file
Each line in the array represent either an order or a plain text line.
The orders are as follows :
@SBA X,Y
Position the current buffer position to Row X col Y (X and Y start at 0)
@SF [H][P]
Set the Highlight and/or Protected attribute
@NL
Forces going to the next line
@ALIGN NONE|LEFT|RIGHT|CENTER
Specified the text alignement (relative to the left and right borders of the
terminal). When ALIGN is other than "NONE", a new line is automatically
inserted after each line of text. If ALIGN is "NONE", then the text will
be written without skipping to the next line.
It is also possible to embbed substitution variables in outgoing text.
Substition is indicated by enclosing the variable name between $( and ).
The following variables are defined in that environment :
VERSION : The hercules version
HOSTNAME : The host name on which hercules is running
HOSTOS : The host operating system
HOSTOSREL : The Host operating system release
HOSTOSVER : The host operating system version
HOSTARCH : The host architecture
HOSTNUMCPUS : UP (for 1) or MP=X (for more than 1)
LPARNAME : The LPAR name specified in the configuration file
CCUU,ccuu,CUU,cuu : Various forms of the device number of the terminal
CSS : The Logical Channel Subsystem Set or Channel Set for the terminal
SUBCHAN : The Subchannel number for the terminal
It is also possible to use any defined symbol or environment variable.
*/
static char *herclogo[]={
"@ALIGN NONE",
"@SBA 0,0",
"@SF P",
"Hercules Version :",
"@SF HP",
"$(VERSION)",
"@NL",
"@SF P",
"Host name :",
"@SF HP",
"$(HOSTNAME)",
"@NL",
"@SF P",
"Host OS :",
"@SF HP",
#if defined( OPTION_LONG_HOSTINFO )
"$(HOSTOS)-$(HOSTOSREL) $(HOSTOSVER)",
#else
"$(HOSTOS)-$(HOSTOSREL)",
#endif
"@NL",
"@SF P",
"Host Architecture :",
"@SF HP",
"$(HOSTARCH)",
"@NL",
"@SF P",
"Processors :",
"@SF HP",
"$(HOSTNUMCPUS)",
"@NL",
"@SF P",
"LPAR Name :",
"@SF HP",
"$(LPARNAME)",
"@NL",
"@SF P",
"Device number :",
"@SF HP",
"$(CSS):$(CCUU)",
"@NL",
"@SF P",
"Subchannel :",
"@SF HP",
"$(SUBCHAN)",
"@SF P",
"@ALIGN LEFT",
"",
"",
" The Hercules S/370, ESA/390 and z/Architecture Emulator",
" SDL 4.x Hyperion",
" _ _ _",
" | | | | (_)",
" | |__| | _ _ _ __ ___ _ __ _ ___ _ __",
" | __ || | | || '_ \\ / _ \\| '__|| | / _ \\ | '_ \\",
" | | | || |_| || |_) || __/| | | || (_) || | | |",
" |_| |_| \\__, || .__/ \\___||_| |_| \\___/ |_| |_|",
" __/ || |",
" |___/ |_|",
"",
" My PC thinks it's a MAINFRAME!",
"",
" Copyright (C) 1999-2024 Roger Bowler, Jan Jaeger, and others"
};
#endif /* #ifndef _CNSLLOGO_H_ */