The example assumes the following facts about the BestTextEditor application:
It was installed into the directory /usr/BTE.
The user's session language is the default value, C.
The command line to start BestTextEditor is:
BTEd {filename]
where filename is the name of the data file to open in the new window. BestTextEditor creates its own window--that is, it does not run inside a terminal emulator window.
BestTextEditor creates and uses two types of data files:
Documentation files. They use the naming convention *.bte. BestTextEditor provides a command line for printing its .bte data files. The syntax of this command is:
BTEPrint [-d destination] [-s] filename
where:
-d destination--specifies destination printer.
-s--specifies silent printing. The application's print dialog box is not displayed.
filename--specifies the file to be printed.
Template files. They use the naming convention *.tpl. Template files cannot be printed.
The existing, non-desktop app-defaults files for BestTextEditor contain resources for interface fonts and foreground and background colors.