Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
vi(1) OSS Shell and Utilities Reference Manual
:ta tag Edits a file containing tag at the location of tag. If the tag is in another file and the
current file has been changed (and noaw is set), a warning is posted. To use this com-
mand, you must first 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 file and edits the indicated file, 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 file in the list entered on the command line.
:n file ... Specifies a new list of files to edit.
Displaying File Information
Enter the following subcommand in Command mode to show the current filename, the current
line number, the number of lines in the file, and the percentage of lines of the file that are before
the cursor:
<Ctrl-g>
RELATED INFORMATION
Commands: ed(1), grep(1).
10−16 Hewlett-Packard Company 527188-003