/* If you mess up this file, you can find a fresh copy of it in * /usr/local/libdata/addskel . */ /* This is your .Xresources file, it contains your X server "resources". These * are used to help customize X applications to your preferences. This file is * read in automatically by the line 'xrdb -merge $HOME/.Xresources' in your * .xinitrc . You can change your resources while running X by typing them * directly to xrdb (see the man page for details), or by editing this file * and then choosing the 'reread resources' option from the 'functions' * menu. * * The default resources for various applications can be found in * /usr/imports/lib/X11/app-defaults . Along with the man page, looking * through these is a good way to find out what resources can be set for a * given application. */ /* Let's bind a few function keys to something useful: * * Bind the F1 key to the 'secure keyboard' option. You should secure your * keyboard whenever typing in sensitive information, like passwords. This * prevents malicious hackers from monitoring your key strokes. * * We also bind F2 to toggle the scroll bar on an xterm. * * We also, for demonstrative purposes, show how to bind F3 to a * string, in this case the 'hotline' command. * */ XTerm.VT100.Translations: #override \n\ NoneF1: secure() \n\ NoneF2: set-scrollbar(toggle) \n\ NoneF3: string("hotline \n") XTerm.VT100*colorMode: off XTerm.VT100*dynamicColors: on /* Number of lines of text to save for xterm scroll bar. */ XTerm.VT100.saveLines: 500 /* xterm font. How big? */ /* Twm tells us how wide our screen is through the WIDTH variable, so lets * choose our font automatically based on that. */ #if WIDTH > 1100 XTerm.VT100.Font: 7x14 Emacs.Font: 7x14 #else XTerm.VT100.Font: 6x13 Emacs.Font: 6x13 #endif /* Have xterm start up a "login" shell, so that the .login file is sourced.*/ XTerm.VT100.loginShell: true /* If these fonts are too small to read, try doing: * xlsfonts | grep '[0-9]x[0-9]' * for a list of names of reasonable fonts of varying sizes. * An easy way to see what a font looks like is to do (for example) * xterm -fn 7x14 */ *Font: 7x14 ! ! xclock ! xclock.Geometry: 183x26-57+0 xclock.Geometry: 80x80-162+0 xclock*Foreground: Aquamarine xclock*Background: Black ! ! xload ! xload*Geometry: 106x80-244+0 xload*Font: 7x14 xload*Foreground: Aquamarine xload*Background: Black ! ! xterm ! *Menu*MenuBorder: 1 *VT100*Curses: on *VT100*JumpScroll: on *VT100*LoginShell: on *VT100*MultiScroll: on *VT100*ReverseWrap: on *VT100*SaveLines: 200 *VT100*ScrollBar: on *VT100*ScrollCond: on *VT100*cursorColor: LightGray *VT100*pointerColor: LightGray *VT100*Foreground: White *VT100*Background: Black *VT100*BorderColor: White ! ! topCode xterm ! topCode*IconName: TopCode topCode*Geometry: 80x38+0+0 topCode*IconGeometry: +0+40 topCode*Font: 6x13 topCode*IconPixmap: /home/leana/lib/X11/xbm/xterm.xbm ! ! bottomCode xterm ! bottomCode*IconName: BottomCode !bottomCode*Geometry: 80x20+0+665 bottomCode*Geometry: 80x18+0+518 bottomCode*IconGeometry: +0-64 bottomCode*IconPixmap: /home/leana/lib/X11/xbm/xterm.xbm bottomCode*Font: 6x13 ! ! rightTopCode xterm ! rightTopCode*IconName: RightTopCode rightTopCode*Geometry: 80x31-0+91 rightTopCode*IconGeometry: -64+94 rightTopCode*Font: 6x13 rightTopCode*IconPixmap: /home/leana/lib/X11/xbm/xterm.xbm ! ! rightBottomCode xterm ! rightBottomCode*IconName: RightBottomCode rightBottomCode*Geometry: 80x18-0+518 rightBottomCode*IconGeometry: -64-64 rightBottomCode*IconPixmap: /home/leana/lib/X11/xbm/xterm.xbm rightBottomCode*Font: 6x13 ! ! eof !