Christopher’s posterous

Mostly programming things 
Filed under

linux

 

XTerm Colors

I usually like to use xterm (fast, always available, etc.) but one
issue that's pretty persistent is that the colors, with blue in
particular, are too dark. When I google on this, I'm able to find
instructions on how to change *what* color is being used but not how
to modify what that color is. As an example of what's easy to find:

 
XTerm*Background: green 

This will do as expected and set the background of the XTerm to green,
but it won't help you at all to define what shade that green is. The
setting that I really want is this:
 
XTerm*color4: blue 

Any of the 8 colors (color0 through color7) can be changed like this,
but usually the offender is the above. I think the following looks
pretty good:
 
XTerm*color4: CornflowerBlue 

Here's a great listing of the available colors:
http://mkaz.com/ref/xterm_colors.html

Filed under  //   code   linux   tips   xterm  

Comments [0]

dd usage

This makes sense now that I think of it, but I had to look around for this:
 

 
# image a floppy 
dd if=/dev/fd0 of=floppy.img 
 
# write the image 
dd of=/dev/fd0 if=floppy.img 

Filed under  //   linux  

Comments [0]