| | This is not part of Bunao; it's an external utility that helps you
modify Bunao *.tcl files with your text editor. Specifically, calling
'bguts file.tcl' will look for those nodes in file.tcl that are marked
#2, and extracts the contents of the 'data' attribute. bguts then
calls vi on those extracted strings. You can now use all editor
functions to modify the contents of the strings. Important things to
remember:
1. Do not add or remove lines.
The number of lines must stay constant.
2. Save AND exit your program.
Once vi exits, bguts will then re-insert the edited strings into
file.tcl, and exits. It also cleans up any temp files in the process.
IMPORTANT NOTE: if you have set up vi to use Control-C to mean
ESC, and exit vi by pressing Ctrl-C ZZ, make sure that your
window manager and/or vi properly trap the Ctrl-C, because
otherwise it will be seen by the bguts script, which will
terminate prematurely. Work around for this: don't type
ctrl-c!
|