#
# The site configuration file for TkGnats.
#
# This file is sourced by the TkGnats scripts
# to obtain various configuration variables.
#
# Normally, only "Section 2" should need changing.
#
# You may want to copy your settings from "Section 2" into 
# $TkGnats(lib)/tkgnatsrc so they don't get overwritten every 
# time you update or re-install TkGnats.
#

########################################################################
### SECTION 1.                                                       ###
### This section is configured by the Makefile.                      ###
### You should change this via the Makefile. Do not edit it directly ###
########################################################################

set TkGnats(GNATS_ADDR)		NOT-CONFIGURED; ##GNATS_ADDR##
				# The default mail address for 
				# PR submissions to go to.

set TkGnats(GNATS_USER)		gnats; ##GNATS_USER##
				# The gnats administrator user id.

set TkGnats(SUBMITTER)  	NOT-CONFIGURED; ##SUBMITTER##
				# GNATS Submitter-Id for your site; the ID 
                                # for arriving reports at TkGnats(GNATS_ADDR)

set TkGnats(GNATS_ROOT)		/usr/local/gnats/gnats-db; ##GNATS_ROOT##

set TkGnats(GNATS_LIBEXECDIR)	/usr/local/libexec; ##LIBEXECDIR##

########################################################################
### SECTION 2.                                                       ###
### This section may be configured manually for your site.           ###
########################################################################

#set TkGnats(GNATS_BINDIR)	/dir/not/in/my/path
                                # Set this if the GNATS programs query-pr 
                                # and nquery-pr aren't in your path.

#set TkGnats(MailMethod)          mailer
#set TkGnats(MailMethod)          smtp
#set TkGnats(SMTP_SERVER)         localhost
#set TkGnats(SMTP_PORT)           25

###
### Defaults for Creating new problem reports
###
###  Any field may be set:  set TkGnats(CreateDefault${field})

#set TkGnats(CreateDefaultState)        open
#set TkGnats(CreateDefaultCategory)     test
#set TkGnats(CreateDefaultClass)        sw-bug
#set TkGnats(CreateDefaultPriority)     medium
#set TkGnats(CreateDefaultSeverity)     serious
#set TkGnats(CreateDefaultConfidential) no
#set TkGnats(CreateDefaultResponsible)  gnats-admin

#set TkGnats(StateInSendPr) 1           # See README.config for these parameters.
#set TkGnats(ResponsibleInSendPr) 1     # See README.config for these parameters.

###
### Custom Class and State abbreviations for the Query window
###
#   Currently, Class and State names are given 5 and 9 characters in
#   the listbox respectively. If your custom Classes or States are
#   longer, use these variables to supply abbreviations.

#set TkGnats(ClassAbbreviations) "installation ins management mgmt"
#set TkGnats(StateAbbreviations) "lostinspace lost"

###
### Definitions for various support programs used by tkgnats
###

### Print spoolers and previewers

                                # Comment out or use "" for unsupported Print spoolers.
				# Note: spaces must be put in between 
				#       pipe characters if you use pipes

set TkGnats(psPrintSpooler)	"lpr -P laser"
				# PostScript print spooler (from stdin)
set TkGnats(dviPrintSpooler)    ""
				# dvi print spooler (from stdin)
set TkGnats(asciiPrintSpooler)  "fmt -s -75 | prt"
set TkGnats(latin1PrintSpooler) "fmt -s -75 | prt"
set TkGnats(troffPrintSpooler)  "fmt -s -75 | prt"
				# Plain text print spoolers (from stdin)

				# ms Macros for groff ("-ms" or "-mgs")
set TkGnats(MsMacroSet)		"-ms"

                                # Comment out or use "" for unsupported Print previewers.
set TkGnats(asciiPreviewer)	"xterm -e pico %s"
set TkGnats(latin1Previewer)	"xterm -e pico %s"
set TkGnats(dviPreviewer)	"xdvi %s"
set TkGnats(troffPreviewer)	"xterm -e pico %s"
set TkGnats(psPreviewer)	"ghostview %s"
				# PostScript previewer for printed reports

set TkGnats(Mailer)		"/usr/lib/sendmail -em -oi -t"
				# Mailer to use for send prs, etc..
                                # Like GNATS, it must read headers from file.

###
### Fonts
###

