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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

uuxqt daemon<br />

Related Information<br />

uucc, uucp, uux<br />

vi — Use the display-oriented interactive text editor<br />

Format<br />

Description<br />

vi [–elRrsv] [–c command] [–t tag] [–w size] [file ...]<br />

vi [–elRrsv] [+command] [–t tag] [–w size] [file ...]<br />

These symbols are used throughout this command description:<br />

Ctrl-L followed by a single letter indicates the control character transmitted by<br />

holding down the Ctrl key and the letter key at the same time.<br />

BACKSPACE indicates the real backspace key. This may differ from the Ctrl-H key.<br />

ENTER indicates the ENTER key, which is labeled RETURN on some keyboards.<br />

ESCAPE indicates the Escape key.<br />

INTERRUPT indicates the break key; often Ctrl-C.<br />

→ indicates the right arrow key.<br />

← indicates the left arrow key.<br />

↓ indicates the down arrow key.<br />

↑ indicates the up arrow key.<br />

vi has two components: a screen editor (vi), and a line editor (ex). Each has a<br />

different set of commands. You can invoke the line editor from within the screen<br />

editor. Conversely, you can invoke the screen editor from within the line editor.<br />

In the screen editor, you are in either command mode or insert mode. In command<br />

mode, every character you type is immediately interpreted as a command. In insert<br />

mode, every character you type is added to the text that you are editing.<br />

There are two ways to start your session in ex mode:<br />

v Invoke the command under the name ex.<br />

v Invoke it under the name vi but specify the –e option.<br />

Similarly, there are two ways to start your session in vi mode:<br />

v Invoke it under the name ex but specify the –v option.<br />

v Invoke the command under the name vi (without specifying –e).<br />

vi and ex work on text files. If a file contains the NUL character (value .0 or \0), it<br />

is turned into the value 0x7F. The newline character is interpreted as a line<br />

delimiter. Each line is limited to a maximum length of {LINE MAX}–1 bytes,<br />

including the newline. Any lines exceeding that length are truncated at that length. If<br />

the last line in the file does not end in a newline, a newline is added. In all those<br />

cases, vi marks the file as modified and displays a message.<br />

758 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!