vi

vi


unix Index Level ap.core
Syntax vi {Pick.filename {Pick.itemname {Pick.itemname}...}} {(options}
vi {Unix.filename} {Unix.filename} ...
Category Unix
Type Verb
Description edits either a Pick item or a Unix file using the "vi" editor.

If passed a Unix file name, the "vi" command edits that Unix file.

If passed a Pick file and item list, then the "vi" command edits that item list.

The ability to edit Pick files is available on release 7.0 and higher.

The following options can be used on Pick items only.
Options c  Do not convert between attribute marks and new-lines.

m  Print an update message when the item has changed.

n  Do not convert tabs.

r  Use a random number tag rather than the Pick item name.

v  Convert value marks to new-lines. Note that this works one-way only and that value marks will be lost when the item is updated in Pick.
See Also VI Quick Reference unix vi vi
Example vi dm,bp, date
Warnings On items over several thousand attributes, there may be a perceptible time lag between the time that the command is issued and the item appears in "vi".  If this is the case, then re-compile "dm,bp, vi" with FlashBASIC (i.e. using the "o" option) which should alleviate the delay.

Note that the ability to edit Pick items is only directly available from within the Pick shell.  To "vi" Pick items from the Unix shell, use the command "tcl vi file.name item.name..."

When editing Pick items in "vi", it is important that the user uses ONLY tabs or ONLY spaces to align text as the mixing of these two can cause inconsistent results when that information is updated back into the Pick item.
Compatibility D3 7.0
unix Index Level ap.core