profile "Alias Preferences" {
    data( "GRAMMAR_VERSION", type=string, value="Revision: 6.2 $" );
    data( "FILE_VERSION", type=string, value="$Revision: 6.32 $" );
    entry( title = "Coordinate system", "ALIAS_COORD_SYS", type=choice{"Y up:y_up","Z up:z_up"}, 
           value="Z up:z_up" );
    entry( title = "Initial menu layout", "ALIAS_MENU_DEFAULT", type=choice{"Long:long","Short:short"}, 
           value="Long:long" );
    group "Safety Options" {
        annotation( "Menu selections between autosave:        " );
        entry( title = "Checkpoints", "ALIAS_CHECKPOINTS", type=integer{range "0" to "50"}, value="0");
        annotation( "Number of autosaves to maintain:         " );
        entry( title = "Check versions", "ALIAS_CHECKPOINT_STACK", type=integer{range "1" to "10"}, value="1");
    }
    group "UNIX Shell Options" {
        entry( watch, title = "UNIX Shell", "ALIAS_UNIX_SHELL", type=choice{"CUSTOM:CUSTOM","Winterm:winterm  -title Alias_shell -icontitle Alias_shell &","Xterm:/usr/bin/X11/xterm -n Alias_shell -T Alias_shell -ls &"
            }, 
               value="Winterm:winterm  -title Alias_shell -icontitle Alias_shell &" );

        test ( { "ALIAS_UNIX_SHELL"="CUSTOM" } );
        entry( title = "Custom UNIX Shell", "ALIAS_CUSTOM_UNIX_SHELL", type=string,value="/usr/bin/X11/xterm -n Custom_Alias_shell -T Custom_Alias_shell -ls &");
    }
    group "Editor Options" {
        entry( watch, title = "ASCII Editor", "ALIAS_EDITOR", type=choice{"CUSTOM:CUSTOM","VI:xwsh -geometry 80x60+100+34 -e vi ","JOT:/usr/sbin/jot -f ","EMACS:emacs -geometry 81x60x100+34"}, 
               value="JOT:/usr/sbin/jot -f " );

        test ( { "ALIAS_EDITOR"="CUSTOM" } );
        entry( title = "Custom editor", "ALIAS_EDITOR_APP", type=string,value="xterm -e vi");
    }
    group "Render Options" {
        group "Render Control Options" {
            annotation( "Default shader file loaded the first time" );
            annotation( "an object is created, or the shader list-" );
            annotation( "er is opened:                            " );
            annotation( "" );
            entry( title = "Default Shader", "ALIAS_DEFAULT_SHADER", type=string,value="DefaultShader");
            annotation( "" );
            annotation( "The following set the default machine and" );
            annotation( "project for remote rendering             " );
            annotation( "" );
            annotation( "You *must* log out and log back in for   " );
            annotation( "these settings to take effect:           " );
            annotation( "" );
            entry( title = "Render machine", "ALIAS_RENDER_ENGINE", type=string,value="localhost");
            entry( title = "Render location", "ALIAS_RENDER_LOCATION", type=string,value="user_data/demo");
            annotation( "" );
        }

        group "Distributed Render Control Options" {
            annotation( "The following enables the Distributed    " );
            annotation( "Render Control (DRC) System:  This will  " );
            annotation( "provide control over the distribution of " );
            annotation( "renders over multiple machines mounted on" );
            annotation( "NFS:  If you have remote machines which  " );
            annotation( "are not accessable over NFS, this flag   " );
            annotation( "should be set to FALSE:                  " );
            annotation( "" );

			entry( title = "DRC Enable", "ALIAS_DRC_ENABLE", 
							type=choice{"on","off"}, value="on" );

            annotation( "" );
            annotation( "" );
            annotation( "The following sets the default control   " );
            annotation( "directory used by the Distributed Render " );
            annotation( "Control Editor and renders:              " );
            annotation( "" );
            annotation( "This directory should be group writable  " );
            annotation( "and any users using the control location " );
            annotation( "should be in the group:                  " );
            annotation( "" );
            annotation( "You *must* log out and log back in for   " );
            annotation( "these settings to take effect:           " );
            annotation( "" );

			entry( title = "Control Location", "ALIAS_DRC_CONTROL_DIR", 
							type = string, value = "$ALIAS_LOCATION/render_control");
            annotation( "" );
        }
    }
    group "Modeling Options" {
        group "Draw Options" {
            annotation( "Performance increases may be achieved    " );
            annotation( "by using the GL fat pixel mechanism to   " );
            annotation( "draw control and polyset vertices        " );
            annotation( "as well as joint icons. By default, Alias" );
            annotation( "will use the drawing style that runs     " );
            annotation( "fastest on the platform while maintaining" );
            annotation( "optimum visual clarity.                  " );
            annotation( "                                         " );
            annotation( "The system may be forced to use markers  " );
            annotation( "or fat pixels using this control:        " );
            entry( title = "CV/Vertex draw style", "ALIAS_MARKER_STYLE",
                   type = choice { "Default:0",  "Fat Pixels:1", "Markers:2" },
                   value = "Default:0" );
            entry( title = "joint draw style", "ALIAS_JOINT_STYLE",
                   type = choice { "Default:0",  "Fat Pixels:1", "Icons:2" },
                   value = "Default:2" );
        }
        group "Polygon Toolbox Options" {
            annotation( "Under many circumstances, the polygon    " );
            annotation( "toolbox must copy entire polysets to     " );
            annotation( "maintain undo information. Setting the   " );
            annotation( "following control to zero will disable   " );
            annotation( "polygon toolbox undo and avoid any delays" );
            annotation( "associated with the copying process.     " );
            annotation( "                                         " );
            annotation( "Number of levels of undo to maintain in  " );
            annotation( "the polygon toolbox:                     " );
            entry( title = "Undo levels", "ALIAS_POLY_UNDO_LEVELS", type=integer{range "0" to "20"}, value="10");
        }
        group "Template Options" {
            annotation( "Can components be shown as templates:    " );
            entry( title = "Allow components", "ALIAS_TEMPLATE_COMP", type=choice{"on","off"}, 
                   value="off" );
        }
        group "Trim Options" {
            annotation( "Should trim and divide functions consider" );
            annotation( "curves on surface with dashed attribute: " );
            entry( title = "Trim dashed CoS", "ALIAS_INCLUDE_LINESTYLE_IN_TRIM", type=choice{"on","off"}, 
                   value="on" );
        }
    }
    group "Animation Options" {
        annotation( "The following sets the maximum amount of " );
        annotation( "memory that PlayBlast will allocate for  " );
        annotation( "frame storage.  The amount is expressed  " );
        annotation( "as a percentage of total memory.         " );
        annotation( " " );
        annotation( "Warning; Increasing this amount beyond   " );
        annotation( "75  may cause the OS  to terminate Alias " );
        annotation( "unexpectedly.                            " );
        annotation( " " );
        entry( title = "PlayBlast memory", "ALIAS_PB_MAX_SWAP_PERCENTAGE", type=choice{"10%:10","20%:20","30%:30","40%:40","50%:50","60%:60","70%:70","75% (Default):","80%:80","90%:90","95%:95"}, 
               value="75% (Default):" );
    }
    group "Filesystem Options" {
        annotation( "Path to 3DCD digital content library.    " );
        annotation( "You *must* log out and log back in for   " );
        annotation( "this setting to take effect.             " );
        entry( title = "3DCD location", "ALIAS_LIBRARY_LOCATION", type=string,value="$ALIAS_LOCATION/3DCD");
        annotation( "" );
        annotation( "Optional path to Hot keys file:          " );
        entry( title = "Hot keys file", "ALIAS_HOT_KEYS_FILE", type=string,value="$HOME/.AliasHotkeys");
        annotation( "" );
        annotation( "Optional path to video profile files:    " );
        entry( title = "Video files", "ALIAS_VIDEO_DRIVERS", type=string,value="");
        annotation( "" );
        annotation( "Location deleted files are moved to; this" );
        annotation( "directory must end in 'dumpster', or it  " );
        annotation( "will be appended:                        " );
        entry( title = "Dumpster location", "ALIAS_DUMPSTER_LOCATION", type=string,value="dumpster");
        annotation( "" );
        annotation( "Optional path to In/Out Filter file:     " );
        entry( title = "Filter location", "ALIAS_FILTER_FILE_LOCATION", type=string,value="$HOME/.AliasInOutFilters");
        annotation( "" );
        annotation( "Optional path to External Apps file:     " );
        entry( title = "Ext Apps location", "ALIAS_EXTERNAL_APPS_LOCATION", type=string,value="$HOME/.AliasExternalApplications");
        group "System Directories" {
            annotation( "Default paths for file lister (project   " );
            annotation( "relative if not full paths):             " );
            entry( title = "Wire directory", "ALIAS_WIRE_DIR", type=string,value="wire");
            entry( title = "Stage directory", "ALIAS_STAGE_DIR", type=string,value="wire");
            entry( title = "SLA directory", "ALIAS_SLA_DIR", type=string,value="sla");
            entry( title = "SDL directory", "ALIAS_SDL_DIR", type=string,value="sdl");
            entry( title = "Anim directory", "ALIAS_ANIM_DIR", type=string,value="anim");
            entry( title = "Shader directory", "ALIAS_SHADER_DIR", type=string,value="shader");
            entry( title = "Texture directory", "ALIAS_TEXTURE_DIR", type=string,value="texture");
            entry( title = "Pix directory", "ALIAS_INPUT_PIX_DIR", type=string,value="pix");
            entry( title = "Option directory", "ALIAS_OPTION_DIR", type=string,value="option");
            entry( title = "Misc directory", "ALIAS_MISC_DIR", type=string,value="misc_data");
            entry( title = "Plot directory", "ALIAS_PLOT_DIR", type=string,value="plot");
        }
    }
    group "Scanner Options" {
        entry( watch, title = "Scanner application", "ALIAS_SCANNER_APP", type=choice{"SGI Impressario:/usr/sbin/gscan","CUSTOM:custom"}, 
               value="SGI Impressario:/usr/sbin/gscan" );

        test ( { "ALIAS_SCANNER_APP"="custom" } );
        group "Custom Scan program options" {
            annotation( "" );
            annotation( "If CUSTOM is selected in the Scan Appli-  " );
            annotation( "cation field above, then the following    " );
            annotation( "program will be run when `scan' is selec- " );
            annotation( "ted                                       " );
            annotation( "" );
            annotation( "Path of scan program if CUSTOM selected: " );
            entry( title = "Program path", "ALIAS_SCANNER_OTHER", type=string,value="$ALIAS_LOCATION/bin/scan");
        }
    }
    group "Printer Options" {
        entry( watch, title = "Print application", "ALIAS_PRINTER_APP", type=choice{"SGI Impressario:/usr/sbin/glp","CUSTOM:custom"}, 
               value="SGI Impressario:/usr/sbin/glp" );

        test ( { "ALIAS_PRINTER_APP"="custom" } );
        group "Custom Print program options" {
            annotation( "" );
            annotation( "If CUSTOM is selected in the Print Appli- " );
            annotation( "cation field above, then the following    " );
            annotation( "program will be run when `print' is selec-" );
            annotation( "ted; Note that no file format translation " );
            annotation( "will be done                              " );
            annotation( "" );
            annotation( "Path of print program if CUSTOM selected: " );
            entry( title = "Program path", "ALIAS_PRINTER_OTHER", type=string,value="/usr/sbin/glp");
        }
    }
    group "Plot Options" {
        entry( title = "Plotter type", "ALIAS_PLOT_TYPE", type=string,value="postscript");
        entry( title = "Plotter host", "ALIAS_PLOT_HOST", type=string,value="localhost");
        annotation( "LP destination name for plotter:         " );
        entry( title = "Plotter device", "ALIAS_PLOT_DEVICE", type=string,value="PostScript");
        group "LP queue options for plot output" {
            annotation( "-o<option> for options to lp, eg:        " );
            annotation( "  -oh     lp's -h option, no header page " );
            annotation( "-f<option> for options to filter, eg:    " );
            annotation( "  -fpAH   use paper size AH              " );
            annotation( "  -fcX,Y  set correction factor to X,Y   " );
            annotation( "  -fa     auto page feed is supported    " );
            entry( title = "Plotter options", "ALIAS_PLOT_OPTIONS", type=string,value=" ");
            annotation( "Specialized custom plotting program:     " );
            entry( title = "Plot filter", "ALIAS_PLOT_FILTER", type=string,value="");
        }
    }
    group "QCR Options" {
        annotation( "Seconds to delay for initialization:     " );
        entry( title = "QCR delay", "ALIAS_QCR_DELAY_TIME", type=integer, value="30");
    }
    group "Plugin Options" {
            entry( title = "Messages", "PLUGIN_LOAD_VERBOSE", type=choice{"Full:1","Brief:0"}, 
                   value="Brief:0" );
            entry( title = "Search path", "PLUGIN_PATH", type=string,value=".:$ALIAS_LOCATION/ODS/OpenAlias/plugins:$ALIAS_LOCATION/Conductors/ghostwriter");
    }
}
