xvctl.1 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. .\" $OpenBSD: xvctl.1,v 1.3 2013/08/26 19:25:10 espie Exp $
  2. .\"
  3. .\" Copyright (c) 2001 Marc Espie
  4. .\"
  5. .\" All rights reserved.
  6. .\"
  7. .\" Redistribution and use in source and binary forms, with or without
  8. .\" modification, are permitted provided that the following conditions
  9. .\" are met:
  10. .\" 1. Redistributions of source code must retain the above copyright
  11. .\" notice, this list of conditions and the following disclaimer.
  12. .\" 2. Redistributions in binary form must reproduce the above copyright
  13. .\" notice, this list of conditions and the following disclaimer in the
  14. .\" documentation and/or other materials provided with the distribution.
  15. .\"
  16. .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
  17. .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  18. .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  19. .\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
  20. .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  21. .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  22. .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  23. .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  24. .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  25. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26. .\"
  27. .Dd November 9, 2001
  28. .Dt XVCTL 1
  29. .Os
  30. .Sh NAME
  31. .Nm xvctl
  32. .Nd get or set xv extension values
  33. .Sh SYNOPSIS
  34. .Nm xvctl
  35. .Op Fl n
  36. .Op Fl d Ar display
  37. .Op Fl s Ar screen
  38. .Op Fl A Ar adaptor
  39. .Ar name ...
  40. .Nm xvctl
  41. .Op Fl n
  42. .Op Fl d Ar display
  43. .Op Fl s Ar screen
  44. .Op Fl A Ar adaptor
  45. .Fl w
  46. .Ar name=value ...
  47. .Nm xvctl
  48. .Op Fl n
  49. .Op Fl d Ar display
  50. .Op Fl s Ar screen
  51. .Op Fl A Ar adaptor
  52. .Fl a
  53. .Sh DESCRIPTION
  54. The
  55. .Nm
  56. utility retrieves the Xvideo extension attributes and
  57. allows the user to set them.
  58. .Pp
  59. For instance, this can be used to change the contrast or brightness of an
  60. external video program.
  61. .Pp
  62. The options are as follows:
  63. .Bl -tag -width xxx
  64. .It Fl d Ar display
  65. affect the display named
  66. .Ar display ,
  67. instead of the default display.
  68. .It Fl s Ar screen
  69. affect screen #
  70. .Ar screen .
  71. By default, the first screen with video adaptors will be chosen.
  72. .It Fl A Ar adaptor
  73. affect adaptor #
  74. .Ar adaptor .
  75. By default, the first display adaptor will be chosen.
  76. .It Fl a
  77. list all the currently available gettable attributes.
  78. This is the default, if no parameters are givne.
  79. .It Fl n
  80. suppress printing of the field name, only output the field value.
  81. Useful for setting shell variables.
  82. .El
  83. .Sh SEE ALSO
  84. .Xr xvinfo 1 ,
  85. .Xr Xv 3x