16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

vi<br />

autoindent, ai<br />

When autoindent is on and you are entering text, the indentation of the<br />

current line is used for the new line. In vi mode, you can change this<br />

default indentation by using the control keys Ctrl-D (to shift left) or Ctrl-T to<br />

shift right. In ex mode, a tab or spaces can be typed at the start of a line to<br />

increase the indent, or a Ctrl-D can be typed at the start of the line to<br />

remove a level. ^Ctrl-D temporarily removes the ident for the current line.<br />

0Ctrl-D places the current line at a zero indent level, and the next line has<br />

this indent level as well.<br />

The size of indent levels is defined by the variable shiftwidth.. Based on<br />

this value and the value of tabstop, the editor generates the number of tabs<br />

and spaces needed to produce the required indent level.<br />

The default is noautoident.<br />

autoprint, ap<br />

When this option is set in ex mode, the current line is printed after the<br />

following commands: copy, delete, join, move, substitute, undo, &, ~, . Automatic displaying of lines does not take place inside global<br />

commands.<br />

The default is autoprint.<br />

autowrite, aw<br />

When this option is on, the current file is automatically written out if it has<br />

been changed since it was last written and you have run any of the<br />

following commands: next, rewind, tag, Ctrl-^ (vi), and Ctrl-] (vi). Using<br />

an exclamation mark (!) with any of these commands stops the automatic<br />

write.<br />

The default is noautowrite.<br />

beautify, bf<br />

When this option is on, the editor discards all nonprinting characters from<br />

text read in from files.<br />

The default is nobeautify.<br />

cdpath Used by cd to find relative pathnames when changing the directory. You<br />

must delimit entries with a colon (:). If the current directory is to be included<br />

in the search, it must be indicated by a dot (.). cdpath defaults to the<br />

contents of the CDPATH environment variable if it exists, or to dot (.) if it<br />

doesn’t.<br />

directory, dir<br />

The editor uses temporary files with unique names under the given<br />

directory. Any error on the temporary files is fatal.<br />

The default is directory=tmp.<br />

edcompatible<br />

When this option is on, the editor attempts to make substitution commands<br />

behave in a way that is compatible with the ed editor. The g and c options<br />

on the substitute commands are remembered and toggled by their<br />

occurrence. The r option uses the last regular expression rather than the<br />

last substitute regular expression. Percentage mark (%) as the entire pattern<br />

is equivalent to the previous pattern.<br />

The default is nocompatible.<br />

errorbells, eb<br />

When this option is on, vi precedes error messages with the alert character.<br />

780 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!