diff --git a/LDP/howto/docbook/NCURSES-Programming-HOWTO/NCURSES-Programming-HOWTO.sgml b/LDP/howto/docbook/NCURSES-Programming-HOWTO/NCURSES-Programming-HOWTO.sgml index 0adce2bf..b2d8e5b9 100644 --- a/LDP/howto/docbook/NCURSES-Programming-HOWTO/NCURSES-Programming-HOWTO.sgml +++ b/LDP/howto/docbook/NCURSES-Programming-HOWTO/NCURSES-Programming-HOWTO.sgml @@ -1466,7 +1466,7 @@ define the foreground and background for the pair number you give. After that that pair number can be used as a normal attribute with COLOR_PAIR()function. This may seem to be cumbersome at first. But this elegant solution allows us to manage color pairs very easily. To -appreciate it, you have to look into the the source code of "dialog", a utility +appreciate it, you have to look into the source code of "dialog", a utility for displaying dialog boxes from shell scripts. The developers have defined foreground and background combinations for all the colors they might need and initialized at the beginning. This makes it very easy to set attributes just by @@ -2519,7 +2519,7 @@ menu's foreground or background which would have been useless. The function set_menu_grey() can be used to set the display attribute for the non-selectable items in the menu. This brings us to the interesting option for an item the one and only O_SELECTABLE. We can turn it off by the function -item_opts_off() and after that that item is not selectable. It's like a grayed +item_opts_off() and after that the item is not selectable. It's like a grayed item in those fancy windows menus. Let's put these concepts in practice with this example @@ -2974,7 +2974,7 @@ int field_status(FIELD *field); /* fetch status of field */ -It's better to check the field's status only after after leaving the field, as +It's better to check the field's status only after leaving the field, as data buffer might not have been updated yet as the validation is still due. To guarantee that right status is returned, call field_status() either (1) in the field's exit validation check routine, (2) from the field's or form's