Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Victor Engmark authored
3  .Xresources
... ...
@@ -1,4 +1,7 @@
1 1
 XTerm*metaSendsEscape: true
  2
+XTerm*printAttributes: 2
  3
+XTerm*printerCommand: cat - > "`mktemp --tmpdir xterm-screenshot.bin.XXXXXXXXXX`"
2 4
 XTerm*reverseVideo: true
3 5
 XTerm*saveLines: 32767
4 6
 XTerm.VT100.geometry: 96x66
  7
+XTerm.VT100.translations: #override Meta <KeyPress> P: print() \n
3  .bash_history
@@ -801,6 +801,7 @@ man xdg-desktop-menu # help
801 801
 man xdotool # help 
802 802
 man xev # help 
803 803
 man xinput # help 
  804
+man xrdb # help 
804 805
 man xscreensaver-command # help 
805 806
 man xwininfo # help 
806 807
 man xxd # help 
@@ -1370,6 +1371,8 @@ xinput --list 10
1370 1371
 xinput --list-props 10 
1371 1372
 xkill 
1372 1373
 xmodmap -pp >~/xmodmap 
  1374
+xrdb -load ~/.Xresources 
  1375
+xrdb -query # list 
1373 1376
 xscreensaver-command -lock 
1374 1377
 xscreensaver-command -version 
1375 1378
 xterm -version 

0 notes on commit 80c9228

Please sign in to comment.
Something went wrong with that request. Please try again.