Workbench User Guide : Writing Scripts and Procedures : How You Can Use Templates for II_WINDOWEDIT and II_WINDOWVIEW : For UNIX
 
Share this page          
For UNIX
The valid specifiers for UNIX are:
Specifier
Description
%g
OpenROAD defines -geometry and -display parameters for your xterm
%n
Unique name generated by OpenROAD
%t
Title generated by OpenROAD
%l
Line number (used when errors occur)
%f
Temporary file used by OpenROAD (required)
Note:  All parameters except for the file name are optional.
For example, assume that your editor is vi and the command line to run the editor from an X terminal is the following:
$ xterm -e vi +10 filename &
You would define the template for II_WINDOWEDIT and/or II_WINDOWVIEW as follows:
$ setenv II_WINDOWEDIT 'xterm %g +sb -name "%n"
          -title "%t" -e vi +%l %f'
$ setenv II_WINDOWVIEW 'xterm %g +sb -name "%n"
          -title "%t" -e vi +%l %f'
OpenROAD substitutes the specifiers %g, %n, %t, %l and %f with the actual runtime values.