Permalink
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...
1 parent 8b2b9f6 commit 80c92286d6c637c848dbac73c531a0745e9ba8be @l0b0 committed Aug 21, 2012
Showing with 6 additions and 0 deletions.
  1. +3 −0 .Xresources
  2. +3 −0 .bash_history
View
@@ -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
@@ -801,6 +801,7 @@ man xdg-desktop-menu # help
man xdg-desktop-menu # help
man xdotool # help
man xev # help
+man xinput # help
man xrdb # help
man xscreensaver-command # help
man xwininfo # help
@@ -1370,6 +1371,8 @@ xinput --list 10
xinput --list
xinput --list 10
xinput --list-props 10
+xkill
+xmodmap -pp >~/xmodmap
xrdb -load ~/.Xresources
xrdb -query # list
xscreensaver-command -lock

0 comments on commit 80c9228

Please sign in to comment.