From 30c1e40a01aac64064ae4a2706863c2d45920e35 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 8 Nov 2018 07:57:52 +0000 Subject: Add xterm support --- X/.Xresources | 23 ++++++++++++++++++++--- emacs/loader.org | 6 +++--- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/X/.Xresources b/X/.Xresources index 8ec1ad1..f1ce936 100644 --- a/X/.Xresources +++ b/X/.Xresources @@ -154,7 +154,7 @@ URxvt*underlineColor: yellow ! characters. If unset, use reverse video URxvt*highlightColor: #373b41 -! If set and highlightColor is set, use the specified colour as the +! If set and highlightColor is set, use the specified colppour as the ! foreground for highlighted characters URxvt*highlightTextColor: White @@ -165,7 +165,8 @@ URxvt*cursorColor: #cc99cc ! Select the fonts to be used. This is a comma separated list of font ! names that are checked in order when trying to find glyphs for ! characters -URxvt*font: xft:Hack:style=Regular:pixelsize=16, \ + +URxvt*font: xft:Misc Tamsyn:style=Regular:pixelsize=16, \ xft:Unifont:size=8:anialias=false, \ xft:Wuncon Siji:style=Regular:pixelsize=10, \ xft:Font Awesome 5 Free:style=Regular:pixelsize=14, \ @@ -196,7 +197,7 @@ URxvt*depth: 32 URxvt*hold: false ! Specify a command pipe for vt100 printer [default lpr(1)]. Use -! Print to initiate a screen dump to the printer and Ctrl-Print or +! Print to initiate a sc xft:Font Awesome 5 Brands:style=Regular:pixelsize=14reen dump to the printer and Ctrl-Print or ! Shift-Print to include the scrollback URxvt*print-pipe: cat > $HOME/$(echo urxvt.dump.$(date +'%Y%M%d%H%m%S')) @@ -208,3 +209,19 @@ URxvt*modifier: alt ! "default") to use in this terminal instance, blank disables URxvt*perl-ext-common: fullscreen URxvt*perl-ext: + +XTerm.termName: xterm-256color +XTerm.vt100.locale: true +XTerm.vt100.metaSendsEscape: true +XTerm.vt100.backarrowKey: false +XTerm.ttyModes: erase ^? +XTerm.vt100.saveLines: 65536 +XTerm.vt100.scrollBar: false +XTerm.vt100.geometry: 80x32 +XTerm.vt100.font: -*-tamsyn-medium-*-*-*-15-*-*-*-*-*-*-* +XTerm.vt100.translations: #override \n\ + Ctrl M: maximize() \n\ + Ctrl R: restore() \n\ + : select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0) \n\ + Ctrl Shift C: copy-selection(CLIPBOARD) \n\ + Ctrl Shift V: insert-selection(CLIPBOARD) diff --git a/emacs/loader.org b/emacs/loader.org index dc51ceb..85bbfb1 100644 --- a/emacs/loader.org +++ b/emacs/loader.org @@ -307,12 +307,12 @@ Set the font to Hack, which is an opensource monospace font designed for programming and looking at source code. #+BEGIN_SRC emacs-lisp - (set-default-font "Hack-11") - (setq default-frame-alist '((font . "Hack-11"))) + (set-default-font "Misc Tamsyn-13") + (setq default-frame-alist '((font . "Misc Tamsyn-13"))) #+END_SRC #+RESULTS: -: ((font . Hack-11)) +: ((font . Misc Tamsyn-13)) #+BEGIN_SRC emacs-lisp (use-package eshell -- cgit