Files
org-hyperion-cules/cnsllogo.h
Enrico Sorichetti 93005fb28b symbols cleanup
renamed some flags for consistency
	obey casing rules for symbol names ( case sensitive for unix like )
	deleted the setenv code
	proper stacking of symbols values
	some non symbols related mods ( cosmetics ??? )
	tested on ...
	Yosemite(CLANG), Centos-6(GCC), Centos-7 (CLANG and GCC)
	( reinstalling windows XP under VMware takes longer than planned )
2014-11-30 17:29:41 +01:00

130 lines
3.5 KiB
C

/* CNSLLOGO.H (c)Copyright Roger Bowler, 1999-2012 */
/* 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_
#if !defined SHORT_HOSTINFO && !defined LONG_HOSTINFO
#define SHORT_HOSTINFO
#endif
/* 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[]={
#if defined( ENABLE_BUILTIN_SYMBOLS )
"@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",
#ifdef SHORT_HOSTINFO
"$(HOSTOS)-$(HOSTOSREL)",
#else
"$(HOSTOS)-$(HOSTOSREL) $(HOSTOSVER)",
#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",
#endif /* #if defined( ENABLE_BUILTIN_SYMBOLS ) */
"@ALIGN LEFT",
"",
"",
" HHH HHH The S/370, ESA/390 and z/Architecture",
" HHH HHH Emulator",
" HHH HHH",
" HHH HHH EEEE RRR CCC U U L EEEE SSS",
" HHHHHHHHHHHHHHHH E R R C U U L E S",
" HHHHHHHHHHHHHHHH EEE RRR C U U L EEE SS",
" HHHHHHHHHHHHHHHH E R R C U U L E S",
" HHH HHH EEEE R R CCC UU LLLL EEEE SSS",
" HHH HHH",
" HHH HHH",
" HHH HHH My PC thinks it's a MAINFRAME",
"",
" Copyright (C) 1999-2012 Roger Bowler, Jan Jaeger, and others"
};
#endif /* #ifndef _CNSLLOGO_H_ */