On Fri, 2023-10-13 at 12:38 -0700, Van Snyder wrote: > I have set up Alt-Shift-P as a macro in my editor (nedit) to run > pdflatex. > If I accidentally do it when XTerm has keyboard focus, it locks up > and the only thing I can do is kill it and restart. > How can I unlock XTerm after doing this? > There are no Alt-Shift sequences listed at > https://www.xfree86.org/current/ctlseqs.html (maybe it's only about > output sent to XTerm). > Is there a list of Alt-Shift (and Alt-Ctrl and Shift-Ctrl) sequences > for XTerm? > Van Snyder
I haven't figured out how to unlock the XTerm after accidentally giving it Alt-Shift-P. But I did work out how to prevent it. Put xterm*altIsNotMeta: truexterm*altSendsEscape: true in your .Xdefaults (or .Xresources, or link those files together), then xrdb -merge ~/.Xdefaults