! /etc/X11/app-defaults/XTerm-console !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! This resorce file will, as much as possible, configure ! xterm to look and act like a linux console: #include "XTerm-upstream" ! VT100 Fonts !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! *VT100.renderFont: false ! - Use bitmap fonts by default. User can switch to Scalable/TrueType ! fonts from the VT_FONTS ctrl/right-click menu if required. *VT100.initialFont: 3 ! - Choose which of the following gets used on start, values: 1-6, or 'd'. ! It probably makes sense to set this to the same as the default font. ! Bitmap fonts: ! note: Some folks may find these a little large, but 'hidpi' display ! users will appreciate the larger sizes, and the other sizes in the ! the terminus series don't maintain a consistent aspect ratio and ! can look a little odd when being resized. *VT100.font: -*-terminus-bold-r-normal-*-20-*-*-*-*-*-iso10646-1 *VT100.font2: -*-terminus-bold-r-normal-*-12-*-*-*-*-*-iso10646-1 *VT100.font3: -*-terminus-bold-r-normal-*-16-*-*-*-*-*-iso10646-1 *VT100.font4: -*-terminus-bold-r-normal-*-20-*-*-*-*-*-iso10646-1 *VT100.font5: -*-terminus-bold-r-normal-*-24-*-*-*-*-*-iso10646-1 *VT100.font6: -*-terminus-bold-r-normal-*-28-*-*-*-*-*-iso10646-1 *VT100.font7: -*-terminus-bold-r-normal-*-32-*-*-*-*-*-iso10646-1 ! Scalable/TrueType fonts: *VT100.faceName: monospace *VT100.faceSize: 12.6 *VT100.faceSize2: 7.5 *VT100.faceSize3: 10.0 *VT100.faceSize4: 12.6 *VT100.faceSize5: 15.0 *VT100.faceSize6: 17.6 *VT100.faceSize7: 20.0 ! VT100 colours and appearance !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! *VT100.Background: rgb:00/00/00 *VT100.Foreground: rgb:aa/aa/aa *VT100.cursorUnderLine: true *VT100.cursorBlink: true ! Simulate underline using colour, just like the console does: *VT100.colorULMode: true *VT100.colorUL: rgb:00/aa/aa ! Simulate bold using colour, just like the console does: *VT100.boldMode: false *VT100.colorBDMode: true *VT100.colorBD: rgb:ff/ff/ff ! CGA 16-colour palette: *VT100.color0: rgb:00/00/00 *VT100.color1: rgb:aa/00/00 *VT100.color2: rgb:00/aa/00 *VT100.color3: rgb:aa/55/00 *VT100.color4: rgb:00/00/aa *VT100.color5: rgb:aa/00/aa *VT100.color6: rgb:00/aa/aa *VT100.color7: rgb:aa/aa/aa *VT100.color8: rgb:55/55/55 *VT100.color9: rgb:ff/55/55 *VT100.color10: rgb:55/ff/55 *VT100.color11: rgb:ff/ff/55 *VT100.color12: rgb:55/55/ff *VT100.color13: rgb:ff/55/ff *VT100.color14: rgb:55/ff/ff *VT100.color15: rgb:ff/ff/ff *termName: xterm-16color ! - 16 colours only, just like the console. ! Some behavioural stuff to make it work nice !!!!!!!!!!!!!!!!!!!!!!!!!! *VT100.metaSendsEscape: true ! - Send meta-characters as a two-byte sequence prefixed with ESCAPE. ! "XTerm.vt100.eightBitInput: false" is an alternative approach ! but metaSendsEscape has a menu option in the ctrl-button1 ! popup menu, allowing the user to turn it off if need be. The ! Linux console and most other terminal emulators do this by default. *VT100.bellIsUrgent: true ! - Enable urgency hit for Window managers. *VT100.charClass: 45-47:48,58:48,64:48 ! - Set which characters are selected by double click. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! End. !