home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume3 / awm2 / part10 / Bindings.c next >
Encoding:
C/C++ Source or Header  |  1989-02-21  |  3.6 KB  |  128 lines

  1.  
  2.  
  3.  
  4. #ifndef lint
  5. static char *rcsid_Bindings_c = "$Header: /usr/graph2/X11.3/contrib/windowmgrs/awm/RCS/Bindings.c,v 1.1 89/01/23 15:33:56 jkh Exp $";
  6. #endif    lint
  7.  
  8. #include "X11/copyright.h"
  9. /*
  10.  *
  11.  * Copyright 1987, 1988 by Ardent Computer Corporation, Sunnyvale, Ca.
  12.  *
  13.  * Copyright 1987 by Jordan Hubbard.
  14.  *
  15.  *
  16.  *                         All Rights Reserved
  17.  *
  18.  * Permission to use, copy, modify, and distribute this software and its
  19.  * documentation for any purpose and without fee is hereby granted,
  20.  * provided that the above copyright notice appear in all copies and that
  21.  * both that copyright notice and this permission notice appear in
  22.  * supporting documentation, and that the name of Ardent Computer
  23.  * Corporation or Jordan Hubbard not be used in advertising or publicity
  24.  * pertaining to distribution of the software without specific, written
  25.  * prior permission.
  26.  *
  27.  */
  28.  
  29. /*
  30.  * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
  31.  *
  32.  *                         All Rights Reserved
  33.  *
  34.  * Permission to use, copy, modify, and distribute this software and its
  35.  * documentation for any purpose and without fee is hereby granted,
  36.  * provided that the above copyright notice appear in all copies and that
  37.  * both that copyright notice and this permission notice appear in
  38.  * supporting documentation, and that the name of Digital Equipment
  39.  * Corporation not be used in advertising or publicity pertaining to
  40.  * distribution of the software without specific, written prior permission.
  41.  *
  42.  *
  43.  * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  44.  * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  45.  * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  46.  * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  47.  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  48.  * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  49.  * SOFTWARE.
  50.  */
  51.  
  52.  
  53.  
  54. /*
  55.  * MODIFICATION HISTORY
  56.  *
  57.  * 000 -- M. Gancarz, DEC Ultrix Engineering Group
  58.  */
  59.  
  60. #ifndef lint
  61. static char *sccsid = "@(#)Bindings.c    3.8    1/24/86";
  62. #endif
  63.  
  64. /*
  65.  * Bindings.c     Default bindings for the X window manager 'awm'
  66.  *
  67.  * Note: Any changes to this file should also be added to the file
  68.  * /usr/new/lib/X/awm/default.awmrc to keep users informed as to the bindings
  69.  * contained herein.
  70.  */
  71.  
  72. char *DefaultBindings[] = {
  73. "menu=\"WindowOps\"{",
  74. "New Window:!\"xterm&\"",
  75. "RefreshScreen:f.refresh",
  76. "Redraw:f.redraw",
  77. "Move:f.move",
  78. "Resize:f.resize",
  79. "Lower:f.lower",
  80. "Raise:f.raise",
  81. "CircUp:f.circleup",
  82. "CircDown:f.circledown",
  83. "AutoIconify:f.iconify",
  84. "LowerIconify:f.newiconify",
  85. "NewIconify:f.newiconify",
  86. "Focus:f.focus",
  87. "Freeze:f.pause",
  88. "UnFreeze:f.continue",
  89. "Restart:f.restart",
  90. "}",
  91. "menu=\"Preferences\"{",
  92. "Bell Loud:!\"xset b 7&\"",
  93. "Bell Normal:!\"xset b 3&\"",
  94. "Bell Off:!\"xset b off&\"",
  95. "Click Loud:!\"xset c 8&\"",
  96. "Click Soft:!\"xset c on&\"",
  97. "Click Off:!\"xset c off&\"",
  98. "Lock On:!\"xset l on&\"",
  99. "Lock Off:!\"xset l off&\"",
  100. "Mouse Fast:!\"xset m 4 2&\"",
  101. "Mouse Normal:!\"xset m 2 5&\"",
  102. "Mouse Slow:!\"xset m 1 1&\"",
  103. "}",
  104. "f.newiconify=m:w|i:delta l",
  105. "f.raise=m:w|i:delta l",
  106. "f.lower=m:w|i:l u",
  107. "f.raise=m:w:m d",
  108. "f.resize=m:w:delta m",
  109. "f.iconify=m:i:m u",
  110. "f.raise=m:w|i:r d",
  111. "f.move=m:w|i:delta r",
  112. "f.circledown=m:r:l d",
  113. "f.circleup=m:r:r d",
  114. "f.circledown=m|s::l d",
  115. "f.menu=:r:m d:\"WindowOps\"",
  116. "f.menu=m|s::m d:\"WindowOps\"",
  117. "f.menu=m|s::m d:\"Preferences\"",
  118. "f.circleup=m|s::r d",
  119. "f.iconify=m|c:w|i:l d",
  120. "f.newiconify=m|l:w|i:l d",
  121. "f.raise=m|l:w|i:l u",
  122. "f.pushright=m|l:w|i:r d",
  123. "f.pushleft=m|c:w|i:r d",
  124. "f.pushup=m|l:w|i:m d",
  125. "f.pushdown=m|c:w|i:m d",
  126. 0    /* Must NOT be removed. */
  127. };
  128.