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
          +++ new/usr/src/man/man3tecla/gl_get_line.3tecla
↓ open down ↓ 674 lines elided ↑ open up ↑
 675  675  .sp
 676  676  .LP
 677  677  The \fIapp_string\fR argument causes the calling application to start in
 678  678  \fBvi\fR(1) edit-mode, instead of the default \fBemacs\fR mode, and turns off
 679  679  the use of the terminal bell by the library. It then attempts to read
 680  680  system-wide configuration commands from an optional file called
 681  681  \fB/usr/share/myapp/teclarc\fR, then finally reads user-specific configuration
 682  682  commands from an optional \fB\&.teclarc\fR file in the user's home directory.
 683  683  Note that the arguments are listed in ascending order of priority, with the
 684  684  contents of \fIapp_string\fR being potentially over riden by commands in
 685      -\fIapp_file\fR, and commands in \fIapp_file\fR potentially being overriden by
      685 +\fIapp_file\fR, and commands in \fIapp_file\fR potentially being overridden by
 686  686  commands in \fIuser_file\fR.
 687  687  .sp
 688  688  .LP
 689  689  You can call this function as many times as needed, the results being
 690  690  cumulative, but note that copies of any file names specified with the
 691  691  \fIapp_file\fR and \fIuser_file\fR arguments are recorded internally for
 692  692  subsequent use by the read-init-files key-binding function, so if you plan to
 693  693  call this function multiple times, be sure that the last call specifies the
 694  694  filenames that you want re-read when the user requests that the configuration
 695  695  files be re-read.
↓ open down ↓ 252 lines elided ↑ open up ↑
 948  948  home directory and environment variable expressions, such as
 949  949  \fB~/.myapp_history\fR or \fB$HOME/.myapp_history\fR.
 950  950  .sp
 951  951  .LP
 952  952  Along with each history line, additional information about it, such as its
 953  953  nesting level and when it was entered by the user, is recorded as a comment
 954  954  preceding the line in the history file. Writing this as a comment allows the
 955  955  history file to double as a command file, just in case you wish to replay a
 956  956  whole session using it. Since comment prefixes differ in different languages,
 957  957  the comment argument is provided for specifying the comment prefix. For
 958      -example, if your application were a UNIX  shell, such as the Bourne shell, you
      958 +example, if your application were a UNIX shell, such as the Bourne shell, you
 959  959  would specify "#" here. Whatever you choose for the comment character, you must
 960  960  specify the same prefix to \fBgl_load_history()\fR that you used when you
 961  961  called \fBgl_save_history()\fR to write the history file.
 962  962  .sp
 963  963  .LP
 964  964  The \fImax_lines\fR argument must be either -1 to specify that all lines in the
 965  965  history list be saved, or a positive number specifying a ceiling on how many of
 966  966  the most recent lines should be saved.
 967  967  .sp
 968  968  .LP
↓ open down ↓ 1322 lines elided ↑ open up ↑
2291 2291  draw a box around the text is also illustrated.
2292 2292  .sp
2293 2293  .LP
2294 2294  If \fIgl\fR is not currently connected to a terminal, for example if the output
2295 2295  of a program that uses \fBgl_get_line()\fR is being piped to another program or
2296 2296  redirected to a file, then the value of the \fIdef_width\fR parameter is used
2297 2297  as the terminal width.
2298 2298  .sp
2299 2299  .LP
2300 2300  The \fIindentation\fR argument specifies the number of characters to use to
2301      -indent each line of ouput. The \fIfill_char\fR argument specifies the character
     2301 +indent each line of output. The \fIfill_char\fR argument specifies the character
2302 2302  that will be used to perform this indentation.
2303 2303  .sp
2304 2304  .LP
2305 2305  The \fIprefix\fR argument can be either \fINULL\fR or a string to place at the
2306 2306  beginning of each new line (after any indentation). Similarly, the \fIsuffix\fR
2307 2307  argument can be either \fINULL\fR or a string to place at the end of each line.
2308 2308  The suffix is placed flush against the right edge of the terminal, and any
2309 2309  space between its first character and the last word on that line is filled with
2310 2310  the character specified by the \fIfill_char\fR argument. Normally the
2311 2311  fill-character is a space.
↓ open down ↓ 94 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX