Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>


  59        (like automatically numbering lines and automatically starting a new
  60        output line when you type carriage return) and all ex line editor
  61        commands are described on the ex(1) manual page.
  62 
  63 
  64        When using vi, changes you make to the file are reflected in what you
  65        see on your terminal screen. The position of the cursor on the screen
  66        indicates the position within the file.
  67 
  68 
  69        The view invocation is the same as vi except that the readonly flag is
  70        set.
  71 
  72 
  73        The vedit invocation is intended for beginners. It is the same as vi
  74        except that the report flag is set to 1, the showmode and novice flags
  75        are set, and magic is turned off.  These defaults make it easier to
  76        learn how to use vi.
  77 
  78 OPTIONS
  79        The following options are supporrted:
  80 
  81    Invocation Options
  82        The following invocation options are interpreted by vi (previously
  83        documented options are discussed under NOTES):
  84 
  85        - | -s
  86                                 Suppresses all interactive user feedback. This
  87                                 is useful when processing editor scripts.
  88 
  89 
  90        -C
  91                                 Encryption option. Same as the -x option,
  92                                 except that vi simulates the C command of ex.
  93                                 The C command is like the X command of ex,
  94                                 except that all text read in is assumed to
  95                                 have been encrypted.
  96 
  97 
  98        -l
  99                                 Sets up for editing LISP programs.


 164                                 determine whether text read in is encrypted or
 165                                 not. The temporary buffer file is encrypted
 166                                 also, using a transformed version of the key
 167                                 typed in for the -x option. If an empty
 168                                 encryption key is entered (that is, if the
 169                                 return key is pressed right after the prompt),
 170                                 the file is not encrypted. This is a good way
 171                                 to decrypt a file erroneously encrypted with a
 172                                 mistyped encryption key, such as a backspace
 173                                 or undo key.
 174 
 175 
 176        -command | -c command
 177                                 Begins editing by executing the specified
 178                                 editor command (usually a search or
 179                                 positioning command).
 180 
 181 
 182    /usr/xpg4/bin/vi and /usr/xpg6/bin/vi
 183        If both the -t tag and the -c command options are given, the -t tag
 184        optionis processed first. That is, the file containing tag is selected
 185        by -t and then the command is executed.
 186 
 187 OPERANDS
 188        The following operands are supported:
 189 
 190        filename
 191                    A file to be edited.
 192 
 193 
 194 COMMAND SUMMARY
 195        The vi command modes are summarized in this section.
 196 
 197    vi Modes
 198        Command
 199                     Normal and initial mode. Other modes return to command
 200                     mode upon completion.  ESC (escape) is used to cancel a
 201                     partial command.
 202 
 203 
 204        Input




  59        (like automatically numbering lines and automatically starting a new
  60        output line when you type carriage return) and all ex line editor
  61        commands are described on the ex(1) manual page.
  62 
  63 
  64        When using vi, changes you make to the file are reflected in what you
  65        see on your terminal screen. The position of the cursor on the screen
  66        indicates the position within the file.
  67 
  68 
  69        The view invocation is the same as vi except that the readonly flag is
  70        set.
  71 
  72 
  73        The vedit invocation is intended for beginners. It is the same as vi
  74        except that the report flag is set to 1, the showmode and novice flags
  75        are set, and magic is turned off.  These defaults make it easier to
  76        learn how to use vi.
  77 
  78 OPTIONS
  79        The following options are supported:
  80 
  81    Invocation Options
  82        The following invocation options are interpreted by vi (previously
  83        documented options are discussed under NOTES):
  84 
  85        - | -s
  86                                 Suppresses all interactive user feedback. This
  87                                 is useful when processing editor scripts.
  88 
  89 
  90        -C
  91                                 Encryption option. Same as the -x option,
  92                                 except that vi simulates the C command of ex.
  93                                 The C command is like the X command of ex,
  94                                 except that all text read in is assumed to
  95                                 have been encrypted.
  96 
  97 
  98        -l
  99                                 Sets up for editing LISP programs.


 164                                 determine whether text read in is encrypted or
 165                                 not. The temporary buffer file is encrypted
 166                                 also, using a transformed version of the key
 167                                 typed in for the -x option. If an empty
 168                                 encryption key is entered (that is, if the
 169                                 return key is pressed right after the prompt),
 170                                 the file is not encrypted. This is a good way
 171                                 to decrypt a file erroneously encrypted with a
 172                                 mistyped encryption key, such as a backspace
 173                                 or undo key.
 174 
 175 
 176        -command | -c command
 177                                 Begins editing by executing the specified
 178                                 editor command (usually a search or
 179                                 positioning command).
 180 
 181 
 182    /usr/xpg4/bin/vi and /usr/xpg6/bin/vi
 183        If both the -t tag and the -c command options are given, the -t tag
 184        option is processed first. That is, the file containing tag is selected
 185        by -t and then the command is executed.
 186 
 187 OPERANDS
 188        The following operands are supported:
 189 
 190        filename
 191                    A file to be edited.
 192 
 193 
 194 COMMAND SUMMARY
 195        The vi command modes are summarized in this section.
 196 
 197    vi Modes
 198        Command
 199                     Normal and initial mode. Other modes return to command
 200                     mode upon completion.  ESC (escape) is used to cancel a
 201                     partial command.
 202 
 203 
 204        Input