# Unix
#set TkGnats(DialogFont)  {fixed}
#set TkGnats(TextFont)    {fixed}
#set TkGnats(HelpFont)    {10x20}
# Unix or Windows with Tcl 8.0 or newer
#set TkGnats(DialogFont)  {"ms sans serif" 8}
#set TkGnats(TextFont)    {"courier new"   8}
#set TkGnats(HelpFont)    {"courier new"  12}

###
### Focus Style
###

set TkGnats(FocusStyle) mouse

###
### Colours
###

set TkGnats(ReadOnlyBackground)  green
set TkGnats(EditFieldBackground) grey95

###
### Optional Main Menu items
###

#set TkGnats(MailReader)        "xterm -font 10x20 -bg black -fg grey -T \"mail : tkgnats\" -sl 120 -geometry 80x25+0+0 -e pine"
				# Mail reader used by tkgnats Main Menu.
				# Commenting this out will cause the
				# 'Mail System' button to be omitted
				# from the tkgnats window.

#set TkGnats(InfoReader) 	"xinfo";  # usable but not as nice
#set TkGnats(InfoReader)	"tkinfo -infofile gnats"; 
				# Info Reader to use.
				# Get tkinfo v1.3 or newer.
				# Commenting this out will cause the
				# 'Gnats Info' button to be omitted
				# from the tkgnats window.

set TkGnats(TkGnatsDocFile)    "$TkGnats(lib)/tkgnats.doc"
set TkGnats(TkGnatsDocTitle)   "TkGnats Documentation"
                                # These two items can be used to add a TkGnats
                                # documentation button to the TkGnats Main Menu.
                                # The "TkGnatsDocTitle" is the text that shows
                                # on the button, and the "TkGnatsDocFile" is
                                # file that is shown in a pop-up window.
				# Commenting these out will cause the
				# button to be omitted from the tkgnats window.

#set TkGnats(SiteReadMeFile)    "$TkGnats(lib)/Veritas_README"
#set TkGnats(SiteReadMeTitle)   "TkGnats Usage at Veritas"
                                # These two items can be used to add a site
                                # "readme" button to the TkGnats Main Menu.
                                # The SiteReadMeTitle is the text that shows
                                # on the button, and the "SiteReadMeFile" is
                                # file that is shown in a pop-up window.
				# Commenting these out will cause the
				# button to be omitted from the tkgnats window.
###
### Other settings
###

# This only applies to local disk access to the GNATS database
#set TkGnats(edit_authorized_groups) {test prg}
#set TkGnats(edit_authorized_users)  $TkGnats(GNATS_USER)
                                # List of users and/or groups that are 
                                # authorized to edit problem reports.
                                # Other users will see the edit options
                                # disabled in the various menus and dialogs.

#set TkGnats(delete_authorized_groups) {}
set TkGnats(delete_authorized_users)  $TkGnats(GNATS_USER)
                                # List of users and/or groups that are 
                                # authorized to delete problem reports.
                                # These users must have write permissions
                                # in $TkGnats(GNATS_ROOT)/gnats-adm.
                                # Other users won't see the delete option
                                # in the Query Actions menu at all.

set TkGnats(TextWrap)		word
				#
				# Type of wrapping to use on multiline
				# text fields when creating or editing PR's.
                                # Note that no LF's are actually inserted into
                                # the text. This does not affect the Email 
                                # dialog, which is set to wrap none.

#set TkGnats(QueryOriginatorFormat) short
                                # By default the Query listbox shows as many
                                # characters of the Originator's name as will
                                # fit into the space alloted. If you want the
                                # first name only, set this to "short".

#set TkGnats(QueryDefaultAction) view
                                # By default the Query listbox views a PR when
                                # you double click the left mouse button or press Enter.
                                # You can optionally set this to "edit".

#set TkGnats(ENVIRONMENT)       "Something better than the hostname of your workstation"
                                # This presets the Environment text in new problem
                                # reports.

#set TkGnats(ORGANIZATION)      "Something good"
                                # This presets the Organization text in new problem
                                # reports. Defaults to the ORGANIZATION environment 
                                # variable, which could be a filename or some actual
                                # text. If no env variable, defaults to the users
                                # ~/.signature file. Otherwise defaults to the Submitter-Id.

set TkGnats(AutoUpdateCheck) 1
				# Check for TkGnats updates (when certain buttons are clicked)
                                # Set to 0 to disable this check.

set TkGnats(Quarter) Quarter
                                # This is temporary. It allows you to give a different
                                # name to the release-based GNATS field "Quarter".
###
### End
###
