! UTF-8 by default
xterm*utf8: 1

! Use a nice truetype font and size by default... 
!xterm*faceName: monospace:pixelsize=14
xterm*faceName: Liberation Mono:pixelsize=12:antialias=true:autohint=true
!XTerm*font: -*-terminus-medium-*-*-*-18-*-*-*-*-*-iso10646-1
!xterm*font: -xos4-*-*-*-*-*-20-*-*-*-*-*-iso10646-1
!xterm*faceName: DejaVu Sans Mono
!xterm*faceSize: 11
!xterm*faceName: Bitstream Vera Serif Mono
!xterm*faceSize: 12

! Every shell is a login shell by default (for inclusion of all necessary environment variables)
xterm*loginshell: true

! I like a LOT of scrollback...
xterm*savelines: 10000

! double-click to select whole URLs :D
xterm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48

! DOS-box colours...
!xterm*foreground: rgb:DC/DC/DC
!xterm*background: rgb:00/00/00
xterm*background: black
xterm*foreground: lightgray
xterm*color0: rgb:00/00/00
xterm*color1: rgb:a8/00/00
xterm*color2: rgb:00/a8/00
xterm*color3: rgb:a8/54/00
xterm*color4: rgb:00/00/a8
xterm*color5: rgb:a8/00/a8
xterm*color6: rgb:00/a8/a8
xterm*color7: rgb:a8/a8/a8
xterm*color8: rgb:54/54/54
xterm*color9: rgb:fc/54/54
xterm*color10: rgb:54/fc/54
xterm*color11: rgb:fc/fc/54
xterm*color12: rgb:54/54/fc
xterm*color13: rgb:fc/54/fc
xterm*color14: rgb:54/fc/fc
xterm*color15: rgb:fc/fc/fc

! right hand side scrollbar...
xterm*rightScrollBar: true
xterm*ScrollBar: false

! stop output to terminal from jumping down to bottom of scroll again
xterm*scrollTtyOutput: false

! scroll down anytime you press a key
xterm*ScrollKey: true

! disable fullscreen toggle which can conflict with Midnight Commander feature
xterm*fullscreen: never

! To copy between xterm and other programs/documents
xterm*selectToClipboard: true

! Key bindings similar to other terminals copy/paste behavior
!Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
!Ctrl Shift <Key>V: insert-selection(CLIPBOARD)
!Alt Shift <Key>C: copy-selection(CLIPBOARD) \n\
!Alt Shift <Key>V: insert-selection(CLIPBOARD)
!Meta Shift <Key>C: copy-selection(CLIPBOARD) \n\
!Meta Shift <Key>V: insert-selection(CLIPBOARD)

xterm.vt100.translations: #override \n\
    Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
    Ctrl Shift <Key>V: insert-selection(CLIPBOARD)

!XTerm*VT100.Translations: #override \n\
!    Shift Ctrl<Key>V: insert-selection(CLIPBOARD) \n\
!    Shift Ctrl<Key>V: insert-selection(PRIMARY) \n\
!    Shift<Btn1Down>: select-start() \n\
!    Shift<Btn1Motion>: select-extend() \n\
!    Shift<Btn1Up>: select-end(CLIPBOARD)
