Re: [hackers] [PATCH] Whitelist key event modifiers for shortcuts

2017-04-10 Thread Roberto E . Vargas Caballero
> I'm seeing a weird issue with my xserver where all key press events will
> be set with (state & Button1Mask), which ends up breaking all st
> keyboard shortcuts. xterm works correctly because it whitelists
> modifiers relevant to key press events. Do the same in st.


Uhmmm, it seems a bit strange.  Why does your xserver do that?.  I
think your patch isn't wrong, but I think what you describe shouldn't
happen, and I would like to know a bit about it before applyin the
patch.

Regards,




[hackers] [st] st.1: modify man page to accurately reflect default keybindings || greg.rea...@umbc.edu

2017-04-10 Thread git
commit 5a10aca702bf7bc9094cb4abaea6c59558740d29
Author: greg.rea...@umbc.edu 
AuthorDate: Mon Apr 10 18:24:03 2017 +0200
Commit: Roberto E. Vargas Caballero 
CommitDate: Mon Apr 10 18:32:10 2017 +0200

st.1: modify man page to accurately reflect default keybindings

Attached.

===> 2/ (text/x-patch) [file]
cp /mail/fs/mbox/298/2/body 
/usr/k0ga/0001-st.1-modify-man-page-to-accurately-reflect-default-k.patch

From 265db94b1eca5850d484f86b7db4af8e57822cfe Mon Sep 17 00:00:00 2001
From: Greg Reagle 
Date: Sun, 9 Apr 2017 23:05:47 -0400
Subject: [PATCH] st.1: modify man page to accurately reflect default
 keybindings

diff --git a/st.1 b/st.1
index c429dcf..bbca7e5 100644
--- a/st.1
+++ b/st.1
@@ -142,28 +142,25 @@ Print the full screen to the
 Print the selection to the
 .I iofile.
 .TP
-.B Alt-Shift-Page Up
+.B Ctrl-Shift-Page Up
 Increase font size.
 .TP
-.B Alt-Shift-Page Down
+.B Ctrl-Shift-Page Down
 Decrease font size.
 .TP
-.B Alt-Shift-Home
+.B Ctrl-Shift-Home
 Reset to default font size.
 .TP
-.B Shift-Insert
+.B Ctrl-Shift-y
 Paste from primary selection (middle mouse button).
 .TP
-.B Alt-Shift-Insert
-Paste from clipboard selection.
-.TP
-.B Alt-Shift-c
+.B Ctrl-Shift-c
 Copy the selected text to the clipboard selection.
 .TP
-.B Alt-Shift-v
+.B Ctrl-Shift-v
 Paste from the clipboard selection.
 .TP
-.B Alt-Ctrl
+.B Ctrl-Shift-i
 Launch dmenu to enter a unicode codepoint and send the corresponding glyph
 to st.
 .SH CUSTOMIZATION