Annotation of 43BSDReno/games/dm/dmconf.5, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1988 Regents of the University of California.
                      2: .\" All rights reserved.
                      3: .\"
                      4: .\" Redistribution and use in source and binary forms are permitted provided
                      5: .\" that: (1) source distributions retain this entire copyright notice and
                      6: .\" comment, and (2) distributions including binaries display the following
                      7: .\" acknowledgement:  ``This product includes software developed by the
                      8: .\" University of California, Berkeley and its contributors'' in the
                      9: .\" documentation or other materials provided with the distribution and in
                     10: .\" all advertising materials mentioning features or use of this software.
                     11: .\" Neither the name of the University nor the names of its contributors may
                     12: .\" be used to endorse or promote products derived from this software without
                     13: .\" specific prior written permission.
                     14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
                     15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     17: .\"
                     18: .\"    @(#)dmconf.5    5.6 (Berkeley) 6/26/90
                     19: .\"
                     20: .TH DMCONF 5 "June 26, 1990"
                     21: .UC 5
                     22: .SH NAME
                     23: dm.conf \- dm configuration file
                     24: .SH DESCRIPTION
                     25: .I Dm.conf
                     26: is the configuration file for the
                     27: .IR dm (8)
                     28: program.
                     29: It consists of lines beginning with one of three keywords, ``badtty'',
                     30: ``game'', and ``time''.  All other lines are ignored.
                     31: .PP
                     32: Any tty listed after the keyword ``badtty'' may not have games played on
                     33: it.  Entries consist of two white-space separated fields: the string
                     34: ``badtty'' and the ttyname as returned by \fIttyname\fP(3).  For example,
                     35: to keep the uucp dialout, ``tty19'', from being used for games, the
                     36: entry would be:
                     37: .PP
                     38: .RS
                     39: badtty /dev/tty19
                     40: .RE
                     41: .PP
                     42: Any day/hour combination listed after the keyword ``time'' will disallow
                     43: games during those hours.  Entries consist of four white-space separated
                     44: fields: the string ``time'', the unabbreviated day of the week and the
                     45: beginning and ending time of a period of the day when games may not be
                     46: played.  The time fields are in a 0 based, 24-hour clock.  For example,
                     47: the following entry allows games playing before 8AM and after 5PM on
                     48: Mondays.
                     49: .PP
                     50: .RS
                     51: time           Monday  8       17
                     52: .RE
                     53: .PP
                     54: Any game listed after the keyword ``game'' will set parameters for a specific
                     55: game.  Entries consist of five white-space separated fields: the keyword
                     56: ``game'', the name of a game, the highest system load average at which the
                     57: game may be played, the maximum users allowed if the game is to be played,
                     58: and the priority at which the game is to be run.  Any of these fields may
                     59: start with a non-numeric character, resulting in no game limitation or
                     60: priority based on that field.  The game "default" controls the settings for
                     61: any game not otherwise listed, and must be the last ``game'' entry in the
                     62: file.  Priorities may not be negative.  For example, the following entries
                     63: limits the game ``hack'' to running only when the system has 10 or less
                     64: users and a load average of 5 or less; all other games may be run any time
                     65: the system has 15 or less users.
                     66: .PP
                     67: .RS
                     68: game           hack            5       10      *
                     69: game           default *       15      *
                     70: .RE
                     71: .SH FILES
                     72: /etc/dm.conf   \fIdm\fP(8) configuration file
                     73: .SH "SEE ALSO"
                     74: setpriority(2), ttyname(3), dm(8)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.