Hosting de Calidad
  • Inicio
  • Precios y servicios
  • F.a.q y ayudas
  • Realizar pedido
  • Webs alojadas
  • Quienes somos
  • Foro HyD
  • Contacto

    Zona Dominios

    Entrar
    registro de dominios


    Zona Hosting

    Entrar
    alojamiento web


    5 Métodos de Pago
    Tarjeta de crédito
    Domiciliación
    Transferencia
    Soporte Epagado
    Soporte Paypal

    Liberalización .es

    Ver mas
    dominios .es


  •  
     
     
    Ncurses terminal screen control functions

    LXVIII_ Ncurses terminal screen control functions

    Introducción

    ncurses (new curses) is a free software emulation of curses in System V Rel 4_0 (and above)_ It uses terminfo format, supports pads, colors, multiple highlights, form characters and function key mapping_ Because of the interactive nature of this library, it will be of little use for writing Web applications, but may be useful when writing scripts meant using PHP from the command line_

    Aviso

    Esta extensión es EXPERIMENTAL_ Esto significa que el comportamiento de esta extensión, los nombre de sus funciones y en definitiva TODO lo documentado sobre esta extensión, puede cambiar en una futura versión de PHP SIN AVISO_ La advertencia queda hecha, y utilizar esta extensión queda bajo su propia responsabiliad_

    Ncurses is available for the following platforms:

    • AIX

    • BeOS

    • Cygwin

    • Digital Unix (aka OSF1)

    • FreeBSD

    • GNU/Linux

    • HPUX

    • IRIX

    • OS/2

    • SCO OpenServer

    • Solaris

    • SunOS

    Requerimientos

    You need the ncurses libraries and headerfiles_ Download the latest version from the ftp://ftp_gnu_org/pub/gnu/ncurses/ or from an other GNU_Mirror_

    Instalación

    To get these functions to work, you have to compile the CGI or CLI version of PHP with __with_ncurses[=DIR]_

    Configuración en tiempo de ejecución

    El comportamiento de estas funciones está afectado por los valores definidos en php_ini_

    Tabla 1_ Ncurses configuration options

    NameDefaultChangeable
    ncurses_value"42"PHP_INI_ALL
    ncurses_string"foobar"PHP_INI_ALL
    For further details and definition of the PHP_INI_* constants see ini_set()_

    Tipos de recursos

    Esta extensión no tiene ningún tipo de recurso definido_

    Constantes predefinidas

    Estas constantes están definidas por esta extensión y estarán disponibles solamente cuando la extensión ha sido o bien compilada dentro de PHP o grabada dinámicamente en tiempo de ejecución_

    Error codes

    On error ncurses functions return NCURSES_ERR_

    Colors

    Tabla 2_ ncurses color constants

    constantmeaning
    NCURSES_COLOR_BLACKno color (black)
    NCURSES_COLOR_WHITEwhite
    NCURSES_COLOR_REDred _ supported when terminal is in color mode
    NCURSES_COLOR_GREENgreen _ supported when terminal is in color mod
    NCURSES_COLOR_YELLOWyellow _ supported when terminal is in color mod
    NCURSES_COLOR_BLUEblue _ supported when terminal is in color mod
    NCURSES_COLOR_CYANcyan _ supported when terminal is in color mod
    NCURSES_COLOR_MAGENTAmagenta _ supported when terminal is in color mod

    Keys

    Tabla 3_ ncurses key constants

    constantmeaning
    NCURSES_KEY_F0 _ NCURSES_KEY_F64function keys F1 _ F64
    NCURSES_KEY_DOWNdown arrow
    NCURSES_KEY_UPup arrow
    NCURSES_KEY_LEFTleft arrow
    NCURSES_KEY_RIGHTright arrow
    NCURSES_KEY_HOMEhome key (upward+left arrow)
    NCURSES_KEY_BACKSPACEbackspace
    NCURSES_KEY_DLdelete line
    NCURSES_KEY_ILinsert line
    NCURSES_KEY_DCdelete character
    NCURSES_KEY_ICinsert char or enter insert mode
    NCURSES_KEY_EICexit insert char mode
    NCURSES_KEY_CLEARclear screen
    NCURSES_KEY_EOSclear to end of screen
    NCURSES_KEY_EOLclear to end of line
    NCURSES_KEY_SFscroll one line forward
    NCURSES_KEY_SRscroll one line backward
    NCURSES_KEY_NPAGEnext page
    NCURSES_KEY_PPAGEprevious page
    NCURSES_KEY_STABset tab
    NCURSES_KEY_CTABclear tab
    NCURSES_KEY_CATABclear all tabs
    NCURSES_KEY_SRESETsoft (partial) reset
    NCURSES_KEY_RESETreset or hard reset
    NCURSES_KEY_PRINTprint
    NCURSES_KEY_LLlower left
    NCURSES_KEY_A1upper left of keypad
    NCURSES_KEY_A3upper right of keypad
    NCURSES_KEY_B2center of keypad
    NCURSES_KEY_C1lower left of keypad
    NCURSES_KEY_C3lower right of keypad
    NCURSES_KEY_BTABback tab
    NCURSES_KEY_BEGbeginning
    NCURSES_KEY_CANCELcancel
    NCURSES_KEY_CLOSEclose
    NCURSES_KEY_COMMANDcmd (command)
    NCURSES_KEY_COPYcopy
    NCURSES_KEY_CREATEcreate
    NCURSES_KEY_ENDend
    NCURSES_KEY_EXITexit
    NCURSES_KEY_FINDfind
    NCURSES_KEY_HELPhelp
    NCURSES_KEY_MARKmark
    NCURSES_KEY_MESSAGEmessage
    NCURSES_KEY_MOVEmove
    NCURSES_KEY_NEXTnext
    NCURSES_KEY_OPENopen
    NCURSES_KEY_OPTIONSoptions
    NCURSES_KEY_PREVIOUSprevious
    NCURSES_KEY_REDOredo
    NCURSES_KEY_REFERENCEref (reference)
    NCURSES_KEY_REFRESHrefresh
    NCURSES_KEY_REPLACEreplace
    NCURSES_KEY_RESTARTrestart
    NCURSES_KEY_RESUMEresume
    NCURSES_KEY_SAVEsave
    NCURSES_KEY_SBEGshiftet beg (beginning)
    NCURSES_KEY_SCANCELshifted cancel
    NCURSES_KEY_SCOMMANDshifted command
    NCURSES_KEY_SCOPYshifted copy
    NCURSES_KEY_SCREATEshifted create
    NCURSES_KEY_SDCshifted delete char
    NCURSES_KEY_SDLshifted delete line
    NCURSES_KEY_SELECTselect
    NCURSES_KEY_SENDshifted end
    NCURSES_KEY_SEOLshifted end of line
    NCURSES_KEY_SEXITshifted exit
    NCURSES_KEY_SFINDshifted find
    NCURSES_KEY_SHELPshifted help
    NCURSES_KEY_SHOMEshifted home
    NCURSES_KEY_SICshifted input
    NCURSES_KEY_SLEFTshifted left arrow
    NCURSES_KEY_SMESSAGEshifted message
    NCURSES_KEY_SMOVEshifted move
    NCURSES_KEY_SNEXTshifted next
    NCURSES_KEY_SOPTIONSshifted options
    NCURSES_KEY_SPREVIOUSshifted previous
    NCURSES_KEY_SPRINTshifted print
    NCURSES_KEY_SREDOshifted redo
    NCURSES_KEY_SREPLACEshifted replace
    NCURSES_KEY_SRIGHTshifted right arrow
    NCURSES_KEY_SRSUMEshifted resume
    NCURSES_KEY_SSAVEshifted save
    NCURSES_KEY_SSUSPENDshifted suspend
    NCURSES_KEY_UNDOundo
    NCURSES_KEY_MOUSEmouse event has occured
    NCURSES_KEY_MAXmaximum key value

    Mouse

    Tabla 4_ mouse constants

    Constantmeaning
    NCURSES_BUTTON1_RELEASED _ NCURSES_BUTTON4_RELEASEDbutton (1_4) released
    NCURSES_BUTTON1_PRESSED _ NCURSES_BUTTON4_PRESSEDbutton (1_4) pressed
    NCURSES_BUTTON1_CLICKED _ NCURSES_BUTTON4_CLICKEDbutton (1_4) clicked
    NCURSES_BUTTON1_DOUBLE_CLICKED _ NCURSES_BUTTON4_DOUBLE_CLICKEDbutton (1_4) double clicked
    NCURSES_BUTTON1_TRIPLE_CLICKED _ NCURSES_BUTTON4_TRIPLE_CLICKEDbutton (1_4) triple clicked
    NCURSES_BUTTON_CTRLctrl pressed during click
    NCURSES_BUTTON_SHIFTshift pressed during click
    NCURSES_BUTTON_ALTalt pressed during click
    NCURSES_ALL_MOUSE_EVENTSreport all mouse events
    NCURSES_REPORT_MOUSE_POSITIONreport mouse position
    Tabla de contenidos
    ncurses_addch __ Add character at current position and advance cursor
    ncurses_addchnstr __ Add attributed string with specified length at current position
    ncurses_addchstr __ Add attributed string at current position
    ncurses_addnstr __ Add string with specified length at current position
    ncurses_addstr __ Output text at current position
    ncurses_assume_default_colors __ Define default colors for color 0
    ncurses_attroff __ Turn off the given attributes
    ncurses_attron __ Turn on the given attributes
    ncurses_attrset __ Set given attributes
    ncurses_baudrate __ Returns baudrate of terminal
    ncurses_beep __ Let the terminal beep
    ncurses_bkgd __ Set background property for terminal screen
    ncurses_bkgdset __ Control screen background
    ncurses_border __ Draw a border around the screen using attributed characters
    ncurses_bottom_panel __  Moves a visible panel to the bottom of the stack
    ncurses_can_change_color __ Check if we can change terminals colors
    ncurses_cbreak __ Switch of input buffering
    ncurses_clear __ Clear screen
    ncurses_clrtobot __ Clear screen from current position to bottom
    ncurses_clrtoeol __ Clear screen from current position to end of line
    ncurses_color_content __  Gets the RGB value for color
    ncurses_color_set __ Set fore_ and background color
    ncurses_curs_set __ Set cursor state
    ncurses_def_prog_mode __ Saves terminals (program) mode
    ncurses_def_shell_mode __ Saves terminals (shell) mode
    ncurses_define_key __ Define a keycode
    ncurses_del_panel __  Remove panel from the stack and delete it (but not the associated window)
    ncurses_delay_output __ Delay output on terminal using padding characters
    ncurses_delch __ Delete character at current position, move rest of line left
    ncurses_deleteln __ Delete line at current position, move rest of screen up
    ncurses_delwin __ Delete a ncurses window
    ncurses_doupdate __ Write all prepared refreshes to terminal
    ncurses_echo __ Activate keyboard input echo
    ncurses_echochar __ Single character output including refresh
    ncurses_end __ Stop using ncurses, clean up the screen
    ncurses_erase __ Erase terminal screen
    ncurses_erasechar __ Returns current erase character
    ncurses_filter __ 
    ncurses_flash __ Flash terminal screen (visual bell)
    ncurses_flushinp __ Flush keyboard input buffer
    ncurses_getch __ Read a character from keyboard
    ncurses_getmaxyx __  Returns the size of a window
    ncurses_getmouse __ Reads mouse event
    ncurses_getyx __  Returns the current cursor position for a window
    ncurses_halfdelay __ Put terminal into halfdelay mode
    ncurses_has_colors __ Check if terminal has colors
    ncurses_has_ic __ Check for insert_ and delete_capabilities
    ncurses_has_il __ Check for line insert_ and delete_capabilities
    ncurses_has_key __ Check for presence of a function key on terminal keyboard
    ncurses_hide_panel __  Remove panel from the stack, making it invisible
    ncurses_hline __ Draw a horizontal line at current position using an attributed character and max_ n characters long
    ncurses_inch __ Get character and attribute at current position
    ncurses_init_color __ Set new RGB value for color
    ncurses_init_pair __ Allocate a color pair
    ncurses_init __ Initialize ncurses
    ncurses_insch __ Insert character moving rest of line including character at current position
    ncurses_insdelln __ Insert lines before current line scrolling down (negative numbers delete and scroll up)
    ncurses_insertln __ Insert a line, move rest of screen down
    ncurses_insstr __ Insert string at current position, moving rest of line right
    ncurses_instr __ Reads string from terminal screen
    ncurses_isendwin __ Ncurses is in endwin mode, normal screen output may be performed
    ncurses_keyok __ Enable or disable a keycode
    ncurses_keypad __  Turns keypad on or off
    ncurses_killchar __ Returns current line kill character
    ncurses_longname __ Returns terminals description
    ncurses_meta __  Enables/Disable 8_bit meta key information
    ncurses_mouse_trafo __  Transforms coordinates
    ncurses_mouseinterval __ Set timeout for mouse button clicks
    ncurses_mousemask __ Sets mouse options
    ncurses_move_panel __  Moves a panel so that it's upper_left corner is at [startx, starty]
    ncurses_move __ Move output position
    ncurses_mvaddch __ Move current position and add character
    ncurses_mvaddchnstr __ Move position and add attrributed string with specified length
    ncurses_mvaddchstr __ Move position and add attributed string
    ncurses_mvaddnstr __ Move position and add string with specified length
    ncurses_mvaddstr __ Move position and add string
    ncurses_mvcur __ Move cursor immediately
    ncurses_mvdelch __ Move position and delete character, shift rest of line left
    ncurses_mvgetch __ Move position and get character at new position
    ncurses_mvhline __ Set new position and draw a horizontal line using an attributed character and max_ n characters long
    ncurses_mvinch __ Move position and get attributed character at new position
    ncurses_mvvline __ Set new position and draw a vertical line using an attributed character and max_ n characters long
    ncurses_mvwaddstr __ Add string at new position in window
    ncurses_napms __ Sleep
    ncurses_new_panel __  Create a new panel and associate it with window
    ncurses_newpad __  Creates a new pad (window)
    ncurses_newwin __ Create a new window
    ncurses_nl __ Translate newline and carriage return / line feed
    ncurses_nocbreak __ Switch terminal to cooked mode
    ncurses_noecho __ Switch off keyboard input echo
    ncurses_nonl __ Do not translate newline and carriage return / line feed
    ncurses_noqiflush __ Do not flush on signal characters
    ncurses_noraw __ Switch terminal out of raw mode
    ncurses_pair_content __  Gets the RGB value for color
    ncurses_panel_above __  Returns the panel above panel_ If panel is null, returns the bottom panel in the stack
    ncurses_panel_below __  Returns the panel below panel_ If panel is null, returns the top panel in the stack
    ncurses_panel_window __  Returns the window associated with panel
    ncurses_pnoutrefresh __  Copys a region from a pad into the virtual screen
    ncurses_prefresh __  Copys a region from a pad into the virtual screen
    ncurses_putp __ 
    ncurses_qiflush __ Flush on signal characters
    ncurses_raw __ Switch terminal into raw mode
    ncurses_refresh __ Refresh screen
    ncurses_replace_panel __  Replaces the window associated with panel
    ncurses_reset_prog_mode __  Resets the prog mode saved by def_prog_mode
    ncurses_reset_shell_mode __  Resets the shell mode saved by def_shell_mode
    ncurses_resetty __ Restores saved terminal state
    ncurses_savetty __ Saves terminal state
    ncurses_scr_dump __ Dump screen content to file
    ncurses_scr_init __ Initialize screen from file dump
    ncurses_scr_restore __ Restore screen from file dump
    ncurses_scr_set __ Inherit screen from file dump
    ncurses_scrl __ Scroll window content up or down without changing current position
    ncurses_show_panel __  Places an invisible panel on top of the stack, making it visible
    ncurses_slk_attr __ Returns current soft label key attribute
    ncurses_slk_attroff __ 
    ncurses_slk_attron __ 
    ncurses_slk_attrset __ 
    ncurses_slk_clear __ Clears soft labels from screen
    ncurses_slk_color __ Sets color for soft label keys
    ncurses_slk_init __ Initializes soft label key functions
    ncurses_slk_noutrefresh __ Copies soft label keys to virtual screen
    ncurses_slk_refresh __ Copies soft label keys to screen
    ncurses_slk_restore __ Restores soft label keys
    ncurses_slk_set __  Sets function key labels
    ncurses_slk_touch __ Fources output when ncurses_slk_noutrefresh is performed
    ncurses_standend __ Stop using 'standout' attribute
    ncurses_standout __ Start using 'standout' attribute
    ncurses_start_color __ Start using colors
    ncurses_termattrs __ Returns a logical OR of all attribute flags supported by terminal
    ncurses_termname __ Returns terminals (short)_name
    ncurses_timeout __ Set timeout for special key sequences
    ncurses_top_panel __  Moves a visible panel to the top of the stack
    ncurses_typeahead __ Specify different filedescriptor for typeahead checking
    ncurses_ungetch __ Put a character back into the input stream
    ncurses_ungetmouse __ Pushes mouse event to queue
    ncurses_update_panels __  Refreshes the virtual screen to reflect the relations between panels in the stack_
    ncurses_use_default_colors __ Assign terminal default colors to color id _1
    ncurses_use_env __ Control use of environment information about terminal size
    ncurses_use_extended_names __ Control use of extended names in terminfo descriptions
    ncurses_vidattr __ 
    ncurses_vline __ Draw a vertical line at current position using an attributed character and max_ n characters long
    ncurses_waddch __  Adds character at current position in a window and advance cursor
    ncurses_waddstr __  Outputs text at current postion in window
    ncurses_wattroff __  Turns off attributes for a window
    ncurses_wattron __  Turns on attributes for a window
    ncurses_wattrset __  Set the attributes for a window
    ncurses_wborder __  Draws a border around the window using attributed characters
    ncurses_wclear __  Clears window
    ncurses_wcolor_set __  Sets windows color pairings
    ncurses_werase __  Erase window contents
    ncurses_wgetch __  Reads a character from keyboard (window)
    ncurses_whline __  Draws a horizontal line in a window at current position using an attributed character and max_ n characters long
    ncurses_wmouse_trafo __  Transforms window/stdscr coordinates
    ncurses_wmove __  Moves windows output position
    ncurses_wnoutrefresh __  Copies window to virtual screen
    ncurses_wrefresh __ Refresh window on terminal screen
    ncurses_wstandend __  End standout mode for a window
    ncurses_wstandout __  Enter standout mode for a window
    ncurses_wvline __  Draws a vertical line in a window at current position using an attributed character and max_ n characters long
     
       



    registro de dominios | alojamiento web | hosting por publicidad

       

     

    Manual de linux Manual de apache Manual de php Manual de mysql Manual de SQL Manual del Plesk Como funciona Paypal Manual de html