Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

To Include (Source In) Other Files

    Use the syntax:

	include
 	{
   	   path
  	   path
 	  …
 	}

For example, the following lines source in the file /users/ellen/mymenu:

include
 	{
   	 /users/ellen/mymenu
 	}

Include statements are useful for providing additional functionality without copying the entire configuration file. For example, a user might want to create a new key binding without having to administer the entire configuration file. The user can create a file HomeDirectory/.dt/dtwmrc with this content:

include
 {
  /etc/dt/config/C/sys.dtwmrc
 }
Keys DtKeyBindings
 {
   Alt<Key>F5 root  f.menu  Applications

 }
Menu Applications
 {
   "GraphicsApp" f.exec "/usr/bin/GraphicsApp/GApp"
   …
 }