X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=Ada95%2Fhtml%2Fterminal_interface-curses_s.html;h=e294a6d347ebb986275cfd2116a18c75ba0836df;hp=6eaf8baebbc5e24f6e459bbf77977da61b985b6c;hb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1;hpb=3a9b6a3bf0269231bef7de74757a910dedd04e0c diff --git a/Ada95/html/terminal_interface-curses_s.html b/Ada95/html/terminal_interface-curses_s.html index 6eaf8bae..e294a6d3 100644 --- a/Ada95/html/terminal_interface-curses_s.html +++ b/Ada95/html/terminal_interface-curses_s.html @@ -14,25 +14,38 @@ -- -- -- S P E C -- -- -- --- Version 00.92 -- +------------------------------------------------------------------------------ +-- Copyright (c) 1998 Free Software Foundation, Inc. -- -- -- --- The ncurses Ada95 binding is copyrighted 1996 by -- --- Jürgen Pfeifer, Email: Juergen.Pfeifer@T-Online.de -- +-- Permission is hereby granted, free of charge, to any person obtaining a -- +-- copy of this software and associated documentation files (the -- +-- "Software"), to deal in the Software without restriction, including -- +-- without limitation the rights to use, copy, modify, merge, publish, -- +-- distribute, distribute with modifications, sublicense, and/or sell -- +-- copies of the Software, and to permit persons to whom the Software is -- +-- furnished to do so, subject to the following conditions: -- -- -- --- Permission is hereby granted to reproduce and distribute this -- --- binding by any means and for any fee, whether alone or as part -- --- of a larger distribution, in source or in binary form, PROVIDED -- --- this notice is included with any such distribution, and is not -- --- removed from any of its header files. Mention of ncurses and the -- --- author of this binding in any applications linked with it is -- --- highly appreciated. -- +-- The above copyright notice and this permission notice shall be included -- +-- in all copies or substantial portions of the Software. -- -- -- --- This binding comes AS IS with no warranty, implied or expressed. -- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -- +-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -- +-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -- +-- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -- +-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -- +-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -- +-- THE USE OR OTHER DEALINGS IN THE SOFTWARE. -- +-- -- +-- Except as contained in this notice, the name(s) of the above copyright -- +-- holders shall not be used in advertising or otherwise to promote the -- +-- sale, use or other dealings in this Software without prior written -- +-- authorization. -- ------------------------------------------------------------------------------ +-- Jürgen Pfeifer, Email: Juergen.Pfeifer@T-Online.de -- -- Version Control: --- @Revision: 1.7 @ +-- @Revision: 1.9 @ ------------------------------------------------------------------------------ --- curses binding, generated at Sun Feb 2 17:21:42 1997 +-- curses binding. -- This module is generated. Please don't change it manually! -- Run the generator instead. -- | @@ -190,6 +203,7 @@ Key_Suspend : constant Special_Key_Code := 8#627#; Key_Undo : constant Special_Key_Code := 8#630#; Key_Mouse : constant Special_Key_Code := 8#631#; + Key_Resize : constant Special_Key_Code := 8#632#; Key_Max : constant Special_Key_Code := Special_Key_Code'Last; @@ -445,7 +459,7 @@ ACS_Down_Arrow : constant Character := '.'; ACS_Up_Arrow : constant Character := '-'; ACS_Board_Of_Squares : constant Character := 'h'; - ACS_Lantern : constant Character := 'I'; + ACS_Lantern : constant Character := 'i'; ACS_Solid_Block : constant Character := '0'; ACS_Scan_Line_3 : constant Character := 'p'; ACS_Scan_Line_7 : constant Character := 'r'; @@ -1346,28 +1360,46 @@ function Get_Soft_Label_Key_Attributes return Color_Pair; -- AKA: slk_attr() + -- |===================================================================== + -- | Man page keyok.3x + -- |===================================================================== + + -- | + procedure Enable_Key (Key : in Special_Key_Code; + Enable : in Boolean := True); + -- AKA: keyok() + + -- |===================================================================== + -- | Man page define_key.3x + -- |===================================================================== + + -- | + procedure Define_Key (Definition : in String; + Key : in Special_Key_Code); + -- AKA: define_key() + -- |===================================================================== -- | Man page curs_util.3x -- |===================================================================== -- | Not implemented : filter, use_env, putwin, getwin -- - -- | + -- | procedure Key_Name (Key : in Real_Key_Code; Name : out String); -- AKA: keyname() -- The external name for a real keystroke. - -- | + -- | procedure Un_Control (Ch : in Attributed_Character; Str : out String); -- AKA: unctrl() - -- | + -- | procedure Delay_Output (Msecs : in Natural); -- AKA: delay_output() - -- | + -- | procedure Flush_Input; -- AKA: flushinp() @@ -1375,35 +1407,35 @@ -- | Man page curs_termattrs.3x -- |===================================================================== - -- | + -- | function Baudrate return Natural; -- AKA: baudrate() - -- | + -- | function Erase_Character return Character; -- AKA: erasechar() - -- | + -- | function Kill_Character return Character; -- AKA: killchar() - -- | + -- | function Has_Insert_Character return Boolean; -- AKA: has_ic() - -- | + -- | function Has_Insert_Line return Boolean; -- AKA: has_il() - -- | + -- | function Supported_Attributes return Character_Attribute_Set; -- AKA: termattrs() - -- | + -- | procedure Long_Name (Name : out String); -- AKA: longname() - -- | + -- | procedure Terminal_Name (Name : out String); -- AKA: termname() @@ -1411,39 +1443,39 @@ -- | Man page curs_color.3x -- |===================================================================== - -- | + -- | procedure Start_Color; -- AKA: start_clolor() pragma Import (C, Start_Color, "start_color"); - -- | + -- | procedure Init_Pair (Pair : in Redefinable_Color_Pair; Fore : in Color_Number; Back : in Color_Number); -- AKA: init_pair() - -- | + -- | procedure Pair_Content (Pair : in Color_Pair; Fore : out Color_Number; Back : out Color_Number); -- AKA: pair_content() - -- | + -- | function Has_Colors return Boolean; -- AKA: has_colors() - -- | + -- | procedure Init_Color (Color : in Color_Number; Red : in RGB_Value; Green : in RGB_Value; Blue : in RGB_Value); -- AKA: init_color() - -- | + -- | function Can_Change_Color return Boolean; -- AKA: can_change_color() - -- | + -- | procedure Color_Content (Color : in Color_Number; Red : out RGB_Value; Green : out RGB_Value; @@ -1458,21 +1490,21 @@ -- type Curses_Mode is (Curses, Shell); - -- | + -- | procedure Save_Curses_Mode (Mode : in Curses_Mode); -- AKA: def_prog_mode() -- AKA: def_shell_mode() - -- | + -- | procedure Reset_Curses_Mode (Mode : in Curses_Mode); -- AKA: reset_prog_mode() -- AKA: reset_shell_mode() - -- | + -- | procedure Save_Terminal_State; -- AKA: savetty() - -- | + -- | procedure Reset_Terminal_State; -- AKA: resetty(); @@ -1484,7 +1516,7 @@ -- a good practice to return 0 if you think all went fine -- and -1 otherwise. - -- | + -- | procedure Rip_Off_Lines (Lines : in Integer; Proc : in Stdscr_Init_Proc); -- AKA: ripoffline() @@ -1495,11 +1527,11 @@ type Cursor_Visibility is (Invisible, Normal, Very_Visible); - -- | + -- | procedure Set_Cursor_Visibility (Visibility : in out Cursor_Visibility); -- AKA: curs_set() - -- | + -- | procedure Nap_Milli_Seconds (Ms : in Natural); -- AKA: napms()