Print this page
10057 Man page misspellings ouput particuliar overriden
Reviewed by: Gergő Mihály Doma <domag02@gmail.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3tecla/gl_get_line.3tecla.man.txt
          +++ new/usr/src/man/man3tecla/gl_get_line.3tecla.man.txt
↓ open down ↓ 471 lines elided ↑ open up ↑
 472  472  
 473  473         The app_string argument causes the calling application to start in
 474  474         vi(1) edit-mode, instead of the default emacs mode, and turns off the
 475  475         use of the terminal bell by the library. It then attempts to read
 476  476         system-wide configuration commands from an optional file called
 477  477         /usr/share/myapp/teclarc, then finally reads user-specific
 478  478         configuration commands from an optional .teclarc file in the user's
 479  479         home directory.  Note that the arguments are listed in ascending order
 480  480         of priority, with the contents of app_string being potentially over
 481  481         riden by commands in app_file, and commands in app_file potentially
 482      -       being overriden by commands in user_file.
      482 +       being overridden by commands in user_file.
 483  483  
 484  484  
 485  485         You can call this function as many times as needed, the results being
 486  486         cumulative, but note that copies of any file names specified with the
 487  487         app_file and user_file arguments are recorded internally for subsequent
 488  488         use by the read-init-files key-binding function, so if you plan to call
 489  489         this function multiple times, be sure that the last call specifies the
 490  490         filenames that you want re-read when the user requests that the
 491  491         configuration files be re-read.
 492  492  
↓ open down ↓ 229 lines elided ↑ open up ↑
 722  722         ~/.myapp_history or $HOME/.myapp_history.
 723  723  
 724  724  
 725  725         Along with each history line, additional information about it, such as
 726  726         its nesting level and when it was entered by the user, is recorded as a
 727  727         comment preceding the line in the history file. Writing this as a
 728  728         comment allows the history file to double as a command file, just in
 729  729         case you wish to replay a whole session using it. Since comment
 730  730         prefixes differ in different languages, the comment argument is
 731  731         provided for specifying the comment prefix. For example, if your
 732      -       application were a UNIX  shell, such as the Bourne shell, you would
      732 +       application were a UNIX shell, such as the Bourne shell, you would
 733  733         specify "#" here. Whatever you choose for the comment character, you
 734  734         must specify the same prefix to gl_load_history() that you used when
 735  735         you called gl_save_history() to write the history file.
 736  736  
 737  737  
 738  738         The max_lines argument must be either -1 to specify that all lines in
 739  739         the history list be saved, or a positive number specifying a ceiling on
 740  740         how many of the most recent lines should be saved.
 741  741  
 742  742  
↓ open down ↓ 1061 lines elided ↑ open up ↑
1804 1804         also illustrated.
1805 1805  
1806 1806  
1807 1807         If gl is not currently connected to a terminal, for example if the
1808 1808         output of a program that uses gl_get_line() is being piped to another
1809 1809         program or redirected to a file, then the value of the def_width
1810 1810         parameter is used as the terminal width.
1811 1811  
1812 1812  
1813 1813         The indentation argument specifies the number of characters to use to
1814      -       indent each line of ouput. The fill_char argument specifies the
     1814 +       indent each line of output. The fill_char argument specifies the
1815 1815         character that will be used to perform this indentation.
1816 1816  
1817 1817  
1818 1818         The prefix argument can be either NULL or a string to place at the
1819 1819         beginning of each new line (after any indentation). Similarly, the
1820 1820         suffix argument can be either NULL or a string to place at the end of
1821 1821         each line.  The suffix is placed flush against the right edge of the
1822 1822         terminal, and any space between its first character and the last word
1823 1823         on that line is filled with the character specified by the fill_char
1824 1824         argument. Normally the fill-character is a space.
↓ open down ↓ 88 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX