~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/doc/man/Xt/XtParATab.man

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" $Xorg: XtParATab.man,v 1.3 2000/08/17 19:42:02 cpqbld Exp $
 
2
.\"
 
3
.\" Copyright 1993 X Consortium
 
4
.\"
 
5
.\" Permission is hereby granted, free of charge, to any person obtaining
 
6
.\" a copy of this software and associated documentation files (the
 
7
.\" "Software"), to deal in the Software without restriction, including
 
8
.\" without limitation the rights to use, copy, modify, merge, publish,
 
9
.\" distribute, sublicense, and/or sell copies of the Software, and to
 
10
.\" permit persons to whom the Software is furnished to do so, subject to
 
11
.\" the following conditions:
 
12
.\"
 
13
.\" The above copyright notice and this permission notice shall be
 
14
.\" included in all copies or substantial portions of the Software.
 
15
.\"
 
16
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 
17
.\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
18
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 
19
.\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
 
20
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 
21
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 
22
.\" OTHER DEALINGS IN THE SOFTWARE.
 
23
.\"
 
24
.\" Except as contained in this notice, the name of the X Consortium shall
 
25
.\" not be used in advertising or otherwise to promote the sale, use or
 
26
.\" other dealings in this Software without prior written authorization
 
27
.\" from the X Consortium.
 
28
.\"
 
29
.\" $XFree86: xc/doc/man/Xt/XtParATab.man,v 1.2 2001/01/27 18:20:28 dawes Exp $
 
30
.\"
 
31
.ds tk X Toolkit
 
32
.ds xT X Toolkit Intrinsics \- C Language Interface
 
33
.ds xI Intrinsics
 
34
.ds xW X Toolkit Athena Widgets \- C Language Interface
 
35
.ds xL Xlib \- C Language X Interface
 
36
.ds xC Inter-Client Communication Conventions Manual
 
37
.ds Rn 3
 
38
.ds Vn 2.2
 
39
.hw XtParse-Accelerator-Table XtInstall-Accelerators XtInstall-All-Accelerators wid-get
 
40
.na
 
41
.de Ds
 
42
.nf
 
43
.\\$1D \\$2 \\$1
 
44
.ft 1
 
45
.ps \\n(PS
 
46
.\".if \\n(VS>=40 .vs \\n(VSu
 
47
.\".if \\n(VS<=39 .vs \\n(VSp
 
48
..
 
49
.de De
 
50
.ce 0
 
51
.if \\n(BD .DF
 
52
.nr BD 0
 
53
.in \\n(OIu
 
54
.if \\n(TM .ls 2
 
55
.sp \\n(DDu
 
56
.fi
 
57
..
 
58
.de FD
 
59
.LP
 
60
.KS
 
61
.TA .5i 3i
 
62
.ta .5i 3i
 
63
.nf
 
64
..
 
65
.de FN
 
66
.fi
 
67
.KE
 
68
.LP
 
69
..
 
70
.de IN          \" send an index entry to the stderr
 
71
..
 
72
.de C{
 
73
.KS
 
74
.nf
 
75
.D
 
76
.\"
 
77
.\"     choose appropriate monospace font
 
78
.\"     the imagen conditional, 480,
 
79
.\"     may be changed to L if LB is too
 
80
.\"     heavy for your eyes...
 
81
.\"
 
82
.ie "\\*(.T"480" .ft L
 
83
.el .ie "\\*(.T"300" .ft L
 
84
.el .ie "\\*(.T"202" .ft PO
 
85
.el .ie "\\*(.T"aps" .ft CW
 
86
.el .ft R
 
87
.ps \\n(PS
 
88
.ie \\n(VS>40 .vs \\n(VSu
 
89
.el .vs \\n(VSp
 
90
..
 
91
.de C}
 
92
.DE
 
93
.R
 
94
..
 
95
.de Pn
 
96
.ie t \\$1\fB\^\\$2\^\fR\\$3
 
97
.el \\$1\fI\^\\$2\^\fP\\$3
 
98
..
 
99
.de ZN
 
100
.ie t \fB\^\\$1\^\fR\\$2
 
101
.el \fI\^\\$1\^\fP\\$2
 
102
..
 
103
.de NT
 
104
.ne 7
 
105
.ds NO Note
 
106
.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
 
107
.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
 
108
.ie n .sp
 
109
.el .sp 10p
 
110
.TB
 
111
.ce
 
112
\\*(NO
 
113
.ie n .sp
 
114
.el .sp 5p
 
115
.if '\\$1'C' .ce 99
 
116
.if '\\$2'C' .ce 99
 
117
.in +5n
 
118
.ll -5n
 
119
.R
 
120
..
 
121
.               \" Note End -- doug kraft 3/85
 
122
.de NE
 
123
.ce 0
 
124
.in -5n
 
125
.ll +5n
 
126
.ie n .sp
 
127
.el .sp 10p
 
128
..
 
129
.ny0
 
130
.TH XtParseAcceleratorTable 3Xt __xorgversion__ "XT FUNCTIONS"
 
131
.SH NAME
 
132
XtParseAcceleratorTable, XtInstallAccelerators, XtInstallAllAccelerators \- managing accelerator tables
 
133
.SH SYNTAX
 
134
XtAccelerators XtParseAcceleratorTable(\fIsource\fP)
 
135
.br
 
136
      String \fIsource\fP;
 
137
.LP
 
138
void XtInstallAccelerators(\fIdestination\fP, \fIsource\fP)
 
139
.br
 
140
      Widget \fIdestination\fP;
 
141
.br
 
142
      Widget \fIsource\fP;
 
143
.LP
 
144
void XtInstallAllAccelerators(\fIdestination\fP, \fIsource\fP)
 
145
.br
 
146
      Widget \fIdestination\fP;
 
147
.br
 
148
      Widget \fIsource\fP;
 
149
.SH ARGUMENTS
 
150
.ds So to compile
 
151
.IP \fIsource\fP 1i
 
152
Specifies the accelerator table \*(So.
 
153
.IP \fIdestination\fP 1i
 
154
Specifies the widget on which the accelerators are to be installed.
 
155
.ds Sr widget or the root widget of the widget tree
 
156
.IP \fIsource\fP 1i
 
157
Specifies the \*(Sr from which the accelerators are to come.
 
158
.SH DESCRIPTION
 
159
The
 
160
.ZN XtParseAcceleratorTable
 
161
function compiles the accelerator table into the opaque internal representation.
 
162
.LP
 
163
The
 
164
.ZN XtInstallAccelerators
 
165
function installs the accelerators from source onto destination
 
166
by augmenting the destination translations with the source accelerators.
 
167
If the source display_accelerator method is non-NULL, 
 
168
.ZN XtInstallAccelerators
 
169
calls it with the source widget and a string representation 
 
170
of the accelerator table,
 
171
which indicates that its accelerators have been installed 
 
172
and that it should display them appropriately.
 
173
The string representation of the accelerator table is its
 
174
canonical translation table representation.
 
175
.LP
 
176
The
 
177
.ZN XtInstallAllAccelerators
 
178
function recursively descends the widget tree rooted at source 
 
179
and installs the accelerators of each widget encountered onto destination.
 
180
A common use os to call
 
181
.ZN XtInstallAllAccelerators
 
182
and pass the application main window as the source.
 
183
.SH "SEE ALSO"
 
184
XtParseTranslationTable(1)
 
185
.br
 
186
\fI\*(xT\fP
 
187
.br
 
188
\fI\*(xL\fP