profile "Alias Preferences" {
    data( "GRAMMAR_VERSION", type=string, value="Revision: 5.5 $" );
    data( "FILE_VERSION", type=string, value="$Revision: 5.9 $" );
    entry( title = "Coordinate system", "ALIAS_COORD_SYS", type=choice{"Y up:y_up","Z up:z_up"}, 
           value="Z up:z_up" );
    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 "Editor Options" {
        entry( 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","AME:$ALIAS_LOCATION/bin/.ame -f "}, 
               value="AME:$ALIAS_LOCATION/bin/.ame -f " );
        annotation( "Program path if CUSTOM selected above:   " );
        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 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 "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");
        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 "Motion Sampler Options" {
        entry( title = "Configuration file", "ALIAS_MOTION_SAMPLE_CONFIG", type=string,value="$ALIAS_LOCATION/sys/MotionSampler/motion.config");
        entry( title = "`Preroll' sound", "ALIAS_PREROLL_CUE", type=string,value="$ALIAS_LOCATION/sys/MotionSampler/preroll.aiff");
        entry( title = "`Go' sound", "ALIAS_GO_CUE", type=string,value="$ALIAS_LOCATION/sys/MotionSampler/go.aiff");
        entry( title = "`Done' sound", "ALIAS_DONE_CUE", type=string,value="$ALIAS_LOCATION/sys/MotionSampler/done.aiff");
    }
    group "Scanner Options" {
        entry( title = "Scanner application", "ALIAS_SCANNER_APP", type=choice{"Alias Scan:$ALIAS_LOCATION/bin/scan","SGI Impressario:/usr/sbin/gscan","CUSTOM:custom"
            }, 
               value="Alias Scan:$ALIAS_LOCATION/bin/scan" );
        group "Alias Scan options" {
            annotation( "Options for Alias Scan program:          " );
            entry( title = "Scanner type", "ALIAS_SCANNER_TYPE", type=string,value="scanmaster");
            entry( title = "Scanner host", "ALIAS_SCANNER_HOST", type=string,value="localhost");
        }
        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( title = "Print application", "ALIAS_PRINTER_APP", type=choice{"Alias Print:$ALIAS_LOCATION/bin/alias_print","SGI Impressario:/usr/sbin/glp","CUSTOM:custom"
            }, 
               value="Alias Print:$ALIAS_LOCATION/bin/alias_print" );
        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="$ALIAS_LOCATION/bin/alias_print");
        }
    }
    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");
    }
}
