home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / perl5 / Term::Complete.z / Term::Complete
Encoding:
Text File  |  1998-10-30  |  1.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. TTTTeeeerrrrmmmm::::::::CCCCoooommmmpppplllleeeetttteeee((((3333))))                                            TTTTeeeerrrrmmmm::::::::CCCCoooommmmpppplllleeeetttteeee((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      Term::Complete - Perl word completion module
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.          $input = complete('prompt_string', \@completion_list);
  13.          $input = complete('prompt_string', @completion_list);
  14.  
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      This routine provides word completion on the list of words in the array
  18.      (or array ref).
  19.  
  20.      The tty driver is put into raw mode using the system command stty raw
  21.      -echo and restored using stty -raw echo.
  22.  
  23.      The following command characters are defined:
  24.  
  25.      <tab>
  26.          Attempts word completion.  Cannot be changed.
  27.  
  28.      ^D  Prints completion list.  Defined by $_T_e_r_m::_C_o_m_p_l_e_t_e::_c_o_m_p_l_e_t_e.
  29.  
  30.      ^U  Erases the current input.  Defined by $_T_e_r_m::_C_o_m_p_l_e_t_e::_k_i_l_l.
  31.  
  32.      <del>, <bs>
  33.          Erases one character.  Defined by $_T_e_r_m::_C_o_m_p_l_e_t_e::_e_r_a_s_e_1 and
  34.          $_T_e_r_m::_C_o_m_p_l_e_t_e::_e_r_a_s_e_2.
  35.  
  36. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  37.      Bell sounds when word completion fails.
  38.  
  39. BBBBUUUUGGGGSSSS
  40.      The completion charater <tab> cannot be changed.
  41.  
  42. AAAAUUUUTTTTHHHHOOOORRRR
  43.      Wayne Thompson
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.