From: Eli Zaretskii Date: Sat, 19 Oct 2024 09:14:06 +0000 (+0300) Subject: New FAQ about Ctrl keys on xterm X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~342 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a61bf74225737a7c87b95d604b6e8c2ce9686296;p=emacs.git New FAQ about Ctrl keys on xterm * doc/misc/efaq.texi (Some Ctrl-modified keys do not work on xterm): New section (bug#73813). --- diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index 1fe006c1249..eb38112be1b 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi @@ -4066,6 +4066,7 @@ information is available from * Compose Character:: * Binding combinations of modifiers and function keys:: * Meta key does not work in xterm:: +* Some Ctrl-modified keys do not work on xterm:: @end menu @node Binding keys to commands @@ -4537,6 +4538,25 @@ You might have to replace @samp{Meta} with @samp{Alt}. @end itemize +@node Some Ctrl-modified keys do not work on xterm +@section Why don't some keys like @kbd{C-.} work on xterm? + +If your @code{xterm} version is 216 or newer, you should have keys like +@kbd{C-.} and @kbd{C-,} if you add the following resource specification +to your @file{~/.Xdefaults}: + +@example + XTerm.VT100.modifyOtherKeys: 1 +@end example + +@noindent +If you want to use @code{uxterm}, also add the following: + +@example + UXTerm.VT100.modifyOtherKeys: 1 +@end example + + @c ------------------------------------------------------------ @node Alternate character sets @chapter Alternate character sets