Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Print XTerm contents to file

Press Alt-P to get a text file with ANSI control characters in /tmp/xterm-screenshot.bin.XXXXXXXXXX.
  • Loading branch information...
commit 80c92286d6c637c848dbac73c531a0745e9ba8be 1 parent 8b2b9f6
@l0b0 authored
Showing with 6 additions and 0 deletions.
  1. +3 −0  .Xresources
  2. +3 −0  .bash_history
View
3  .Xresources
@@ -1,4 +1,7 @@
XTerm*metaSendsEscape: true
+XTerm*printAttributes: 2
+XTerm*printerCommand: cat - > "`mktemp --tmpdir xterm-screenshot.bin.XXXXXXXXXX`"
XTerm*reverseVideo: true
XTerm*saveLines: 32767
XTerm.VT100.geometry: 96x66
+XTerm.VT100.translations: #override Meta <KeyPress> P: print() \n
View
3  .bash_history
@@ -801,6 +801,7 @@ man xdg-desktop-menu # help
man xdotool # help
man xev # help
man xinput # help
+man xrdb # help
man xscreensaver-command # help
man xwininfo # help
man xxd # help
@@ -1370,6 +1371,8 @@ xinput --list 10
xinput --list-props 10
xkill
xmodmap -pp >~/xmodmap
+xrdb -load ~/.Xresources
+xrdb -query # list
xscreensaver-command -lock
xscreensaver-command -version
xterm -version
Please sign in to comment.
Something went wrong with that request. Please try again.