Next: , Previous: inhibit-warning, Up: GCL Reference

7.2.59 input-translator

(input-translator "#prefix_string" "Bourne-shell-command")
Defines an external translation program for special input types. When asked to read a file which begins with the specified string, geomview invokes that program with standard input coming from the given file. The program is expected to emit OOGL geometric data to its standard output. In this implementation, only prefixes beginning with # are recognized. Useful as in
            (input-translator "#VRML" "vrml2oogl")