次に、この簡単な Motif アプリケーションのコピー元のファイルを示します。ファイルを作成し、XENVIRONMENT 変数にパス名を設定すれば、このアプリケーションが使用できます。
phoenix% setenv XENVIRONMENT /export/home/zelda/resfile
Example.*geometry: 400X100 Example.*orientation: XmHORIZONTAL Example.*label.labelString: Launch an application Example.*xclock.labelString: Run xclock Example.*xterm.labelString: Run xterm Example.*xmag.labelString: Run xmag Example.*goodbye.labelString: Quit Example.*XmPushButton*background: blue Example.*XmLabel*foreground: white Example.*XmLabel*foreground: white