# Copyright 1988-1994 Network Computing Devices, Inc. All rights reserved. # An unpublished work. # $NCDId: @(#) ncd_std.sample /main/zeus/1 08/02/97 22:59:53 ccpickup @(#) Exp $ ############################################################################ # # This is a sample configuration that you can use to help # create customized configuration files. It cannot be used # as is, but must be changed to be specific to your site. # Options and comments are given to help you know what to set. # The default values are given when appropriate. See the # Reference Manual for details on any configuration parameters. # Values shown in <> must be replaced with the appropriate value # specific to the terminal or site. # # The NCD will first try to read a file specific to the terminal. # If it does not find that file, it will try to read a file called # 'ncd_std'. # We recommend that you create a file called 'ncd_std' to put # global parameters in it that are set the same for each terminal. # Then create files for each terminal that will read the 'ncd_std' # file and set any parameters that are specific to the terminal. # # The following sample file is appropriate for a terminal's file. ############################################################################ ############################################################################ read ncd_std unit-name = "" # replace unit-license-key = "" # replace # Set this if address discovery is not being used #ip-address-at-next-boot = # Read the auto save file # Entries in it will override the settings above read .stp # replace with the configuration file's name apply # end of sample terminal configuration file ############################################################################ ############################################################################ # # The following sample file is appropriate for the global file 'ncd_std'. # ############################################################################ ############################################################################ # Booting Parameters boot-desired-source = tcpip #[tcpip|tftp|nfs|ncdnet|local|prom] # Set the boot directory needed depending on boot-desired-source and # the installed location of the server images boot-tftp-directory = "/tftpboot/" #boot-nfs-directory = "/tftpboot/" # Set this to load modules at bootup or to disable loading modules #modules-load-policy = {{ "latproto" at-boot }} ############################################################################ # Network Parameters # # Get the unit's IP address from the network using bootp or rarp # Set this to 'false' to get IP addresses from NVRAM ip-use-address-discovery = true # Set these if address discovery is not used # Set the appropriate IP address, 0.0.0.0 will default to the boot host #boot-tcpip-desired-server = #ip-initial-default-gateway-1 = 0.0.0.0 #ip-initial-default-gateway-2 = 0.0.0.0 #ip-subnet-mask = 0xffffff00 #ip-broadcast-address = 255.255.255.255 ############################################################################ # Name Service tcpip-name-server-protocol = dns # [dns|ien-116] tcpip-dns-default-domain = # set correct domain # Set the appropriate IP address, 0.0.0.0 will use the boot host tcpip-name-servers = { { 0.0.0.0 } } # Set name cache if name service is not being used # lifetime=0 is forever #tcpip-name-local-cache = { # { "" "" 0 } # { "" "" 0 } #} # Set to the approriate node, 0.0 will use the boot host ncdnet-default-router = 0.0 ncdnet-name-servers = { { 0.0 } } ############################################################################ # File Parameters # Enable this to help debug file access problems #file-extended-diagnostics = true # Set the appropriate IP addresses, 0.0.0.0 will use the boot host file-initial-protocol-1 = tftp # [tftp|nfs|ncdnet|nfs/tcp] file-initial-server-1 = 0.0.0.0 file-initial-protocol-2 = tftp # [tftp|nfs|ncdnet|nfs/tcp] file-initial-server-2 = 0.0.0.0 # Uncomment and specify any non-default file accesses if needed #file-service-table[-1] = { } # Modify these directories if the files are not in the default location config-vms-directory = NCD_ROOT:[CONFIGS] config-unix-directory = "/usr/lib/X11/ncd/configs/" xserver-rgb-file = "/usr/lib/X11/ncd/rgb.txt" xserver-keysym-file = "/usr/lib/X11/ncd/XKeysymDB" ############################################################################ # Configuration file name: # The default name for the configuration file for a terminal # is the hexadecimal value of the terminal's IP address, e.g. # 192.45.200.10 is C02DC80A # Uncomment the following parameters to use the IP address or hostname # instead. # The global file 'ncd_std' will be used if # there is no file found for the terminal. # # Allow IP address to be used for the name of a config file # for a particular terminal #config-unit-ip-address-file = true #config-use-decimal-ip-address-notation-as-filename = true # Allow NCD unit name to be used for the name of a config file # for a particular terminal #unit-query-for-name-at-boot = tcpip #[tcpip|ncdnet|none] #config-unit-name-file = true # # The auto save file must exist and have world write permissions # It's name is the name of the config file with the suffix ".stp" # Any changes made in the terminal's configuration through the # setup windows on the terminal will be saved to this file if the # following parameter is set to 'true'. # A statement at the end of this configuration file reads the file # so the saved values are read when the terminal boots. config-auto-save-file = true ############################################################################ # Session Parameters # Use this to get the login chooser at startup: exec-startup-commands = { { "login" } } # Use this to go directly to a host for xdm services, replace # with the host's IP address: #exec-startup-commands = { # { "login -host " } #} # Use this for a default xremote startup: #exec-startup-commands = { # { "console" } # { "wm" } # { "dialer" } #} # Use this for a default ncdterm startup: #exec-startup-commands = { # { "console" } # { "wm" } # { "ncdterm" } #} # Set this to disable local commands #exec-disabled-commands = {} # Set this to specify hosts to appear in the login chooser #login-default-hosts = {} # Set this to control prompt at logout login-xdm-action-on-disconnect = prompt # [logout|prompt|ignore] # Set this to specify hosts to list in the terminal chooser #term-default-hosts = {} ############################################################################ # Font Parameters # There are several options shown here. # Use the default font path, or select one here which best meets your needs. # # Using a font server, replace with an appropriate IP address # You can use the ncd font server, or one provided by the host vendor #xserver-default-font-path = { # { "built-ins" } # { "tcp/:7000" } #} # # A good font path when in an OpenLook environment #xserver-default-font-path = { # { "built-ins" } # { "/usr/lib/X11/ncd/fonts/pcf/misc/" } # { "/usr/lib/X11/ncd/fonts/pcf/75dpi/" } # { "/usr/lib/X11/ncd/fonts/pcf/100dpi/" } # { "/usr/lib/X11/ncd/fonts/pcf/java/" } # { "/usr/lib/X11/ncd/fonts/pcf/Xol/" } #} # A font path when in a DECwindows environment #xserver-default-font-path = { # { "built-ins" } # { "/usr/lib/X11/ncd/fonts/pcf/misc/" } # { "/usr/lib/X11/ncd/fonts/pcf/75dpi/" } # { "/usr/lib/X11/ncd/fonts/pcf/dw75dpi/" } # { "/usr/lib/X11/ncd/fonts/pcf/100dpi/" } # { "/usr/lib/X11/ncd/fonts/pcf/dw100dpi/" } # { "/usr/lib/X11/ncd/fonts/pcf/java/" } # { "/usr/lib/X11/ncd/fonts/pcf/Xol/" } #} ############################################################################# # Access control # Set these to enable access control #xserver-access-control-enabled-default = true #xserver-access-control-list = {} # Set to prevent configuration parameters from being changed #set-protect # Read the global auto save file # Entries in it will override the settings above read ncd_std.stp apply