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

« back to all changes in this revision

Viewing changes to unix/xc/programs/xmag/xmag.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: xmag.man,v 1.4 2001/02/09 02:05:55 xorgcvs Exp $
 
2
.\" Copyright 1991, 1994, 1998  The Open Group
 
3
.\" 
 
4
.\" Permission to use, copy, modify, distribute, and sell this software and its
 
5
.\" documentation for any purpose is hereby granted without fee, provided that
 
6
.\" the above copyright notice appear in all copies and that both that
 
7
.\" copyright notice and this permission notice appear in supporting
 
8
.\" documentation.
 
9
.\" 
 
10
.\" The above copyright notice and this permission notice shall be included
 
11
.\" in all copies or substantial portions of the Software.
 
12
.\" 
 
13
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 
14
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
15
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 
16
.\" IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
 
17
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 
18
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 
19
.\" OTHER DEALINGS IN THE SOFTWARE.
 
20
.\" 
 
21
.\" Except as contained in this notice, the name of The Open Group shall
 
22
.\" not be used in advertising or otherwise to promote the sale, use or
 
23
.\" other dealings in this Software without prior written authorization
 
24
.\" from The Open Group.
 
25
.\"
 
26
.\" $XFree86: xc/programs/xmag/xmag.man,v 1.7 2001/12/14 20:02:12 dawes Exp $
 
27
.\"
 
28
.TH XMAG 1 __xorgversion__
 
29
.SH NAME
 
30
xmag \- magnify parts of the screen
 
31
.SH SYNOPSIS
 
32
.B xmag
 
33
[
 
34
.B \-mag
 
35
.I magfactor
 
36
] [
 
37
.B \-source
 
38
.I geom
 
39
] [
 
40
.I \-toolkitoption
 
41
\&.\|.\|. ]
 
42
.SH DESCRIPTION
 
43
The \fIxmag\fP program allows you to magnify portions of an X screen.  If no 
 
44
explicit region is specified, a square with the pointer in the upper left 
 
45
corner is displayed indicating the area to be enlarged.  The area can be 
 
46
dragged out to the desired size by pressing Button 2.  Once a region has 
 
47
been selected, a window is popped up showing a blown up version of the region 
 
48
in which each pixel in the source image is represented by a small square of 
 
49
the same color.  Pressing Button1 in the enlargement window 
 
50
shows the position and RGB value
 
51
of the pixel under the pointer until the button is released.  Typing ``Q'' 
 
52
or ``^C'' in the enlargement window exits the program.  The application has
 
53
5 buttons across its top.
 
54
\fIClose\fP deletes this particular magnification instance.
 
55
\fIReplace\fP brings up the rubber band selector again to select another
 
56
region for this magnification instance.
 
57
\fINew\fP brings up the rubber band
 
58
selector to create a new magnification instance.
 
59
\fICut\fP puts the magnification image into the primary selection.
 
60
\fIPaste\fP copies the primary selection buffer into \fIxmag\fP.
 
61
Note that you can cut and paste between \fIxmag\fP and the \fIbitmap\fP
 
62
program.  Resizing \fIxmag\fP resizes the magnification area.
 
63
\fIxmag\fP preserves
 
64
the colormap, visual, and window depth of the source.
 
65
.SH WIDGETS
 
66
\fIxmag\fP uses the X Toolkit and the Athena Widget Set.
 
67
The magnified image is displayed in the Scale widget.  
 
68
For more information, see the Athena Widget Set documentation.
 
69
Below is the widget structure of the \fIxmag\fP application.
 
70
Indentation indicates hierarchical  structure.  The widget class
 
71
name is given first, followed by the widget instance name.
 
72
.sp
 
73
.nf
 
74
        Xmag xmag
 
75
                RootWindow root
 
76
                TopLevelShell xmag
 
77
                        Paned pane1
 
78
                                Paned pane2
 
79
                                        Command close
 
80
                                        Command replace
 
81
                                        Command new
 
82
                                        Command select
 
83
                                        Command paste
 
84
                                        Label xmag label
 
85
                                Paned pane2
 
86
                                        Scale scale
 
87
                OverrideShell pixShell 
 
88
                        Label pixLabel
 
89
                
 
90
.fi
 
91
.SH OPTIONS
 
92
.TP 15
 
93
.B \-source\fI geom\fP
 
94
This option specifies the size and/or location of the source region 
 
95
on the screen.  By default, a 64x64 square is provided for the user to select 
 
96
an area of the screen.
 
97
.TP 15
 
98
.B \-mag\fI integer\fP
 
99
This option indicates the magnification to be used.  5 is the default.
 
100
.SH AUTHORS
 
101
Dave Sternlicht and Davor Matic, MIT X Consortium.