head 1.1;
branch 1.1.1;
access;
symbols
netbsd-10-1-RELEASE:1.1.1.2
libXt-1-3-1:1.1.1.2
netbsd-8-3-RELEASE:1.1.1.1
netbsd-9-4-RELEASE:1.1.1.2
netbsd-10-0-RELEASE:1.1.1.2
netbsd-10-0-RC6:1.1.1.2
netbsd-10-0-RC5:1.1.1.2
netbsd-10-0-RC4:1.1.1.2
netbsd-10-0-RC3:1.1.1.2
netbsd-10-0-RC2:1.1.1.2
netbsd-10-0-RC1:1.1.1.2
libXt-1-3-0:1.1.1.2
netbsd-10:1.1.1.2.0.4
netbsd-10-base:1.1.1.2
netbsd-9-3-RELEASE:1.1.1.2
netbsd-9-2-RELEASE:1.1.1.2
libXt-1-2-1:1.1.1.2
netbsd-9-1-RELEASE:1.1.1.2
netbsd-8-2-RELEASE:1.1.1.1
netbsd-9-0-RELEASE:1.1.1.2
netbsd-9-0-RC2:1.1.1.2
netbsd-9-0-RC1:1.1.1.2
netbsd-9:1.1.1.2.0.2
netbsd-9-base:1.1.1.2
libXt-1-2-0:1.1.1.2
netbsd-8-1-RELEASE:1.1.1.1
netbsd-8-1-RC1:1.1.1.1
netbsd-7-2-RELEASE:1.1.1.1
netbsd-8-0-RELEASE:1.1.1.1
netbsd-8-0-RC2:1.1.1.1
netbsd-8-0-RC1:1.1.1.1
netbsd-7-1-2-RELEASE:1.1.1.1
netbsd-7-1-1-RELEASE:1.1.1.1
netbsd-8:1.1.1.1.0.10
netbsd-8-base:1.1.1.1
netbsd-7-1:1.1.1.1.0.8
netbsd-7-1-RELEASE:1.1.1.1
netbsd-7-1-RC2:1.1.1.1
netbsd-7-1-RC1:1.1.1.1
netbsd-7-0-2-RELEASE:1.1.1.1
netbsd-7-0-1-RELEASE:1.1.1.1
netbsd-7-0:1.1.1.1.0.6
netbsd-7-0-RELEASE:1.1.1.1
netbsd-7-0-RC3:1.1.1.1
netbsd-7-0-RC2:1.1.1.1
libXt-1-1-5:1.1.1.1
netbsd-7-0-RC1:1.1.1.1
netbsd-7:1.1.1.1.0.4
netbsd-7-base:1.1.1.1
riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.1
riastradh-drm2:1.1.1.1.0.2
riastradh-drm2-base:1.1.1.1
libXt-1-1-4:1.1.1.1
xorg:1.1.1;
locks; strict;
comment @# @;
1.1
date 2013.05.31.09.19.53; author mrg; state Exp;
branches
1.1.1.1;
next ;
commitid UdAPYXenQVyEqLRw;
1.1.1.1
date 2013.05.31.09.19.53; author mrg; state Exp;
branches;
next 1.1.1.2;
commitid UdAPYXenQVyEqLRw;
1.1.1.2
date 2019.07.11.05.43.08; author mrg; state Exp;
branches;
next ;
commitid E2KJZD7NBiU8uAuB;
desc
@@
1.1
log
@Initial revision
@
text
@
Resource File Format
A resource file contains text representing the default resource values for an
application or set of applications.
The format of resource files is defined by
Xlib — C Language X Interface. and is reproduced here
for convenience only.
The format of a resource specification is
ResourceLine
= Comment | IncludeFile | ResourceSpec | <empty line>
Comment
="!" {<any character except null or newline>}
IncludeFile
= "#" WhiteSpace "include" WhiteSpace FileName WhiteSpace
FileName
= <valid filename for operating system>
ResourceSpec
= WhiteSpace ResourceName WhiteSpace ":" WhiteSpace Value
ResourceName
= [Binding] {Component Binding} ComponentName
Binding
="." | "*"
WhiteSpace
= {<space> | <horizontal tab>}
Component
= "?" | ComponentName
ComponentName
= NameChar {NameChar}
NameChar
= "a"-"z" | "A"-"Z" | "0"-"9" | "_" | "-"
Value
={<any character except null or unescaped newline>}
Elements separated by vertical bar (|) are alternatives.
Curly braces ({...}) indicate zero or more repetitions
of the enclosed elements.
Square brackets ([...]) indicate that the enclosed element is optional.
Quotes ("...") are used around literal characters.
If the last character on a line is a backslash (\),
that line is assumed to continue on the next line.
To allow a Value to begin with whitespace,
the two-character sequence "\space" (backslash followed by space)
is recognized and replaced by a space character,
and the two-character sequence "\tab"
(backslash followed by horizontal tab)
is recognized and replaced by a horizontal tab character.
To allow a Value to contain embedded newline characters,
the two-character sequence "\n" is recognized and replaced by a
newline character.
To allow a Value to be broken across multiple lines in a text file,
the two-character sequence "\newline"
(backslash followed by newline) is
recognized and removed from the value.
To allow a Value to contain arbitrary character codes,
the four-character sequence "\nnn",
where each n is a digit character in the range of "0"-"7",
is recognized and replaced with a single byte that contains
the octal value specified by the sequence.
Finally, the two-character sequence "\\" is recognized
and replaced with a single backslash.
@
1.1.1.1
log
@initial import of libXt-1.1.4
@
text
@@
1.1.1.2
log
@initial import of libXt-1.2.0
@
text
@a0 3
d10 1
a10 1
Xlib — C Language X Interface. and is reproduced here
d27 1
a27 1
=“!” {<any character except null or newline>}
d31 1
a31 1
= “#” WhiteSpace “include” WhiteSpace FileName WhiteSpace
d39 1
a39 1
= WhiteSpace ResourceName WhiteSpace “:” WhiteSpace Value
d47 1
a47 1
=“.” | “*”
d55 1
a55 1
= “?” | ComponentName
d63 1
a63 1
= “a”–“z” | “A”–“Z” | “0”–“9” | “_” | “-”
d78 1
a78 1
Quotes (“...”) are used around literal characters.
d88 1
a88 1
the two-character sequence “\space” (backslash followed by space)
d90 1
a90 1
and the two-character sequence “\tab”
d96 1
a96 1
the two-character sequence “\n” is recognized and replaced by a
d99 1
a99 1
the two-character sequence “\newline”
d105 2
a106 2
the four-character sequence “\nnn”,
where each n is a digit character in the range of “0”–“7”,
d109 1
a109 1
Finally, the two-character sequence “\\” is recognized
@