Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

vi(1) OSS Shell and Utilities Reference Manual
:ta tag Edits a le containing tag at the location of tag. If the tag is in another le and the
current le has been changed (and noaw is set), a warning is posted. To use this com-
mand, you must rst create a database of function names and their locations using the
ctags command. OSS does not support the ctags utility. However, vi does support
ctags databases imported from other systems. If you are using this subcommand from
the ex editor, you do not need to type the : (colon).
<Ctrl-t> Finds the word at the cursor in the tags le and edits the indicated le, placing the cur-
sor at the tag. Same as :ta, but the tag is the word to the right of the cursor.
Editing a List of Files
Enter the following subcommands in Command mode.
:n Edits the next le in the list entered on the command line.
:n file ... Species a new list of les to edit.
Displaying File Information
Enter the following subcommand in Command mode to show the current lename, the current
line number, the number of lines in the le, and the percentage of lines of the le that are before
the cursor:
<Ctrl-g>
RELATED INFORMATION
Commands: ed(1), grep(1).
1016 Hewlett-Packard Company 527188-007