**CIGAL Reference Manual, Chapter 1 (Topics): samplefuncmenu** ===== Samplefuncmenu -- The following is a sample function menu file ===== F1 type { F1 - This help message F2 - Erase the screen F3 - Return to MAIN menu F4 - Use split screen F5 - Use whole screen F10 - Restore previous function key menu ESC - Beep } F2 erase ; clear the main display window F3 menu main F4 type 'Click cursor where you want to split screen' #1 = (gety / 16) ; get the cursor position in text units ^^1 = { 0 0 79 #1++ } ; set the secondary window dimensions (top) ^^0 = { 0 #1 79 24 } ; set the main window dimensions (bottom) erase -2 ; reset the background colors menu ; reset the menu display if active F5 ^^0 = { 0 0 79 24 } ; set main window to full screen ^^1 = 0 ; inactivate secondary window erase -2 ; adjust screen colors for new windows menu F10 menu -1 11 ; restore previous function menu ESC type '\7' **See Also:**\\ [[jvs:cigal|CIGAL Home]], [[jvs:cigal:manual|CIGAL Manual]], [[jvs:cigal:manual:chapter1|Topics List]], [[jvs:cigal:manual:help|Manual Help]]