On 18, Jul, 2001 at 11:03:01AM +0200, Andre Wyrwa wrote:
 
> How can I tell xterm to use xterm-color instead of xterm terminfo
> without having to set $TERM manually?

In your ~/.Xdefaults put this (from my own ~/.Xdefaults, tweaking might
be needed:

! $HOME/.Xdefaults
!
! To reload it:
!
!       xrdb -load ~/.Xdefaults

! mangling xterm
XTerm*termName: xterm-color        <<< this is where you set $TERM !!
XTerm.VT100*color0: black
XTerm.VT100*color1: red
XTerm.VT100*color2: green
XTerm.VT100*color3: yellow
XTerm.VT100*color4: blue
XTerm.VT100*color5: magenta
XTerm.VT100*color6: cyan
XTerm.VT100*color7: white
XTerm.VT100*color8: black
XTerm.VT100*color9: red
XTerm.VT100*color10: green
XTerm.VT100*color11: yellow
XTerm.VT100*color12: blue
XTerm.VT100*color13: magenta
XTerm.VT100*color14: cyan
XTerm.VT100*color15: white
XTerm.VT100*colorAttrMode: true
XTerm.VT100*colorMode: on
XTerm.VT100*colorBDMode: on
XTerm.VT100*colorBD: white
XTerm.VT100*colorBLMode: on
XTerm.VT100*colorBL: yellow
XTerm.VT100*colorRVMode: on
XTerm.VT100*colorRV: cyan
XTerm.VT100*colorULMode: on
XTerm.VT100*colorUL: cyan
XTerm.VT100*boldFont:  -jmk-neep-bold-r-normal-*-*-100-100-100-*-*-iso8859-1
XTerm.VT100*highlightColor: blue4
XTerm.VT100*geometry: 80x25
XTerm.VT100*pointerColor: white
XTerm.VT100*pointerColorBackground: black
XTerm.VT100*pointerShape: xterm
XTerm.VT100*curses: true
XTerm.VT100*saveLines: 1500
XTerm.VT100*underLine: off
XTerm.VT100*cursorColor: magenta
XTerm.VT100*cursorBlink: on
XTerm.VT100*cursorOffTime: 500
XTerm.VT100*cursorOnTime: 500
XTerm.VT100*font: -jmk-neep-bold-r-normal-*-*-100-100-100-*-*-iso8859-1
XTerm.VT100*font1: -jmk-neep-bold-r-normal-*-*-70-100-100-*-*-iso8859-1
XTerm.VT100*font2: -jmk-neep-bold-r-normal-*-*-80-100-100-*-*-iso8859-1
XTerm.VT100*font3: -jmk-neep-bold-r-normal-*-*-90-100-100-*-*-iso8859-1
XTerm.VT100*font4: -jmk-neep-bold-r-normal-*-*-100-100-100-*-*-iso8859-1
XTerm.VT100*font5: -jmk-neep-bold-r-normal-*-*-120-100-100-*-*-iso8859-1
XTerm.VT100*font6: -jmk-neep-bold-r-normal-*-*-160-100-100-*-*-iso8859-1
XTerm.VT100*foreground: lightgrey
XTerm.VT100*background: black
XTerm.VT100*backarrowKeyIsErase: true
XTerm.VT100*scrollBar: off


The explicit color declarations probably isn't needed, and the font
isn't a standard X font, so beware.

My machine runs OpenBSD current, but I can see no good reason that it
shouldn't work everywhere else.

HTH
        M

-- 
×·.¸¸.·´¨)    ¸. ·´ ¸.·´¨)     O    Morten Liebach <[EMAIL PROTECTED]>
        (_¸.·´ (¸.·´  ¸.·×     0    http://home1.stofanet.dk/liebach/
                     (_¸.·´    o    http://pc89225.stofanet.dk/
                               .

Reply via email to