From 5f8448ef6b85a9ff72c5af4cec99183c8bb60dc6 Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 10 Apr 2012 14:58:33 +0200 Subject: Updated following packages: bigreqsproto-1.1.2 fontsproto-2.1.2 recordproto-1.14.2 scrnsaverproto-1.2.2 xcmiscproto-1.2.2 libXt-1.1.3 xhost-1.0.5 kbproto-1.0.6 libXrender-0.9.7 libxkbfile-1.0.8 freetype-2.4.9 libXaw-1.0.10 libXpm-3.5.10 xproto-7.0.23 --- libXt/specs/appA.xml | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 libXt/specs/appA.xml (limited to 'libXt/specs/appA.xml') diff --git a/libXt/specs/appA.xml b/libXt/specs/appA.xml new file mode 100644 index 000000000..daf40eb3c --- /dev/null +++ b/libXt/specs/appA.xml @@ -0,0 +1,112 @@ + +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. + + -- cgit v1.2.3