While trying to unbind C-/ in cwm, it took me a while to realize
that you can't do "unbind-key C-/", as the key "/" is not defined
in /usr/X11R6/include/X11/keysymdef.h.

Instead you must do "unbind-key C-slash", as "slash" is defined
there.

Considering this, I think that the cwm man page is misleading,
as it does not use key names from keysymdef.h.  The following
patch fixes that.



diff --git a/app/cwm/cwm.1 b/app/cwm/cwm.1
index 2fc12e4f..ba21776e 100644
--- a/app/cwm/cwm.1
+++ b/app/cwm/cwm.1
@@ -83,9 +83,9 @@ Hide current window.
 Lower current window.
 .It Ic M-Up
 Raise current window.
-.It Ic M-/
+.It Ic M-slash
 Search for windows.
-.It Ic C-/
+.It Ic C-slash
 Search for applications.
 .It Ic CM-n
 Label current window.
@@ -113,9 +113,9 @@ Toggle stickiness of current window.
 Toggle full-screen mode of current window.
 .It Ic CM-m
 Toggle maximization of current window.
-.It Ic CM-=
+.It Ic CM-equal
 Toggle vertical maximization of current window.
-.It Ic CMS-=
+.It Ic CMS-equal
 Toggle horizontal maximization of current window.
 .It Ic M-[hjkl]
 Move window by a small amount.
@@ -127,11 +127,11 @@ Resize window by a small amount.
 .It Ic CMS-[hjkl]
 Resize window by a large amount; see
 .Xr cwmrc 5 .
-.It Ic M-?
+.It Ic M-question
 Spawn
 .Dq exec program
 dialog.
-.It Ic M-.
+.It Ic M-period
 Spawn
 .Dq ssh to
 dialog.

Reply via email to