]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - Xdefaults.in
Xdefaults: Prepare to be terminal emulator independent.
[config/dotfiles.git] / Xdefaults.in
index ada9b1066d2579c4755d5f7d42e4abb4d710933a..b5572a89aba29ff56b02d28aa313c5232aefda18 100644 (file)
@@ -1,15 +1,43 @@
 ! Configuration file for X11 programs.
+!
+! It is designed to work with xterm (and its unicode variant).
+!
+! "Term" is an alias for all supported terminal emulators; it is automatically
+! replaced by setup.sh.
 
 
-! Use gray on black with a white cursor in XTerm.
-XTerm*foreground: darkgray
-XTerm*background: black
-XTerm*cursorColor: white
-! Use the meta-key as expected by emacs.
+! Use gray on black with a light yellow cursor in terminals.
+Term*foreground: #cccccc
+Term*background: black
+Term*cursorColor: #ffff66
+
+! Use the meta-key as expected by emacs/irssi.
 XTerm*metaSendsEscape: true
 ! Make sure XTerm allows send events. Necessary for stumpWM so Ctrl-t t can
 ! send a Ctrl-t to the application running in XTerm. Thanks to [df] in
 ! #stumpwm on Freenode (2009-05-18 22:05).
-XTerm*allowSendEvents: true
+!XTerm*allowSendEvents: true
+
+! Use 256 colors in XTerm.
+XTerm.termName: xterm-256color
+
+! Main console colors.
+Term*color0:  #000000
+Term*color1:  #ff0000
+Term*color2:  #00ff00
+Term*color3:  #ffff00
+Term*color4:  #0000ff
+Term*color5:  #ff00ff
+Term*color6:  #00ffff
+Term*color7:  #ffffff
+! Bold console colors.
+Term*color8:  #404040
+Term*color9:  #ff4040
+Term*color10: #40ff40
+Term*color11: #ffff40
+Term*color12: #4040ff
+Term*color13: #ff40ff
+Term*color14: #40ffff
+Term*color15: #cccccc
 
 ! vim: ft=xdefaults