#***************************************************************** #* * #* Copyright (C) Siemens Nixdorf Informationssysteme AG 1990 * #* All Rights Reserved * #* * #***************************************************************** # # # SCCS Identification : # # # # "@(#) Module : ansimf2 "; # "@(#) Release : 8.1 "; # "@(#) Created : 91/07/12 15:57:41 "; # ## end of header # # # Heinfried Cznottka, c/o SNI AG, STO SI 413, Paderborn, West-Germany # ______ __________ # \ / | +--+ | OOO O general interface for menu # | | | | | | |OOOOOOOO| system and PC console for # @--|--|--|-|---| +--+ | | | SCO UNIX, ODT and color or # __|____/ /-\ /-\ _______+--+________+ monochrome screen. # /// O O O \-/ \-/ O O O O O Fits for TA22 and MF2 (TA35) ######################################## keyboard. # # Menu screen description for ANSI terminals # lines:24 columns:80 clear screen: position:[%rd;%cdH erase line: no wrap:[?7l #the following are used when available #alternate cursor:[=2B #standard cursor:[=3B cancel attributes:7 DD-MM-YYYY 8 start graphic: end graphic: #rollarea:[%ud;%ldr delete line:[%ndM insert line:[%ndL start keys: #End  400 # commet #Can  401 #Help  402 #Ins  403 #Del \0177 404 #Ins-B # 405  601 modified for MF2 keyboard #Del-B # 406  602 modified for MF2 keyboard #Prev Page  407 #Next Page  408 #C (Clear field) # 410  603 modified for MF2 keyboard #Prev Field  411 #Next Field  412 #Backspace to start of field [34~ 417 #Erase (to end of field) [34~[17~ 418 #Clear [34~OP 423 #Pick # 426  607 modified for MF2 keyboard #Put # 427  608 modified for MF2 keyboard #Mark # 428  609 modified for MF2 keyboard #Copy # 429  605 modified for MF2 keyboard #Move # 430  606 modified for MF2 keyboard #FMT # 431  604 modified for MF2 keyboard #ATTR  433 #Goto  445 #Refr(esh Screen) [[ 446 #Undo [@ 447 #Do  448 #Cmd (Command)  449 #Env  450 #CR (Carriage Return) 451 #Backspace # 452  452 #Back-tab # 454 #Cursor up  501 #Cursor down  502 #Cursor right  503 #Cursor left  504 #Home (First field)  505 #LL (Skip) Key '^y' \0031 506 #First field [^ 507 #Skip [_ 508 #First line Key '^t' \0022 511 #Last line Key '^u' \0011 512 #End of field Key '^i' \0025 513 #Start of field Key '^r' \0024 514 #First page Key '^e' \005 521 #Last page Key '^o' \0017 522 #Print  551 #Reset  552 #Save  553 #Menue Help  554 #Sk 1 Softkeys  601 #Sk 2  602 #Sk 3  603 #Sk 4  604 #Sk 5  605 #Sk 6  606 #Sk 7  607 #Sk 8  608 #Sk 9  609 #[34~[4~ 599 #Ignore #[34~[21~ 599 #[34~[34~ 599 #[34~[29~ 599 end keys: # Cross Basic : commands start commands: end 400 can 401 help 402 [28~ 560 end commands: start attributes: #================================================================== # Attributes for Cross Basic Menu # Standard is "bold" defined in the init sequence color: white on black #================================================================== # inverted 1: # underline 2: # bold 3: # inverted and dim 4: # blink 5: # menu active bold inverted color : blue on white 91:[=15H[=1I # pick attribute bold inverted color : cyan on white 92:[=15H[=3I # menu inactive inverted color : blue on white 93:[=7H[=1I # help attribute nothing color : magenta on black 94: # message attribute # message insert attribute 95:[=15H[=4I # alternate attribute end attributes: start message:%pop clear message:%pop #escape sequence to get softkey text on screen. %s(n) is where the text and #(n) maxlength of comes. start softkey text:%pop %s8 1 %s8 2 %s8 3 %s8 4 %s8 5 %s8 6 %s8 7 %s8 8 %s8 9 end softkey text:%pop init screen: deinit screen:[?7h # standard alpha: # standard number: #background attribute:14 #foreground attribute:15 help attribute: 94 message attribute: 95 message insert attribute: 95 alternate attribute: 95 menu active attribute: 91 menu inactive attribute: 93 pick attribute: 92 box format:I,H,;,<,M,: last position:25,80 #arrows:^,<,>,;