open-src/app/dispswitch/sun-src/dispswitch.man
author X gate hg captive account <xhg@xserver.us.oracle.com>
Wed, 19 Aug 2015 13:48:41 -0700
changeset 1484 bc8922b8e1d2
parent 977 46c5e46c27fb
permissions -rw-r--r--
Added tag s11u3_30 for changeset 221e9d9cc9cb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
649
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     1
'\" t
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     2
.\"
919
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
     3
.\" Copyright 2001 Keith Packard
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
     4
.\"
649
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     5
.\" Permission to use, copy, modify, distribute, and sell this software and its
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     6
.\" documentation for any purpose is hereby granted without fee, provided that
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     7
.\" the above copyright notice appear in all copies and that both that
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     8
.\" copyright notice and this permission notice appear in supporting
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     9
.\" documentation, and that the name of Keith Packard not be used in
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    10
.\" advertising or publicity pertaining to distribution of the software without
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    11
.\" specific, written prior permission.  Keith Packard makes no
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    12
.\" representations about the suitability of this software for any purpose.  It
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    13
.\" is provided "as is" without express or implied warranty.
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    14
.\"
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    15
.\" KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    16
.\" INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    17
.\" EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    18
.\" CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    19
.\" DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    20
.\" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    21
.\" PERFORMANCE OF THIS SOFTWARE.
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    22
.\"
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    23
.\" Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
649
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    24
.\"
919
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    25
.\" Permission is hereby granted, free of charge, to any person obtaining a
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    26
.\" copy of this software and associated documentation files (the "Software"),
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    27
.\" to deal in the Software without restriction, including without limitation
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    28
.\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    29
.\" and/or sell copies of the Software, and to permit persons to whom the
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    30
.\" Software is furnished to do so, subject to the following conditions:
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    31
.\"
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    32
.\" The above copyright notice and this permission notice (including the next
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    33
.\" paragraph) shall be included in all copies or substantial portions of the
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    34
.\" Software.
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    35
.\"
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    36
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    37
.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    38
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    39
.\" THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    40
.\" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    41
.\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    42
.\" DEALINGS IN THE SOFTWARE.
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    43
.\"
649
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    44
.\"
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    45
.TH DISPSWITCH __appmansuffix__ __vendorversion__
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    46
.SH NAME
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    47
dispswitch \- Display Device Switch
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    48
.SH SYNOPSIS
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 649
diff changeset
    49
.B "/usr/bin/dispswitch"
649
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    50
[\-display \fIdisplay\fP]
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    51
[\-key \fIkeysym\fP]
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    52
[\-mod \fImodifier\fP]
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    53
[\-help]
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    54
[\-verbose]
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    55
[\-nosideview]
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    56
[\-testrun]
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    57
.SH DESCRIPTION
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    58
.I Dispswitch
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    59
uses hotkey to switch/rotate on/off of display devices up to 3 devices. Side-by-side views are included when two devices are connected. It works on systems where both server and driver support RandR version 1.2 (or above). 
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    60
User can define a hotkey with -key and -mod options (see below), the default is "Shift + F5".
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    61
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    62
If a key stroke is hit 5 seconds or longer after the previous switch, display devices are re-probed so that any changes such as adding or removing devices, can be detected and adapted to.
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    63
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    64
If a new display device is added whose mode size is larger than the one with which X server is started, or a side-by-side view is switched into that needs a larger mode to cover both screens, a config file specifying larger virtual screen size (Virtual field in Screen Section) will be needed during X server startup. Otherwise the larger mode will not be realized, or the side-by-side view will be skipped.
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    65
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    66
.IP \-help
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    67
Print out a summary of the usage and exit.
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    68
.IP "\-verbose or -v"
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    69
Print out debug messages when run.
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    70
.IP \-nosideview
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    71
Skip side-by-side views in two devices rotating.
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    72
.IP \-testrun
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    73
Switch/rotate display device states repeatedly without hotkey strokes.
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    74
.IP "\-key <keysym> or -k <keysym>"
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    75
Define the keysym of hotkey to be <keysym>, which can be any entry defined in
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 649
diff changeset
    76
defined in /usr/include/X11/keysymdef.h, with prefix XK_ removed, such as F5, F8, Escape.
649
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    77
.IP "\-mod <modifier> or -m <modifier>"
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 649
diff changeset
    78
Define the modifier of hotkey to be <modifier>. <modifier> is any or combination of modifiers on your system. Run 
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 649
diff changeset
    79
.BR xmodmap (1)
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 649
diff changeset
    80
to find all available modifiers on your system. They can be none, shift, control, mod1, mod3, mod4, mod5, any.
649
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    81
.SH
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    82
Examples:
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    83
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    84
dispswitch -key Escape -mod shift		defines hotkey to be 'shift + Esc'
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    85
.sp
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    86
dispswitch -key F2 -mod "shift+control" 	defines hotkey to be 'shift + control + F2'
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    87
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    88
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    89
.\" Begin Sun update
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    90
.SH "ATTRIBUTES"
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    91
See \fBattributes\fR(5) for descriptions of the following attributes:
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    92
.sp
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    93
.TS
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    94
allbox;
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    95
cw(2.750000i)| cw(2.750000i)
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    96
lw(2.750000i)| lw(2.750000i).
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    97
ATTRIBUTE TYPE	ATTRIBUTE VALUE
977
46c5e46c27fb 6967081 X package names need adjusting
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    98
Availability	pkg:/x11/x11-server-utilities
649
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    99
Interface Stability	Volatile
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   100
.TE 
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   101
.sp
f86993f8a87b 6809582 dispswitch should be moved to its own source directory
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   102
.\" End Sun update