home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
InfoMagic Source Code 1993 July
/
THE_SOURCE_CODE_CD_ROM.iso
/
X
/
mit
/
doc
/
CLX
/
s16.doc
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Interleaf document
|
1989-10-18
|
30.1 KB
|
1,016 lines
<!OPS, Version = 5.2>
<!Document,
Print Rev Bars = no,
Final Output Device = "ps",
Default Printer = "nearest-adps">
<!Font Definitions,
F2 = Times 10,
F3 = Times 8 Italic,
F4 = Times 18 Bold,
F5 = Times 12 Bold,
F6 = Times 10 Bold,
F7 = Times 10 Italic,
F8 = Symbol_B 8>
<!Page,
Bottom Margin = 1 inches,
Left Margin = 1 inches,
Right Margin = 1.15 inches,
First Page = Right,
Starting Page # = Inherit,
Page # Prefix = "16<#1e>",
Hyphenation = on,
Consecutive Hyphens = 2,
Vert. Just. = off>
<!Autonumber Stream, List, 2,
Level 2 Suffix = ,
Level 2 Starting Value = 0,
Level 2 Show = no>
<!Autonumber Stream, Outline, 3,
Level 1 Symbol Type = UPPER ROMAN,
Level 2 Symbol Type = UPPER ALPHA>
<!Autonumber Stream, figure, 2,
Level 1 Prefix = "Figure ",
Level 1 Suffix = "<#1e>",
Level 1 Show = no,
Level 2 Suffix = ,
Level 2 Starting Value = 0,
Level 2 Show = no>
<!Autonumber Stream, figurelet, 2,
Level 1 Symbol Type = UPPER ALPHA,
Level 1 Prefix = "Figure ",
Level 1 Suffix = "<#1e>",
Level 1 Show = no,
Level 2 Suffix = "<#04>">
<!Autonumber Stream, invisible, 1,
Level 1 Suffix = ,
Level 1 Show = no>
<!Autonumber Stream, item, 2,
Level 2 Symbol Type = LOWER ALPHA,
Level 2 Trail = yes>
<!Autonumber Stream, paralet, 4,
Level 1 Symbol Type = UPPER ALPHA,
Level 1 Suffix = ,
Level 1 Show = no,
Level 2 Prefix = .,
Level 2 Suffix = ,
Level 3 Prefix = .,
Level 3 Suffix = ,
Level 4 Prefix = .,
Level 4 Suffix = >
<!Autonumber Stream, paranum, 4,
Level 1 Suffix = ,
Level 1 Show = no,
Level 2 Prefix = .,
Level 2 Suffix = ,
Level 3 Prefix = .,
Level 3 Suffix = ,
Level 4 Prefix = .,
Level 4 Suffix = >
<!Autonumber Stream, table, 2,
Level 1 Prefix = "Table ",
Level 1 Suffix = "<#1e>",
Level 1 Show = no,
Level 2 Suffix = >
<!Autonumber Stream, tablelet, 2,
Level 1 Symbol Type = UPPER ALPHA,
Level 1 Prefix = "Table ",
Level 1 Suffix = "<#1e>",
Level 1 Show = no,
Level 2 Suffix = "<#04>">
<!Class, bullet,
Bottom Margin = 0.153 inches,
Left Margin = 1.85 inches,
First Indent = -0.25 inches,
Line Spacing = 1.121 lines,
Font = F2,
Allow Page Break Within = no,
Left Tab = -0.50/0 inches>
<!Class, caption,
Top Margin = 0.07 inches,
Bottom Margin = 0.07 inches,
Line Spacing = 1.100 lines,
Font = F3>
<!Class, fig,
Top Margin = 0.07 inches,
Bottom Margin = 0.07 inches,
Line Spacing = 1.100 lines,
Alignment = Left,
Font = F4>
<!Class, p1para,
Bottom Margin = 0.153 inches,
Left Margin = 1.60 inches,
First Indent = -1.60 inches,
Line Spacing = 1.121 lines,
Alignment = Left,
Font = F5,
Allow Page Break Within = no,
Allow Page Break After = no,
Left Tab = -1.70/0 inches>
<!Class, para,
Bottom Margin = 0.153 inches,
Left Margin = 1.60 inches,
Line Spacing = 1.121 lines,
Font = F2,
Allow Page Break Within = no,
Left Tab = 0/0.75*13 inches>
<!Class, secno,
Top Margin = 0.07 inches,
Bottom Margin = 0.07 inches,
Line Spacing = 1.100 lines,
Alignment = Left,
Font = F4,
Autonumber Name = paranum>
<!Class, secrule,
Bottom Margin = 0 inches,
Line Spacing = 1 lines,
Font = F2,
Hyphenation = off,
Allow Page Break After = no,
Left Tab = 0/0.75*13 inches,
Autonumber Name = table>
<!Class, sectitle,
Bottom Margin = 0 inches,
Line Spacing = 1 lines,
Alignment = Right,
Font = F4,
Hyphenation = off,
New Page = yes,
Left Tab = 0/0.75*13 inches>
<!Class, syntax,
Bottom Margin = 0.077 inches,
Left Margin = 1.60 inches,
First Indent = -0.90 inches,
Line Spacing = 1.121 lines,
Alignment = Left,
Font = F6,
Hyphenation = off,
Allow Page Break Within = no,
Allow Page Break After = no,
Left Tab = -0.90/0 inches,
Right Tab = 8 inches>
<!Class, "table",
Top Margin = 0.07 inches,
Bottom Margin = 0.07 inches,
Line Spacing = 1.100 lines,
Font = F6,
Autonumber Name = table>
<!Class, title,
Top Margin = 0.07 inches,
Bottom Margin = 0.07 inches,
Line Spacing = 1.100 lines,
Alignment = Right,
Font = F4,
TOC Doc Name = TOC>
<!Master Frame,
Name = "At Anchor",
Placement = At Anchor,
Width = 0.41 inches,
Height = 0.137 inches,
Vertical Alignment = 0.03 inches,
Diagram =
V4,
(g9,32767,0
(E10,0,0,0,1,1,0.053333,1,15,0,0,1,0,0,0,0,1,1,1,0.066667,0.066667,6,6,0,0.066
667,6))>
<First Page Header, Frame =
V4,
(g9,0,0
(E10,0,0,0,1,1,0.053333,1,15,0,0,1,0,0,0,1,1,1,1,0.066667,0.066667,6,6,0,0.066
667,6))>
<Right Page Header, Frame =
V4,
(g9,1,0
(T8,1,12,4.533333,0.306667,1.8,1,0.333333,0,516,0,17,0,0,0,0,0,0,1,1,2048,512,
102,1101,2,
<caption,
Alignment = Right>
Errors
<End Text>)
(E10,0,0,0,1,0,0.053333,1,15,0,0,1,0,0,0,0,1,0,1,0.066667,0.066667,6,6,0,0.066
667,6))>
<Left Page Header, Frame =
V4,
(g9,1,0
(T8,1,12,0,0.306667,2.4,1,0.333333,0,516,0,17,0,0,0,0,0,0,1,1,2048,512,102,110
1,2,
<caption>
Errors
<End Text>)
(E10,0,0,0,1,1,0.053333,1,15,0,0,2,0,0,0,0,1,1,1,0.066667,0.066667,6,6,0,0.066
667,6))>
<Right Page Footer, Frame =
V4,
(g9,1,0
(t8,1,4,6.333333,0.266667,2,17,@nntimsps10b,\240)
(t8,2,4,0.006667,0.266667,0,17,@nntimsps8i,CLX\ Programmer's\ Reference)
(v4,3,0,0,0.066667,6.333333,0.066554,17,2,0)
(E10,0,0,0,1,1,0.053333,1,15,0,0,1,0,0,0,0,1,1,1,0.066667,0.066667,6,6,0,0.066
667,6))>
<Left Page Footer, Frame =
V4,
(g9,1,0
(t8,1,4,0,0.266667,0,17,@nntimsps10b,\240)
(t8,2,4,6.333333,0.266667,2,17,@nntimsps8i,CLX\ Programmer's\ Reference)
(v4,3,0,0.026667,0.066667,6.333333,0.066554,17,2,0)
(E10,0,0,0,1,0,0.053333,1,15,0,0,1,0,0,0,0,1,0,1,0.066667,0.066667,6,6,0,0.066
667,6))>
<sectitle,
Allow Page Break Within = no,
Allow Page Break After = no>
<|,"16<#1e>185">
<Frame,
Name = "At Anchor",
Placement = At Anchor,
Width = 4.72 inches,
Height = 0.94 inches,
Vertical Alignment = 0.03 inches,
Diagram =
V4,
(g9,1,0
(T8,1,12,0.133333,0.72,4.563333,1,0.333333,0,516,0,17,0,0,0,0,0,0,1,1,2048,512
,102,1101,3,
<title>
ERRORS
<End Text>)
(E10,0,0,0,1,0,0.053333,1,15,0,0,1,0,0,0,1,1,0,1,0.066667,0.066667,6,6,0,0.066
667,6))>
<Frame,
Name = "At Anchor",
Placement = At Anchor,
Width = 1.626 inches,
Height = 0.938 inches,
Vertical Alignment = 0 inches,
Diagram =
V4,
(g9,1,0
(T8,1,12,0.066667,0.276667,0,1,0.333333,0,516,0,17,0,0,0,0,0,0,1,1,2048,512,10
2,1101,3,
<secno,
TOC Doc Name = TOC>
<Autonum, paranum, 1, First = Yes>
<End Text>)
(T8,2,12,0.026667,0.733333,0,1,0.333333,0,516,0,17,0,0,0,0,0,0,1,1,2048,512,10
2,1101,3,
<"table">
<Autonum, table, 1, First = Yes>
<End Text>)
(T8,3,12,0.066667,0.6,0,1,0.333333,0,516,0,17,0,0,0,0,0,0,1,1,2048,512,102,110
1,3,
<fig,
Alignment = Both,
Font = F6,
Autonumber Name = figure>
<Autonum, figure, 1, First = Yes>
<End Text>)
(g9,5,0
(p7,5,8,19
(g9,5,0
(g9,5,0
(v4,5,0,0.266667,0,1.6,0,17,1,0)
(v4,6,0,1.6,0,1.6,0.933333,17,1,0)
(v4,7,0,1.6,0.933333,0.266667,0.933333,17,1,0)
(v4,8,0,0.266667,0.933333,0.266667,0,17,1,0))))
(g9,10,0
(g9,10,8
(g9,10,1032
(p7,10,8,13
(g9,10,0
(g9,10,0
(v4,10,32,1.135964,0.934816,1.190176,0.784694,17,0,0)
(v4,11,0,1.190176,0.784694,1.190176,0.615804,17,1,0)
(v4,12,32,1.190176,0.615804,1.190176,0.46568,17,0,0)
(v4,13,0,1.190176,0.46568,1.190176,0.296792,17,1,0)
(v4,14,0,1.190176,0.296792,1.334736,0.296792,17,1,0)
(v4,15,0,1.334736,0.296792,1.334736,0.371851,17,1,0)
(v4,16,0,1.334736,0.371851,1.497369,0.371851,17,1,0)
(v4,17,0,1.497369,0.371851,1.497369,0.259259,17,1,0)
(v4,18,0,1.497369,0.259259,1.388948,0.14667,17,1,0)
(v4,19,0,1.388948,0.14667,1.135964,0.14667,17,1,0)
(v4,20,0,1.135964,0.14667,1.027545,0.259259,17,1,0)
(v4,21,0,1.027545,0.259259,1.027545,0.822225,17,1,0)
(v4,22,0,1.027545,0.822225,1.135964,0.934816,17,1,0))))
(p7,24,8,13
(g9,24,0
(g9,24,0
(v4,24,0,1.388948,0.934816,1.135964,0.934816,17,1,0)
(v4,25,32,1.135964,0.934816,1.190176,0.784694,17,0,0)
(v4,26,0,1.190176,0.784694,1.334736,0.784694,17,1,0)
(v4,27,0,1.334736,0.784694,1.334736,0.615804,17,1,0)
(v4,28,0,1.334736,0.615804,1.190176,0.615804,17,1,0)
(v4,29,32,1.190176,0.615804,1.190176,0.46568,17,0,0)
(v4,30,0,1.190176,0.46568,1.388948,0.46568,17,1,0)
(v4,31,0,1.388948,0.46568,1.497369,0.578266,17,1,0)
(v4,32,0,1.497369,0.578266,1.497369,0.822225,17,1,0)
(v4,33,0,1.497369,0.822225,1.388948,0.934816,17,1,0)))))
(g9,34,2048
(v4,34,33,0.973333,0.14667,0.973333,0.14667,17,0,0)
(v4,35,33,0.973333,1.16,0.973333,1.16,17,0,0)
(v4,36,33,1.55158,1.16,1.55158,1.16,17,0,0)
(v4,37,33,1.55158,0.14667,1.55158,0.14667,17,0,0)))
(g9,39,8
(p7,39,1032,13
(g9,39,0
(g9,39,0
(v4,39,0,0.933861,0.934816,0.933861,0.14667,17,1,0)
(v4,40,0,0.933861,0.14667,0.789299,0.14667,17,1,0)
(v4,41,0,0.789299,0.14667,0.644737,0.296792,17,1,0)
(v4,42,0,0.644737,0.296792,0.644737,0.371851,17,1,0)
(v4,43,0,0.644737,0.371851,0.771229,0.371851,17,1,0)
(v4,44,0,0.771229,0.371851,0.771229,0.934816,17,1,0)
(v4,45,0,0.771229,0.934816,0.933861,0.934816,17,1,0))))
(g9,46,2048
(v4,46,33,0.626667,0.14667,0.626667,0.14667,17,0,0)
(v4,47,33,0.626667,1.16,0.626667,1.16,17,0,0)
(v4,48,33,1.006141,1.16,1.006141,1.16,17,0,0)
(v4,49,33,1.006141,0.14667,1.006141,0.14667,17,0,0)))))
(E10,0,0,0,1,1,0.053333,1,15,0,0,1,0,0,0,0,1,1,1,0.066667,0.066667,6,6,0,0.066
667,6))>
<secrule,
Allow Page Break Within = no,
Allow Page Break After = yes,
Autonumber Name = >
<Index, "conditions", "CLX", Sort String = clx><Index, "CLX", Sort String = clx, "error conditions", To Named = sectitle><Index, "error conditions", "CLX", Sort String = clx, To Named = sectitle>
<Frame,
Name = "At Anchor",
Placement = At Anchor,
Width = 6.35 inches,
Height = 0.153 inches,
Vertical Alignment = 0.007 inches,
Diagram =
V4,
(g9,1,0
(v4,1,0,0.006667,0.066723,6.333333,0.066611,17,2,0)
(E10,0,0,0,1,1,0.053333,1,15,0,0,1,0,0,0,0,0,1,1,0.066667,0.066667,6,6,0,0.066
667,6))>
<p1para,
Alignment = Both,
Font = F2,
Allow Page Break After = yes>
<F5>Introduction<Tab><F6>16.1<F0><#04>CLX error conditions are
hierarchial. The base error condition is<FJ>
<F6>x<#1e>error<F0>, and all other conditions are built on top of <F6>x<#1e>
error<F0>. <F6>x<#1e>error<F0> can be built on a lower<#1e>level
condition that is implementation dependent (this is probably the <F6>error
<F0> condition).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
<Index, Doc = operations, "xlib:define<#1e>condition", Sort String = "define<#1e>condition">define<#1e>condition<F2> <F7>name<F2> (<F7>parent<#1e>t
ypes<F2>*) [({<F7>slot<#1e>specifier<F2>*}) {<F7>option<F2>*}] <F0><Tab>
<F2>Macro
<para>
Any new condition type must be defined with the <F6>define<#1e>condition<F0>
macro. A condition type has a name, parent types, report message,
and any number of slot items. See the <F7>Lisp Reference<F0> manual
for further information regarding <F6>define<#1e>condition<F0>.
The following are the predefined error conditions that can occur in
CLX.
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
access<#1e>error<Tab><Tab> <F2>Condition<Index, Doc = conditions, "xlib:access<#1e>error", Sort String = "access<#1e>error">
<para>
An <F6>access<#1e>error<F0> can occur for several reasons:
<bullet>
<F8>w<Tab><F0>A client attempted to grab a key/button combination
already grabbed by another client
<F8>w<Tab><F0>A client attempted to free a colormap entry that it
did not already allocate
<F8>w<Tab><F0>A client attempted to store into a read<#1e>only colormap
entry
<F8>w<Tab><F0>A client attempted to modify the access control list
from other than the local (or otherwise authorized) host
<F8>w<Tab><F0>A client attempted to select an event type that another
client has already selected, and, that at most, one client can select
at a time
<para>
An <F6>access<#1e>error<F0> is a special case of the more general <F6>reques
t<#1e>error<F0> (see page 16<#1e>189 for information on <F6>request<#1e>error
<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
alloc<#1e>error<Tab><Tab><F2>Condition<Index, Doc = conditions, "xlib:alloc<#1e>error", Sort String = "alloc<#1e>error">
<para>
The server failed to allocate the requested resource or server memory.
An <F6>alloc<#1e>error<F0> is a special case of the more general <F6>request
<#1e>error<F0> (see page 16<#1e>189 for information on <F6>request<#1e>error
<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
atom<#1e>error<Tab><Tab><F2>Condition<Index, Doc = conditions, "xlib:atom<#1e>error", Sort String = "atom<#1e>error">
<para>
A value for an <F7>atom<F0> argument does not name a defined atom.
An <F6>atom<#1e>error<F0> is a special case of the more general <F6>request<#1e>
error<F0> (see page 16<#1e>189 for information on <F6>request<#1e>error<F0>)
.
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
closed<#1e>display<Tab><F2>Condition<Index, Doc = conditions, "xlib:closed<#1e>display", Sort String = "closed<#1e>display">
<para>
The <F6>closed<#1e>display<F0> condition is signaled when trying
to read or write a closed display (that is, <F6>close<#1e>display<F0>
has been called on the <F6>display<F0> object, or a server<#1e>disconnect
occurred). The <F6>closed<#1e>display<F0> object is reported with
the error.
<|,"16<#1e>186">A <F6>closed<#1e>display<F0> condition is a special case of
the more general <F6>x<#1e>error<F0> (see page 16<#1e>190 for information
on <F6>x<#1e>error<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
colormap<#1e>error<Tab><F2>Condition<Index, Doc = conditions, "xlib:colormap<#1e>error", Sort String = "colormap<#1e>error">
<para>
A value for a <F7>colormap<F0> argument does not name a defined
colormap.
A <F6>colormap<#1e>error<F0> is a special case of the more general <F6>resou
rce<#1e>error<F0> (see page <Ref, Page #, Tag = yBQXa1e0kc> for information
on <F6>resource<#1e>error<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
connection<#1e>failure<Tab><F2>Condition<Index, Doc = conditions, "xlib:connection<#1e>failure", Sort String = "connection<#1e>failure">
<para>
Signaled when an X11 server refuses a connection. The following items
are reported along with the error:
<bullet>
<F8>w<Tab><F7>major<#1e>version<F0> <#1f> The major version of
the X server code.
<F8>w<Tab><F7>minor<#1e>version<F0> <#1f> The minor version of
the X server code.
<F8>w<Tab><F7>host<F0> <#1f> The host name for the X server.
<F8>w<Tab><F7>display <#1f> <F0>The display on which the error
occurred.
<F8>w<Tab><F7>reason<F0> <#1f> A string indicating why the connection
failed.
<para>
A <F6>connection<#1e>failure<F0> is a special case of the more general <F6>x
<#1e>error<F0> (see page 16<#1e>190 for information on <F6>x<#1e>error<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
cursor<#1e>error<F2> <Tab><F0><Tab><F2>Condition<Index, Doc = conditions, "xlib:cursor<#1e>error", Sort String = "cursor<#1e>error">
<para>
A value for a <F7>cursor<F0> argument does not name a defined cursor.
A <F6>cursor<#1e>error<F0> is a special case of the more general <F6>resourc
e<#1e>error<F0> (see page 16<#1e>189 for information on <F6>resource<#1e>erro
r<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
device<#1e>busy<F2> <F0><Tab><F2><Tab>Condition<Index, Doc = conditions, "xlib:device<#1e>busy", Sort String = "device<#1e>busy">
<para>
Signaled by (<F6>setf<F0> (<F6>pointer<#1e>mapping<F0> <F7>display<F0>)
<F6>mapping<F0>) when the <F6>set<#1e>pointer<#1e>mapping<F0>
request returns a busy status. A similar condition occurs in <F6>set<#1e>modif
ier<#1e>mapping<F0>, but in this case, it returns a boolean indicating
success, rather than signaling an error. The <F6>device<#1e>busy<F0>
condition returns the display object as part of the error.
A <F6>device<#1e>busy<F0> condition is a special case of the more
general <F6>x<#1e>error<F0> (see page 16<#1e>190 for information
on <F6>x<#1e>error<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
drawable<#1e>error <Tab><F2>Condition<Index, Doc = conditions, "xlib:drawable<#1e>error", Sort String = "drawable<#1e>error">
<para>
A value for a <F7>drawable<F0> argument does not name a defined
window or pixmap.
A <F6>drawable<#1e>error<F0> is a special case of the more general <F6>resou
rce<#1e>error<F0> (see page 16<#1e>189 for information on <F6>resource<#1e>er
ror<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
font<#1e>error <Tab><Tab><F2>Condition<Index, Doc = conditions, "xlib:font<#1e>error", Sort String = "font<#1e>error">
<para>
A value for a <F7>font<F0> or <F7>gcontext<F0> argument does not
name a defined font.
A <F6>font<#1e>error<F0> is a special case of the more general <F6>resource<#1e>
error<F0> (see page 16<#1e>189 for information on <F6>resource<#1e>error
<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
<|,"16<#1e>187">gcontext<#1e>error<F2> <F0><Tab><F2>Condition<Index, Doc = conditions, "xlib:gcontext<#1e>error", Sort String = "gcontext<#1e>error">
<para>
A value for a <F7>gcontext<F0> argument does not name a defined
GContext.
A <F6>gcontext<#1e>error<F0> is a special case of the more general <F6>resou
rce<#1e>error<F0> (see page 16<#1e>189 for information on <F6>resource<#1e>er
ror<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
id<#1e>choice<#1e>error <Tab><F2>Condition<Index, Doc = conditions, "xlib:id<#1e>choice<#1e>error", Sort String = "id<#1e>choice<#1e>error">
<para>
The value chosen for a resource identifier is either not included
in the range assigned to the client or is already in use. Under normal
circumstances, this cannot occur and should be considered a server
or CLX library error.
An <F6>id<#1e>choice<#1e>error<F0> is a special case of the more
general <F6>resource<#1e>error<F0> (see page 16<#1e>189 for information
on <F6>resource<#1e>error<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
implementation<#1e>error <Tab><F2>Condition<Index, Doc = conditions, "xlib:implementation<#1e>error", Sort String = "implementation<#1e>error">
<para>
The server does not implement some aspect of the request. A server
that generates this error for a core request is deficient. As such,
this error is not listed for any of the requests. However, clients
should be prepared to receive such errors and either handle or discard
them.
An <F6>implementation<#1e>error<F0> is a special case of the more
general <F6>resource<#1e>error<F0> (see page 16<#1e>189 for information
on <F6>resource<#1e>error<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
length<#1e>error <Tab><F2><Tab>Condition<Index, Doc = conditions, "xlib:length<#1e>error", Sort String = "length<#1e>error">
<para>
The length of a request is shorter or longer than that minimally required
to contain the arguments. This usually means an internal CLX error.
A <F6>length<#1e>error<F0> is a special case of the more general <F6>resourc
e<#1e>error<F0> (see page 16<#1e>189 for information on <F6>resource<#1e>erro
r<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
lookup<#1e>error<F2> <F0><Tab><F2><Tab>Condition<Index, Doc = conditions, "xlib:lookup<#1e>error", Sort String = "lookup<#1e>error">
<para>
CLX has the option of caching different resource types (see <F6>*clx<#1e>cache
d<#1e>types*<F0>) in a hash table by resource ID. When looking up
an object in the hash table, if the type of the object is wrong, a <F6>lookup<#1e>
error<F0> is signaled.
For example: The cursor with ID 123 is interned in the hash table.
An event is received with a field for window 123. When 123 is looked
up in the hash table, a cursor is found. Since a window was expected,
a <F6>lookup<#1e>error<F0> is signaled. This error indicates a problem
with the extension code being used. The following items are reported
along with the error:
<bullet>
<F8>w<Tab><F7>id<F0> <#1f> The resource ID.
<F8>w<Tab><F7>display<F0> <#1f> The display being used.
<F8>w<Tab><F7>type<F0> <#1f> The resource type.
<F8>w<Tab><F7>object<F0> <#1f> The <F6>resource<F0> object.
<para>
A <F6>lookup<#1e>error<F0> is a special case of the more general <F6>x<#1e>e
rror<F0> (see page 16<#1e>190 for information on <F6>x<#1e>error<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
<|,"16<#1e>188">match<#1e>error <Tab><Tab><F2>Condition<Index, Doc = conditions, "xlib:match<#1e>error", Sort String = "match<#1e>error">
<para>
In a graphics request, the root and depth of the GContext does not
match that of the drawable. An <F6>:input<#1e>only<F0> window is
used as a drawable. Some argument or pair of arguments has the correct
type and range but fails to match in some other way required by the
request. An <F6>:input<#1e>only<F0> window locks this attribute.
The values do not exist for an <F6>:input<#1e>only<F0> window.
A <F6>match<#1e>error<F0> is a special case of the more general <F6>request<#1e>
error<F0> (see page 16<#1e>189 for information on <F6>request<#1e>error<F0>)
.
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
missing<#1e>parameter <Tab><F2>Condition<Index, Doc = conditions, "xlib:missing<#1e>parameter", Sort String = "missing<#1e>parameter">
<para>
One or more of the required keyword parameters is missing or <F6>nil<F0>.
The missing parameters are reported along with the error.
A <F6>missing<#1e>parameter<F0> condition is a special case of the
more general <F6>x<#1e>error<F0> (see page 16<#1e>190 for information
on <F6>x<#1e>error<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
name<#1e>error<F2> <Tab><F0><Tab><F2>Condition<Index, Doc = conditions, "xlib:name<#1e>error", Sort String = "name<#1e>error">
<para>
A font or color of the specified name does not exist.
A <F6>name<#1e>error<F0> is a special case of the more general <F6>request<#1e>
error<F0> (see page 16<#1e>189 for information on <F6>request<#1e>error<F0>)
.
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
pixmap<#1e>error<F2> <F0><Tab><F2>Condition<Index, Doc = conditions, "xlib:pixmap<#1e>error", Sort String = "pixmap<#1e>error">
<para>
A value for a <F7>pixmap<F0> argument does not name a defined pixmap.
A <F6>pixmap<#1e>error<F0> is a special case of the more general <F6>resourc
e<#1e>error<F0>. (See page 16<#1e>189 for information on <F6>resource<#1e>err
or<F0>.)
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
reply<#1e>length<#1e>error<F2> (<F0>x<#1e>error<F2>) (<F7>slots*<F2>)
<F0><Tab><F2>Condition<Index, Doc = conditions, "xlib:reply<#1e>length<#1e>error", Sort String = "reply<#1e>length<#1e>error">
<para>
The reply to a request has an unexpected length. The following items
are reported along with the error:
<bullet>
<F8>w<Tab><F7>reply<#1e>length<F0> <#1f> The actual reply length.
<F8>w<Tab><F7>expected<#1e>length<F0> <#1f> The expected reply
length.
<F8>w<Tab><F7>display<F0> <#1f> The display on which the error
occurred.
<para>
A <F6>reply<#1e>length<#1e>error<F0> is a special case of the more
general <F6>x<#1e>error<F0> (see page 16<#1e>190 for information
on <F6>x<#1e>error<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
reply<#1e>timeout <Tab><F2>Condition<Index, Doc = conditions, "xlib:reply<#1e>timeout", Sort String = "reply<#1e>timeout">
<para>
The <F6>*reply<#1e>timeout*<F0> parameter specifies the maximum
number of seconds to wait for a request reply, or <F6>nil<F0> to
wait forever (the default). When a reply has not been received after
*<F6>reply<#1e>timeout<F0>* seconds, the <F6>reply<#1e>timeout<F0>
condition is signaled. The <F7>timeout period<F0> and <F7>display<F0>
are reported along with the error.
A <F6>reply<#1e>timeout<F0> condition is a special case of the more
general <F6>x<#1e>error<F0> (see page 16<#1e>190 for information
on <F6>x<#1e>error<F0>).
<syntax,
New Page = yes,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
<|,"16<#1e>189"><Autonum, invisible, 1, First = Yes, Tagname = j1QXa17ckc>request<#1e>err
or <Tab><F2>Condition<Index, Doc = conditions, "xlib:request<#1e>error", Sort String = "request<#1e>error">
<para>
The following items are reported along with the error:
The major or minor opcode does not specify a valid request.
<bullet>
<F8>w<Tab><F7>display<F0> <#1f> The display on which the error
occurred.
<F8>w<Tab><F7>error<#1e>key<F0> <#1f> The error (sub)type.
<F8>w<Tab><F7>major<F0> <#1f> The major opcode.
<F8>w<Tab><F7>minor<F0> <#1f> The minor opcode.
<F8>w<Tab><F7>sequence<F0> <#1f> The actual sequence number.
<F8>w<Tab><F7>current<#1e>sequence<F0> <#1f> The current sequence
number.
<para>
A <F6><Autonum, invisible, 1>request<#1e>error<F0> condition is
a special case of the more general <F6>x<#1e>error<F0> (see page
16<#1e>190 for information on <F6>x<#1e>error<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
<Autonum, invisible, 1, Tagname = yBQXa1e0kc>resource<#1e>error <Tab><F2>Condi
tion<Index, Doc = conditions, "xlib:resource<#1e>error", Sort String = "resource<#1e>error">
<para>
All X11 errors for incorrect resource IDs are built on top of <F6>resource<#1e>
error<F0>. These are <F6>colormap<#1e>error<F0>, <F6>cursor<#1e>error<F0>,
<F6>drawable<#1e>error<F0>, <F6>font<#1e>error<F0>, <F6>gcontext<#1e>error
<F0>, <F6>id<#1e>choice<#1e>error<F0>, <F6>pixmap<#1e>error<F0>
and <F6>window<#1e>error<F0>. <F6>resource<#1e>error<F0> is never
signaled directly.
A <F6><Autonum, invisible, 1>resource<#1e>error<F0> is a special
case of the more general <F6>request<#1e>error<F0> (see page 16<#1e>189
for information on <F6>request<#1e>error<F0>).
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
sequence<#1e>error <Tab><F2>Condition<Index, Doc = conditions, "xlib:sequence<#1e>error", Sort String = "sequence<#1e>error">
<para>
All X11 request replies contain the sequence number of their request.
If a reply's sequence does not match the request count, a <F6>sequence<#1e>err
or<F0> is signaled. A <F6>sequence<#1e>error<F0> usually indicates
a locking problem with a multi<#1e>processing Lisp. The following
items are reported along with the error:
<bullet>
<F8>w<Tab><F7>display<F0> <#1f> The display on which the error
occurred.
<F8>w<Tab><F7>req<#1e>sequence<F0> <#1f> The sequence number in
the reply.
<F8>w<Tab><F7>msg<#1e>sequence<F0> <#1f> The current sequence number.
<para>
A <F6>sequence<#1e>error<F0> condition is a special case of the
more general <F6>x<#1e>error<F0>. (See page 16<#1e>190 for information
on <F6>x<#1e>error<F0>.)
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
server<#1e>disconnect <Tab><F2>Condition<Index, Doc = conditions, "xlib:server<#1e>disconnect", Sort String = "server<#1e>disconnect">
<para>
The connection to the server was lost. The display on which the error
occurred is reported along with the error.
A <F6>server<#1e>disconnect<F0> condition is a special case of the
more general <F6>x<#1e>error<F0>. (See page 16<#1e>190 for information
on <F6>x<#1e>error<F0>.)
<syntax,
New Page = yes,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
<|,"16<#1e>190">unexpected<#1e>reply<F2> <F0><Tab><F2>Condition<Index, Doc = conditions, "xlib:unexpected<#1e>reply", Sort String = "unexpected<#1e>reply">
<para>
A reply was found when none was expected. This indicates a problem
with the extension code. The following items are reported along with
the error:
<bullet>
<F8>w<Tab><F7>display<F0> <#1f> The display on which the error
occurred.
<F8>w<Tab><F7>req<#1e>sequence<F0> <#1f> The sequence number in
the reply.
<F8>w<Tab><F7>msg<#1e>sequence<F0> <#1f> The current sequence number.
<F8>w<Tab><F7>length<F0> <#1f> The message length of the reply.
<para>
An <F6>unexpected<#1e>reply<F0> condition is a special case of the
more general<FJ>
<F6>x<#1e>error<F0>. (See page 16<#1e>190 for information on <F6>x<#1e>error
<F0>.)
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
unknown<#1e>error <F2>(<F0>request<#1e>error<F2>) (<F0>error<#1e>code<F2>)
<F0><Tab><F2>Condition<Index, Doc = conditions, "xlib:unknown<#1e>error", Sort String = "unknown<#1e>error">
<para>
An error was received from the server with an unknown error code.
This indicates a problem with the extension code. The undefined error
code is reported.
An <F6>unknown<#1e>error<F0> is a special case of the more general <F6>reque
st<#1e>error<F0>. (See page 16<#1e>189 for information on <F6>request<#1e>err
or<F0>.)
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
value<#1e>error<F2> (<F0>request<#1e>error<F2>) (<F0>value<F2>)<F0><Tab>
<F2>Condition<Index, Doc = conditions, "xlib:value<#1e>error", Sort String = "value<#1e>error">
<para>
Some numeric value falls outside the range of values accepted by the
request. Unless a specific range is specified for an argument, the
full range defined by the argument's type is accepted. Any argument
defined as a set of alternatives can generate this error. The erroneous
value is reported.
A <F6>value<#1e>error<F0> is a special case of the more general <F6>request<#1e>
error<F0>. (See page 16<#1e>189 for information on <F6>request<#1e>error
<F0>.)
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
window<#1e>error<F2> (<F0>resource<#1e>error<F2>)<F0><Tab><F2>Condition<Index, Doc = conditions, "xlib:window<#1e>error", Sort String = "window<#1e>error">
<para>
A value for a <F7>window<F0> argument does not name a defined window.
A <F6>window<#1e>error<F0> is a special case of the more general <F6>resourc
e<#1e>error<F0>. (See page 16<#1e>189 for information on <F6>resource<#1e>err
or<F0>.)
<syntax,
Left Tab = -0.90/0 inches,
Right Tab = 7.50 inches>
<Autonum, invisible, 1, Tagname = NAQXa244kc>x<#1e>error<Tab><Tab><F2>Conditio
n<Index, Doc = conditions, "xlib:x<#1e>error", Sort String = "x<#1e>error">
<para>
This is the most general error condition upon which all other conditions
are defined.