#ifndef h_sp_banner #define h_sp_banner /****************************************************************************** * * sp.banner - uniVerse banner line generator * * Module %M% Version %I% Date %H% * * (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved * This is unpublished proprietary source code of Ardent Software Inc. * The copyright notice above does not evidence any actual or intented * publication of such source code. * ******************************************************************************* * * Maintenence log - insert most recent change descriptions at top * * Date.... GTAR# WHO Description......................................... * 10/14/98 23801 SAP Change copyrights. * 12/05/95 17667 JC Added NLS non-ASCII banner. * 03/20/91 8150 JWT fix A character map * 03/10/90 6917 JWT SCO unix port * 07/25/88 - - Maintenence log purged at 5.2.1, see release 5.1.10. * *****************************************************************************/ /* This is the prestored bit map for generation of banner */ char bitmap[128][12] = { { '\000', /* " " NUL */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\030', /* " ** " SOH */ '\044', /* " * * " */ '\040', /* " * " */ '\020', /* " * " */ '\030', /* " ** " */ '\044', /* " * * " */ '\044', /* " * * " */ '\030', /* " ** " */ '\010', /* " * " */ '\004', /* " * " */ '\044', /* " * * " */ '\030' }, /* " ** " */ { '\176', /* " ****** " STX */ '\224', /* "* * * " */ '\224', /* "* * * " */ '\224', /* "* * * " */ '\164', /* " *** * " */ '\044', /* " * * " */ '\044', /* " * * " */ '\044', /* " * * " */ '\044', /* " * * " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\074', /* " **** " ETX */ '\102', /* " * * " */ '\100', /* " * " */ '\100', /* " * " */ '\360', /* "**** " */ '\100', /* " * " */ '\100', /* " * " */ '\102', /* " * * " */ '\274', /* "* **** " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " EOT */ '\000', /* " " */ '\020', /* " * " */ '\174', /* " ***** " */ '\222', /* "* * * " */ '\220', /* "* * " */ '\220', /* "* * " */ '\222', /* "* * * " */ '\174', /* " ***** " */ '\020', /* " * " */ '\000', /* " " */ '\000' }, /* " " */ { '\202', /* "* * " ENQ */ '\104', /* " * * " */ '\050', /* " * * " */ '\020', /* " * " */ '\174', /* " ***** " */ '\000', /* " " */ '\174', /* " ***** " */ '\020', /* " * " */ '\020', /* " * " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\376', /* "******* " ACK */ '\102', /* " * * " */ '\040', /* " * " */ '\020', /* " * " */ '\010', /* " * " */ '\020', /* " * " */ '\040', /* " * " */ '\102', /* " * * " */ '\376', /* "******* " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " BEL */ '\000', /* " " */ '\020', /* " * " */ '\070', /* " *** " */ '\104', /* " * * " */ '\104', /* " * * " */ '\104', /* " * * " */ '\202', /* "* * " */ '\376', /* "******* " */ '\020', /* " * " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " BS */ '\000', /* " " */ '\000', /* " " */ '\040', /* " * " */ '\100', /* " * " */ '\376', /* "******* " */ '\100', /* " * " */ '\040', /* " * " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " HT */ '\000', /* " " */ '\000', /* " " */ '\010', /* " * " */ '\004', /* " * " */ '\376', /* "******* " */ '\004', /* " * " */ '\010', /* " * " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\020', /* " * " LF */ '\020', /* " * " */ '\020', /* " * " */ '\020', /* " * " */ '\020', /* " * " */ '\222', /* "* * * " */ '\124', /* " * * * " */ '\070', /* " *** " */ '\020', /* " * " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\020', /* " * " VT */ '\070', /* " *** " */ '\124', /* " * * * " */ '\222', /* "* * * " */ '\020', /* " * " */ '\020', /* " * " */ '\020', /* " * " */ '\020', /* " * " */ '\020', /* " * " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " FF */ '\000', /* " " */ '\000', /* " " */ '\140', /* " ** " */ '\262', /* "* ** * " */ '\054', /* " * ** " */ '\050', /* " * * " */ '\050', /* " * * " */ '\050', /* " * * " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " CR */ '\000', /* " " */ '\000', /* " " */ '\154', /* " ** ** " */ '\222', /* "* * * " */ '\222', /* "* * * " */ '\154', /* " ** ** " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\303', /* "** **" SO */ '\303', /* "** **" */ '\303', /* "** **" */ '\303', /* "** **" */ '\303', /* "** **" */ '\303', /* "** **" */ '\303', /* "** **" */ '\347', /* "*** ***" */ '\176', /* " ****** " */ '\074', /* " **** " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " SI */ '\000', /* " " */ '\000', /* " " */ '\067', /* " ** ***" */ '\077', /* " ******" */ '\071', /* " *** *" */ '\061', /* " ** *" */ '\061', /* " ** *" */ '\061', /* " ** *" */ '\061', /* " ** *" */ '\000', /* " " */ '\000' }, /* " " */ { '\031', /* " ** *" DLE */ '\031', /* " ** *" */ '\001', /* " *" */ '\030', /* " ** " */ '\230', /* "* ** " */ '\230', /* "* ** " */ '\230', /* "* ** " */ '\230', /* "* ** " */ '\230', /* "* ** " */ '\230', /* "* ** " */ '\000', /* " " */ '\000' }, /* " " */ { '\206', /* "* ** " DC1 */ '\206', /* "* ** " */ '\206', /* "* ** " */ '\314', /* "** ** " */ '\314', /* "** ** " */ '\314', /* "** ** " */ '\170', /* " **** " */ '\170', /* " **** " */ '\060', /* " ** " */ '\060', /* " ** " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " DC2 */ '\000', /* " " */ '\000', /* " " */ '\076', /* " ***** " */ '\177', /* " *******" */ '\143', /* " ** **" */ '\177', /* " *******" */ '\140', /* " ** " */ '\177', /* " *******" */ '\076', /* " ***** " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " DC3 */ '\000', /* " " */ '\000', /* " " */ '\067', /* " ** ***" */ '\077', /* " ******" */ '\070', /* " *** " */ '\060', /* " ** " */ '\060', /* " ** " */ '\060', /* " ** " */ '\060', /* " ** " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " DC4 */ '\000', /* " " */ '\000', /* " " */ '\037', /* " *****" */ '\077', /* " ******" */ '\060', /* " ** " */ '\037', /* " *****" */ '\001', /* " *" */ '\077', /* " ******" */ '\037', /* " *****" */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " NAK */ '\000', /* " " */ '\000', /* " " */ '\017', /* " ****" */ '\237', /* "* *****" */ '\030', /* " ** " */ '\037', /* " *****" */ '\230', /* "* ** " */ '\237', /* "* *****" */ '\017', /* " ****" */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " SYN */ '\000', /* " " */ '\000', /* " " */ '\200', /* "* " */ '\300', /* "** " */ '\300', /* "** " */ '\300', /* "** " */ '\000', /* " " */ '\300', /* "** " */ '\200', /* "* " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " ETB */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " CAN */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " EM */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " SUB */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\030', /* " ** " ESC */ '\030', /* " ** " */ '\000', /* " " */ '\000', /* " " */ '\030', /* " ** " */ '\030', /* " ** " */ '\030', /* " ** " */ '\030', /* " ** " */ '\030', /* " ** " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " FS */ '\000', /* " " */ '\000', /* " " */ '\020', /* " * " */ '\000', /* " " */ '\020', /* " * " */ '\020', /* " * " */ '\140', /* " ** " */ '\200', /* "* " */ '\200', /* "* " */ '\204', /* "* * " */ '\170' }, /* " **** " */ { '\000', /* " " GS */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\020', /* " * " */ '\050', /* " * * " */ '\104', /* " * * " */ '\376', /* "******* " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " RS */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\376', /* "******* " */ '\202', /* "* * " */ '\202', /* "* * " */ '\376', /* "******* " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\376', /* "******* " US */ '\376', /* "******* " */ '\376', /* "******* " */ '\376', /* "******* " */ '\376', /* "******* " */ '\376', /* "******* " */ '\376', /* "******* " */ '\376', /* "******* " */ '\376', /* "******* " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " SP */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\030', /* " !! " */ '\030', /* " !! " */ '\030', /* " !! " */ '\030', /* " !! " */ '\030', /* " !! " */ '\000', /* " " */ '\000', /* " " */ '\030', /* " !! " */ '\030', /* " !! " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\110', /* " " " " */ '\110', /* " " " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\050', /* " # # " */ '\050', /* " # # " */ '\376', /* "####### " */ '\050', /* " # # " */ '\376', /* "####### " */ '\050', /* " # # " */ '\050', /* " # # " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\020', /* " $ " */ '\174', /* " $$$$$ " */ '\222', /* "$ $ $ " */ '\220', /* "$ $ " */ '\174', /* " $$$$$ " */ '\022', /* " $ $ " */ '\222', /* "$ $ $ " */ '\174', /* " $$$$$ " */ '\020', /* " $ " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\100', /* " % " */ '\242', /* "% % % " */ '\104', /* " % % " */ '\010', /* " % " */ '\020', /* " % " */ '\040', /* " % " */ '\104', /* " % % " */ '\212', /* "% % % " */ '\004', /* " % " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\140', /* " && " */ '\220', /* "& & " */ '\210', /* "& & " */ '\120', /* " & & " */ '\040', /* " & " */ '\122', /* " & & & " */ '\214', /* "& && " */ '\214', /* "& && " */ '\162', /* " &&& & " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\014', /* " '' " */ '\014', /* " '' " */ '\010', /* " ' " */ '\020', /* " ' " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\010', /* " ( " */ '\020', /* " ( " */ '\040', /* " ( " */ '\040', /* " ( " */ '\040', /* " ( " */ '\040', /* " ( " */ '\040', /* " ( " */ '\020', /* " ( " */ '\010', /* " ( " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\040', /* " ) " */ '\020', /* " ) " */ '\010', /* " ) " */ '\010', /* " ) " */ '\010', /* " ) " */ '\010', /* " ) " */ '\010', /* " ) " */ '\020', /* " ) " */ '\040', /* " ) " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\020', /* " * " */ '\222', /* "* * * " */ '\124', /* " * * * " */ '\070', /* " *** " */ '\124', /* " * * * " */ '\222', /* "* * * " */ '\020', /* " * " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\020', /* " + " */ '\020', /* " + " */ '\020', /* " + " */ '\376', /* "+++++++ " */ '\020', /* " + " */ '\020', /* " + " */ '\020', /* " + " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\060', /* " ,, " */ '\060', /* " ,, " */ '\040', /* " , " */ '\100', /* " , " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\376', /* "------- " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\030', /* " .. " */ '\030', /* " .. " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\002', /* " / " */ '\004', /* " / " */ '\010', /* " / " */ '\020', /* " / " */ '\040', /* " / " */ '\100', /* " / " */ '\200', /* "/ " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\174', /* " 00000 " */ '\202', /* "0 0 " */ '\206', /* "0 00 " */ '\212', /* "0 0 0 " */ '\222', /* "0 0 0 " */ '\242', /* "0 0 0 " */ '\302', /* "00 0 " */ '\202', /* "0 0 " */ '\174', /* " 00000 " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\020', /* " 1 " */ '\060', /* " 11 " */ '\120', /* " 1 1 " */ '\020', /* " 1 " */ '\020', /* " 1 " */ '\020', /* " 1 " */ '\020', /* " 1 " */ '\020', /* " 1 " */ '\174', /* " 11111 " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\174', /* " 22222 " */ '\202', /* "2 2 " */ '\002', /* " 2 " */ '\004', /* " 2 " */ '\070', /* " 222 " */ '\100', /* " 2 " */ '\200', /* "2 " */ '\200', /* "2 " */ '\376', /* "2222222 " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\174', /* " 33333 " */ '\202', /* "3 3 " */ '\002', /* " 3 " */ '\002', /* " 3 " */ '\174', /* " 33333 " */ '\002', /* " 3 " */ '\002', /* " 3 " */ '\202', /* "3 3 " */ '\174', /* " 33333 " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\004', /* " 4 " */ '\014', /* " 44 " */ '\024', /* " 4 4 " */ '\044', /* " 4 4 " */ '\104', /* " 4 4 " */ '\204', /* "4 4 " */ '\376', /* "4444444 " */ '\004', /* " 4 " */ '\004', /* " 4 " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\376', /* "5555555 " */ '\200', /* "5 " */ '\200', /* "5 " */ '\370', /* "55555 " */ '\004', /* " 5 " */ '\002', /* " 5 " */ '\002', /* " 5 " */ '\204', /* "5 5 " */ '\170', /* " 5555 " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\074', /* " 6666 " */ '\100', /* " 6 " */ '\200', /* "6 " */ '\200', /* "6 " */ '\274', /* "6 6666 " */ '\302', /* "66 6 " */ '\202', /* "6 6 " */ '\202', /* "6 6 " */ '\174', /* " 66666 " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\376', /* "7777777 " */ '\202', /* "7 7 " */ '\004', /* " 7 " */ '\010', /* " 7 " */ '\020', /* " 7 " */ '\040', /* " 7 " */ '\040', /* " 7 " */ '\040', /* " 7 " */ '\040', /* " 7 " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\174', /* " 88888 " */ '\202', /* "8 8 " */ '\202', /* "8 8 " */ '\202', /* "8 8 " */ '\174', /* " 88888 " */ '\202', /* "8 8 " */ '\202', /* "8 8 " */ '\202', /* "8 8 " */ '\174', /* " 88888 " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\174', /* " 99999 " */ '\202', /* "9 9 " */ '\202', /* "9 9 " */ '\202', /* "9 9 " */ '\176', /* " 999999 " */ '\002', /* " 9 " */ '\002', /* " 9 " */ '\202', /* "9 9 " */ '\174', /* " 99999 " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\060', /* " :: " */ '\060', /* " :: " */ '\000', /* " " */ '\000', /* " " */ '\060', /* " :: " */ '\060', /* " :: " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\060', /* " ;; " */ '\060', /* " ;; " */ '\000', /* " " */ '\000', /* " " */ '\060', /* " ;; " */ '\060', /* " ;; " */ '\040', /* " ; " */ '\100', /* " ; " */ '\000' }, /* " " */ { '\004', /* " < " */ '\010', /* " < " */ '\020', /* " < " */ '\040', /* " < " */ '\100', /* " < " */ '\040', /* " < " */ '\020', /* " < " */ '\010', /* " < " */ '\004', /* " < " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\376', /* "======= " */ '\000', /* " " */ '\376', /* "======= " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\100', /* " > " */ '\040', /* " > " */ '\020', /* " > " */ '\010', /* " > " */ '\004', /* " > " */ '\010', /* " > " */ '\020', /* " > " */ '\040', /* " > " */ '\100', /* " > " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\170', /* " ???? " */ '\204', /* "? ? " */ '\004', /* "? ? " */ '\004', /* " ? " */ '\030', /* " ?? " */ '\040', /* " ? " */ '\040', /* " ? " */ '\000', /* " " */ '\040', /* " ? " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\074', /* " @@@@ " */ '\102', /* " @ @ " */ '\232', /* "@ @@ @ " */ '\252', /* "@ @ @ @ " */ '\252', /* "@ @ @ @ " */ '\274', /* "@ @@@@ " */ '\200', /* "@ " */ '\100', /* " @ " */ '\076', /* " @@@@@ " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\070', /* " AAA " */ '\104', /* " A A " */ '\202', /* "A A " */ '\202', /* "A A " */ '\376', /* "AAAAAAA " */ '\202', /* "A A " */ '\202', /* "A A " */ '\202', /* "A A " */ '\202', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\374', /* "BBBBBB " */ '\102', /* " B B " */ '\102', /* " B B " */ '\102', /* " B B " */ '\174', /* " BBBBB " */ '\102', /* " B B " */ '\102', /* " B B " */ '\102', /* " B B " */ '\374', /* "BBBBBB " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\074', /* " CCCC " */ '\102', /* " C C " */ '\200', /* "C " */ '\200', /* "C " */ '\200', /* "C " */ '\200', /* "C " */ '\200', /* "C " */ '\102', /* " C C " */ '\074', /* " CCCC " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\370', /* "DDDDD " */ '\104', /* " D D " */ '\102', /* " D D " */ '\102', /* " D D " */ '\102', /* " D D " */ '\102', /* " D D " */ '\102', /* " D D " */ '\104', /* " D D " */ '\370', /* "DDDDD " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\376', /* "EEEEEEE " */ '\200', /* "E " */ '\200', /* "E " */ '\200', /* "E " */ '\374', /* "EEEEEE " */ '\200', /* "E " */ '\200', /* "E " */ '\200', /* "E " */ '\376', /* "EEEEEEE " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\376', /* "FFFFFFF " */ '\200', /* "F " */ '\200', /* "F " */ '\200', /* "F " */ '\374', /* "FFFFFF " */ '\200', /* "F " */ '\200', /* "F " */ '\200', /* "F " */ '\200', /* "F " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\074', /* " GGGG " */ '\102', /* " G G " */ '\200', /* "G " */ '\200', /* "G " */ '\200', /* "G " */ '\236', /* "G GGGG " */ '\202', /* "G G " */ '\102', /* " G G " */ '\074', /* " GGGG " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\202', /* "H H " */ '\202', /* "H H " */ '\202', /* "H H " */ '\202', /* "H H " */ '\376', /* "HHHHHHH " */ '\202', /* "H H " */ '\202', /* "H H " */ '\202', /* "H H " */ '\202', /* "H H " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\174', /* " IIIII " */ '\020', /* " I " */ '\020', /* " I " */ '\020', /* " I " */ '\020', /* " I " */ '\020', /* " I " */ '\020', /* " I " */ '\020', /* " I " */ '\174', /* " IIIII " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\076', /* " JJJJJ " */ '\010', /* " J " */ '\010', /* " J " */ '\010', /* " J " */ '\010', /* " J " */ '\010', /* " J " */ '\010', /* " J " */ '\210', /* "J J " */ '\160', /* " JJJ " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\202', /* "K K " */ '\204', /* "K K " */ '\210', /* "K K " */ '\220', /* "K K " */ '\240', /* "K K " */ '\320', /* "KK K " */ '\210', /* "K K " */ '\204', /* "K K " */ '\202', /* "K K " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\200', /* "L " */ '\200', /* "L " */ '\200', /* "L " */ '\200', /* "L " */ '\200', /* "L " */ '\200', /* "L " */ '\200', /* "L " */ '\200', /* "L " */ '\376', /* "LLLLLLL " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\202', /* "M M " */ '\306', /* "MM MM " */ '\252', /* "M M M M " */ '\222', /* "M M M " */ '\202', /* "M M " */ '\202', /* "M M " */ '\202', /* "M M " */ '\202', /* "M M " */ '\202', /* "M M " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\202', /* "N N " */ '\302', /* "NN N " */ '\242', /* "N N N " */ '\222', /* "N N N " */ '\212', /* "N N N " */ '\206', /* "N NN " */ '\202', /* "N N " */ '\202', /* "N N " */ '\202', /* "N N " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\070', /* " OOO " */ '\104', /* " O O " */ '\202', /* "O O " */ '\202', /* "O O " */ '\202', /* "O O " */ '\202', /* "O O " */ '\202', /* "O O " */ '\104', /* " O O " */ '\070', /* " OOO " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\374', /* "PPPPPP " */ '\202', /* "P P " */ '\202', /* "P P " */ '\202', /* "P P " */ '\374', /* "PPPPPP " */ '\200', /* "P " */ '\200', /* "P " */ '\200', /* "P " */ '\200', /* "P " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\070', /* " QQQ " */ '\104', /* " Q Q " */ '\202', /* "Q Q " */ '\202', /* "Q Q " */ '\202', /* "Q Q " */ '\222', /* "Q Q Q " */ '\212', /* "Q Q Q " */ '\104', /* " Q Q " */ '\072', /* " QQQ Q " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\374', /* "RRRRRR " */ '\202', /* "R R " */ '\202', /* "R R " */ '\202', /* "R R " */ '\374', /* "RRRRRR " */ '\220', /* "R R " */ '\210', /* "R R " */ '\204', /* "R R " */ '\202', /* "R R " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\174', /* " SSSSS " */ '\202', /* "S S " */ '\200', /* "S " */ '\200', /* "S " */ '\174', /* " SSSSS " */ '\002', /* " S " */ '\002', /* " S " */ '\202', /* "S S " */ '\174', /* " SSSSS " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\376', /* "TTTTTTT " */ '\020', /* " T " */ '\020', /* " T " */ '\020', /* " T " */ '\020', /* " T " */ '\020', /* " T " */ '\020', /* " T " */ '\020', /* " T " */ '\020', /* " T " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\202', /* "U U " */ '\202', /* "U U " */ '\202', /* "U U " */ '\202', /* "U U " */ '\202', /* "U U " */ '\202', /* "U U " */ '\202', /* "U U " */ '\202', /* "U U " */ '\174', /* " UUUUU " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\202', /* "V V " */ '\202', /* "V V " */ '\202', /* "V V " */ '\202', /* "V V " */ '\202', /* "V V " */ '\202', /* "V V " */ '\104', /* " V V " */ '\050', /* " V V " */ '\020', /* " V " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\202', /* "W W " */ '\202', /* "W W " */ '\202', /* "W W " */ '\202', /* "W W " */ '\202', /* "W W " */ '\222', /* "W W W " */ '\252', /* "W W W W " */ '\306', /* "WW WW " */ '\202', /* "W W " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\202', /* "X X " */ '\202', /* "X X " */ '\104', /* " X X " */ '\050', /* " X X " */ '\020', /* " X " */ '\050', /* " X X " */ '\104', /* " X X " */ '\202', /* "X X " */ '\202', /* "X X " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\202', /* "Y Y " */ '\202', /* "Y Y " */ '\104', /* " Y Y " */ '\050', /* " Y Y " */ '\020', /* " Y " */ '\020', /* " Y " */ '\020', /* " Y " */ '\020', /* " Y " */ '\020', /* " Y " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\376', /* "ZZZZZZZ " */ '\002', /* " Z " */ '\004', /* " Z " */ '\010', /* " Z " */ '\020', /* " Z " */ '\040', /* " Z " */ '\100', /* " Z " */ '\200', /* "Z " */ '\376', /* "ZZZZZZZ " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\360', /* "[[[[ " */ '\200', /* "[ " */ '\200', /* "[ " */ '\200', /* "[ " */ '\200', /* "[ " */ '\200', /* "[ " */ '\200', /* "[ " */ '\200', /* "[ " */ '\360', /* "[[[[ " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\200', /* "\ " */ '\100', /* " \ " */ '\040', /* " \ " */ '\020', /* " \ " */ '\010', /* " \ " */ '\004', /* " \ " */ '\002', /* " \ " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\074', /* " ]]]] " */ '\004', /* " ] " */ '\004', /* " ] " */ '\004', /* " ] " */ '\004', /* " ] " */ '\004', /* " ] " */ '\004', /* " ] " */ '\004', /* " ] " */ '\074', /* " ]]]] " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\020', /* " ^ " */ '\050', /* " ^ ^ " */ '\104', /* " ^ ^ " */ '\202', /* "^ ^ " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\376', /* "_______ " */ '\000' }, /* " " */ { '\060', /* " `` " */ '\060', /* " `` " */ '\020', /* " ` " */ '\010', /* " ` " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\170', /* " aaaa " */ '\004', /* " a " */ '\174', /* " aaaaa " */ '\202', /* "a a " */ '\206', /* "a aa " */ '\172', /* " aaaa a " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\200', /* "b " */ '\200', /* "b " */ '\200', /* "b " */ '\270', /* "b bbb " */ '\304', /* "bb b " */ '\202', /* "b b " */ '\202', /* "b b " */ '\304', /* "bb b " */ '\270', /* "b bbb " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\170', /* " cccc " */ '\204', /* "c c " */ '\200', /* "c " */ '\200', /* "c " */ '\204', /* "c c " */ '\170', /* " cccc " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\004', /* " d " */ '\004', /* " d " */ '\004', /* " d " */ '\164', /* " ddd d " */ '\214', /* "d dd " */ '\204', /* "d d " */ '\204', /* "d d " */ '\214', /* "d dd " */ '\164', /* " ddd d " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\170', /* " eeee " */ '\204', /* "e e " */ '\374', /* "eeeeee " */ '\200', /* "e " */ '\204', /* "e e " */ '\170', /* " eeee " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\030', /* " ff " */ '\044', /* " f f " */ '\040', /* " f " */ '\040', /* " f " */ '\370', /* "fffff " */ '\040', /* " f " */ '\040', /* " f " */ '\040', /* " f " */ '\040', /* " f " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\164', /* " ggg g " */ '\214', /* "g gg " */ '\204', /* "g g " */ '\204', /* "g g " */ '\214', /* "g gg " */ '\164', /* " ggg g " */ '\004', /* " g " */ '\204', /* "g g " */ '\170' }, /* " gggg " */ { '\200', /* "h " */ '\200', /* "h " */ '\200', /* "h " */ '\270', /* "h hhh " */ '\304', /* "hh h " */ '\204', /* "h h " */ '\204', /* "h h " */ '\204', /* "h h " */ '\204', /* "h h " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\010', /* " i " */ '\000', /* " " */ '\030', /* " ii " */ '\010', /* " i " */ '\010', /* " i " */ '\010', /* " i " */ '\010', /* " i " */ '\034', /* " iii " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\004', /* " j " */ '\000', /* " " */ '\014', /* " jj " */ '\004', /* " j " */ '\004', /* " j " */ '\004', /* " j " */ '\004', /* " j " */ '\004', /* " j " */ '\004', /* " j " */ '\104', /* " j j " */ '\070' }, /* " jjj " */ { '\200', /* "k " */ '\200', /* "k " */ '\200', /* "k " */ '\210', /* "k k " */ '\220', /* "k k " */ '\240', /* "k k " */ '\320', /* "kk k " */ '\210', /* "k k " */ '\204', /* "k k " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\030', /* " ll " */ '\010', /* " l " */ '\010', /* " l " */ '\010', /* " l " */ '\010', /* " l " */ '\010', /* " l " */ '\010', /* " l " */ '\010', /* " l " */ '\034', /* " lll " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\254', /* "m m mm " */ '\322', /* "mm m m " */ '\222', /* "m m m " */ '\222', /* "m m m " */ '\222', /* "m m m " */ '\222', /* "m m m " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\270', /* "n nnn " */ '\304', /* "nn n " */ '\204', /* "n n " */ '\204', /* "n n " */ '\204', /* "n n " */ '\204', /* "n n " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\170', /* " oooo " */ '\204', /* "o o " */ '\204', /* "o o " */ '\204', /* "o o " */ '\204', /* "o o " */ '\170', /* " oooo " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\270', /* "p ppp " */ '\304', /* "pp p " */ '\204', /* "p p " */ '\204', /* "p p " */ '\304', /* "pp p " */ '\270', /* "p ppp " */ '\200', /* "p " */ '\200', /* "p " */ '\200' }, /* "p " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\164', /* " qqq q " */ '\214', /* "q qq " */ '\204', /* "q q " */ '\204', /* "q q " */ '\214', /* "q qq " */ '\164', /* " qqq q " */ '\004', /* " q " */ '\004', /* " q " */ '\004' }, /* " q " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\270', /* "r rrr " */ '\304', /* "rr r " */ '\200', /* "r " */ '\200', /* "r " */ '\200', /* "r " */ '\200', /* "r " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\170', /* " ssss " */ '\204', /* "s s " */ '\140', /* " ss " */ '\030', /* " ss " */ '\204', /* "s s " */ '\170', /* " ssss " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\040', /* " t " */ '\040', /* " t " */ '\370', /* "ttttt " */ '\040', /* " t " */ '\040', /* " t " */ '\040', /* " t " */ '\044', /* " t t " */ '\030', /* " tt " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\204', /* "u u " */ '\204', /* "u u " */ '\204', /* "u u " */ '\204', /* "u u " */ '\214', /* "u uu " */ '\164', /* " uuu u " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\202', /* "v v " */ '\202', /* "v v " */ '\202', /* "v v " */ '\104', /* " v v " */ '\050', /* " v v " */ '\020', /* " v " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\202', /* "w w " */ '\222', /* "w w w " */ '\222', /* "w w w " */ '\222', /* "w w w " */ '\222', /* "w w w " */ '\154', /* " ww ww " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\204', /* "x x " */ '\110', /* " x x " */ '\060', /* " xx " */ '\060', /* " xx " */ '\110', /* " x x " */ '\204', /* "x x " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\204', /* "y y " */ '\204', /* "y y " */ '\204', /* "y y " */ '\204', /* "y y " */ '\214', /* "y yy " */ '\164', /* " yyy y " */ '\004', /* " y " */ '\204', /* "y y " */ '\170' }, /* " yyyy " */ { '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\374', /* "zzzzzz " */ '\010', /* " z " */ '\020', /* " z " */ '\040', /* " z " */ '\100', /* " z " */ '\374', /* "zzzzzz " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\030', /* " {{ " */ '\040', /* " { " */ '\040', /* " { " */ '\040', /* " { " */ '\100', /* " { " */ '\040', /* " { " */ '\040', /* " { " */ '\040', /* " { " */ '\030', /* " {{ " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\020', /* " | " */ '\020', /* " | " */ '\020', /* " | " */ '\020', /* " | " */ '\000', /* " " */ '\020', /* " | " */ '\020', /* " | " */ '\020', /* " | " */ '\020', /* " | " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\060', /* " }} " */ '\010', /* " } " */ '\010', /* " } " */ '\010', /* " } " */ '\004', /* " } " */ '\010', /* " } " */ '\010', /* " } " */ '\010', /* " } " */ '\060', /* " }} " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\140', /* " ~~ " */ '\222', /* "~ ~ ~ " */ '\014', /* " ~~ " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ { '\000', /* " " DEL */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\376', /* "******* " */ '\104', /* " * * " */ '\050', /* " * * " */ '\020', /* " * " */ '\000', /* " " */ '\000', /* " " */ '\000', /* " " */ '\000' }, /* " " */ }; /* global array when banner lines are built */ char *spbline[12] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; /* this function builds the banners used by the spooler */ void sp_NLS_banner(); void sp_banner(text) char *text; { /* local data definitions */ int slen, /* length of input banner text */ lnum, /* line in banner being built */ cpos, /* current character to format */ bpos, /* current mask bit tested */ cval, /* ascii value of char at cpos */ mask; /* bit map of character string */ char *putptr, /* where to put character */ cfill; /* character to use in banner */ /* Check when NLS is active if non-ASCII characters are in use */ if(NLSon) { char *c; c = text; while(*c) { if(*c++ & 0x80) { /* Non-ASCII char detected, using sp_NLS_banner then will return */ sp_NLS_banner(text); return; } } } /* get length of input string, maximum of 15 bytes */ slen = strlen(text); if (slen>15) slen = 15; /* build the requested banner */ for (lnum = 11; lnum >= 0; lnum--) { /* free old banner text if any, and allocated */ /* space for the new banner line */ if (spbline[lnum]) Rfree(spbline[lnum]); spbline[lnum] = Rmalloc((unsigned)8*slen+1); /* now build the line using putptr as pointer */ /* for inserting new chars into the string */ putptr = spbline[lnum]; for (cpos = 0; cpos= 0; lnum--) { /* free old banner text if any, and allocated */ if (spbline[lnum]) Rfree(spbline[lnum]); if(lnum < 4 || lnum > 7) { /* Line of stars */ spbline[lnum] = Rmalloc((unsigned)slen+1); (void)strcpy(spbline[lnum], stars); } else if (lnum == 5) { /* Real mapped banner text */ spbline[lnum] = Rmalloc(strlen(text)); strcpy(spbline[lnum],text); } else { /* Blank lines */ spbline[lnum] = Rmalloc((unsigned)slen+1); (void)strcpy(spbline[lnum], spaces); } } } #endif