all repos — nixfiles @ 395b587780dea4eaff4a571187daaa52729eaadc

System and user configuration, managed by nix and home-manager

xresources: update xterm settings
Alan Pearce alan@alanpearce.eu
Wed, 19 Apr 2023 15:54:42 +0200
commit

395b587780dea4eaff4a571187daaa52729eaadc

parent

05b74c90789261dad95f5fc860972d94920d4e6e

1 files changed, 14 insertions(+), 20 deletions(-)

jump to
M user/xresources/mainuser/xresources/main
@@ -19,25 +19,19 @@ st.chscale:               1.2 st.bold_font:             0
 st.mouseScrollLines:      3
 
-xterm*backarrowKeyIsErase: true
-xterm*ptyInitialErase:     true
-xterm*metaSendsEscape:     true
-xterm*altSendsEscape:      true
-xterm*eightBitInput:       false
-xterm*eightBitMeta:        false
-xterm*decTerminalId:       vt340
-xterm*numColorRegisters:   256
-xterm*termName:            xterm-256color
-xterm.utf8:                true
+XTerm.VT100.backarrowKey:  false
+! XTerm.TtyModes:            erase ^?
+XTerm.PtyInitialErase:     true
+XTerm.DecTerminalID:       vt340
+XTerm.NumColorRegisters:   256
+XTerm.TermName:            xterm-256color
+XTerm.Utf8:                false
+XTerm.EightBitInput:       true
+XTerm.EightBitMeta:        false
+XTerm.MetaSendsEscape:     false
 
-xterm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
-xterm*on3Clicks: regex ([[:alpha:]]+://)?([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+
+XTerm.CharClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48
+XTerm.On3Clicks: regex ([[:alpha:]]+://)?([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+
 
-! start with TrueType fonts disabled
-xterm*VT100.RenderFont: false
-xterm*VT100.Translations: #override \
-                 Ctrl Shift <Key>V:    insert-selection(CLIPBOARD) \n\
-                 Ctrl Shift <Key>C:    copy-selection(CLIPBOARD) \n\
-                 Alt  Shift <Key>V:    insert-selection(CLIPBOARD) \n\
-                 Alt  Shift <Key>C:    copy-selection(CLIPBOARD) \n\
-                 Shift <Btn1Up>:       exec-formatted("$BROWSER '%t'", PRIMARY)
+! start with TrueType fonts enabled
+XTerm.VT100.RenderFont: true