⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 explain.txt

📁 ncurses-5.4 需要的就来下把 一定会有用的哦
💻 TXT
字号:
#VERSIONThis is Version 00.90.00 of the demo package.#MENUKEYSIn a menu you can use the following Keys in the whole application:   - CTRL-X        eXit the menu   - CTRL-N        Go to next item   - CTRL-P        Go to previous item   - CTRL-U        Scroll up one line   - CTRL-D        Scroll down one line   - CTRL-F        Scroll down one page   - PAGE DOWN     Scroll down one page   - PAGE UP       Scroll back one page   - CTRL-B        Scroll back one page   - CTRL-Y        Clear pattern   - CTRL-H        Delete last character from pattern   - Backspace     Delete last character from pattern   - CTRL-A        Next pattern match   - CTRL-E        Previous pattern match   - CTRL-T        Toggle item in a multi-selection menu   - CR or LF      Select an item   - HOME Key      Go to the first item   - F3            Quit the menu   - Cursor Down   Down one item   - Cursor Up     Up one item   - Cursor Left   Left one item   - Cursor Right  Right one item   - END Key       Go to last item#FORMKEYS   - CTRL-X	   eXit the form                      - CTRL-F	   Go forward to the next field   - CTRL-B	   Go backward to the previous field   - CTRL-L	   Go to the field left of the current one              - CTRL-R	   Go to the field right of the current one   - CTRL-U	   Go to the field above the current one     - CTRL-D	   Go to the field below the current one              - CTRL-W	   Go to the next word in the field              - CTRL-T	   Go to the previous word in the field   - CTRL-A	   Go to the beginning of the field   - CTRL-E	   Go to the end of the field   - CTRL-I	   Insert a blank character at the current position   - CTRL-O	   Insert a line   - CTRL-V	   Delete a character             - CTRL-H	   Delete previous character        - CTRL-Y	   Delete a line             - CTRL-G	   Delete a word             - CTRL-K	   Clear to end of field             - CTRL-N	   Next choice in a choice field (Enumerations etc.)            - CTRL-P	   Previous choice in a choice field.#HELP#HELPKEYSYou may scroll with the Cursor Up/Down Keys.You may leave the help with the Function Key labelled 'Quit'.#INHELPYou are already in the help system.You may leave the help with the Function Key labelled 'Quit'.#MAINThis is the main menu of the sample program for the ncurses Ada95binding. The main intention of the demo is not to demonstate ortest all the features of ncurses and it's subsystems, but to provideto you some sample code how to use the binding with Ada95. You may select this options:   * Look at some ncurses core functions   * Look at some features of the menu subsystem   * Look at some features of the form subsystem   * Look at the output of the Ada.Text_IO like functions     for ncurses.   #MAINPADYou may press at any place in this demo CTRL-C. This will give you a commandwindow. You can just type in the Label-String of a function key, then thiskey will be simulated. This should help you to run the application even ifyou run it on a terminal with no or only a few function keys. With CTRL-Nand CTRL-P you may browse through the possible values in the command window.#MENU00Here we give you a selection of various menu demonstrations.#MENU-PAD00This menu itself is a demo for a single valued, 1-column menu withdescriptions for the items, a marker and a padding character betweenthe item name and the description.#MENU01This is a demo of the some of the menu layout options. One of themis the spacing functionality. Just press the Key labelled "Flip" to flip between the non-spaced and a spaced version of the menu. Pleasenote that this functionality is unique for ncurses and is not found in the SVr4 menu implementation. This is a menu that sometimes doesn't fit into it's window and therefore it becomes a scroll menu. You can also see here very nicely the pattern matching functionalityof menus. Type for example a 'J' and you will be positioned to thenext item after the current starting with a 'J'. Any more charactersyou type in make the pattern more specific. With CTRL-A and CTRL-Z(for more details press the Key labelled "Keys") you can browsethrough all the items matching the pattern.You may change the format of the menu. Just press one of the keyslabelled "4x1", "4x2" or "4x3" to get a menu with that many rowsand columns.With the Keys "O-Row" or "O-Col" (they occupy the same label andswitch on selection) you can change the major order scheme for the menu. If "O-Col" is visible, the menu is currently majorordered by rows, you can switch to major column order by pressingthe key. If "O-Row" is visible, it's just the reverse situation.This Key is not visible in "4x1" layout mode, because in this casethe functionality makes no sense.With the Keys "Multi" or "Singl" (they occupy the same label andswitch on selection) you can change whether or not the menu allowsmultiple or only single selection.With the Keys "+Desc" or "-Desc" (they occupy the same label andswitch on selection) you can change whether or not the descriptionsfor each item should be displayed. Please not that this key isnot visible in the "4x3" layout mode, because in this case themenu wouldn't fit on a typicall 80x24 screen.With the Keys "Disab" or "Enab" (they occupy the same label andswitch on selection) you can dis- or enable the selectability ofthe month with 31 days.#MENU-PAD01You may press "Flip" to see the effect of ncurses unique menu-spacing.The Keys "4x1", "4x2" and "4x3" will change the format of the menu.Please note that this is a scrolling menu. You may also play with thepattern matching functionality or try to change the format of the menu.For more details press the Key labelled "Help".#FORM00This is a demo of the forms package.#FORM-PAD00Please note that this demo is far from being complete. It really showsonly a small part of the functionality of the forms package. Let's hope the next version will have a richer demo (You wan't to contribute ?).#NOTIMPLSorry this functionality of the demo is not implemented at the moment.Remember this is a freeware project, so I can use only my very rarefree time to continue coding. If you would like to contribute, youare very welcome !#CURSES00This is a menu where you can select some different demos of the ncursesfunctionality.#CURSES-PAD00Please note that this demo is far from being complete. It really showsonly a small part of the functionality of the curses package. Let's hope the next version will have a richer demo (You wan't to contribute ?).#MOUSEKEYSIn this demo you may use this keys:   - Key labelled "Help"  to get a help   - Key labelled "Keys"  is what you are reading now   - Key labelled "Quit"  to leave the demoYou may click the mouse buttons at any location at the screen and lookat the protocol window !#MOUSE00A rather simple use of a mouse as demo. It's there just to test thecode and to provide the sample source. It might be of interest, that the output into the protocol window isdone by the (n)curses Text_IO subpackages. Especially the output ofthe button and state names is done by Ads's enumeration IO, which allows you to print the names of enumeration literals. That's reallynice.#MOUSE-PAD00This is a very simple demo of the mouse features of ncurses. It's therejust to test whether or not the generated code for the binding reallyworks on the different architectures (seems so).#ATTRIBDEMOAgain this is a more than simple demo and just here to give you thesourcecode.#ATTRIBKEYSYou may press one of the three well known standard keys of this demo.#ATTRIB-PAD00Again this is a more than simple demo and just here to give you thesourcecode. Feel free to contribute more.#TEXTIO#TEXTIOKEYS#TEXTIO-PAD00#END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -