TLS591 - Improved X resources for dbXtra This TLS has a few suggested modifications to the X resources that will enable dbXtra to work better in the SCO OpenServer Development System. These could be added to the system-wide app-defaults file for dbXtra (/usr/lib/X11/app-defaults/dbXtra), or can be placed in an individual's environment (e.g., $HOME/.Xdefaults- These work around the following problems: 1) background colours are wrong for source window and line numbers 2) proportional font used in source window 3) dbXtra main window too big 4) program I/O window too small 5) program I/O window uses proportional font 6) program I/O window loses first character of output. In order to use these defaults, odtterm must be in your $PATH. OpenServer 5.0 removed odtterm, there is only scoterm. One solution is to make a symbolic link from somewhere in your $PATH to /usr/bin/X11/scoterm. ! Corrections to dbXtra default resources ! ! Set the source window and the command window to fixed-width ! fonts (makes it easier to cut and paste and to see code lineup) ! dbXtra.control.font: 10x20 dbXtra*source*text.fontList: 10x20 ! ! Set the source window geometry to something sensible. Although ! it says 62, this is in fact about 80 columns wide. This will ! be fixed someday. dbXtra.main.geometry: 62x36+73+44 ! ! Set the colours of the text windows appropriately ! dbXtra.pane.textSW.text.background: scoBackground dbXtra*source*text.background: scoBackground ! ! Make the program I/O window useful. Standard size, and a ! fixed width font. Uncomment the other font lines if you have ! good vision. :-) dbXtra.output.geometry: 80x25 dbXtra.output.font: 9x15 dbXtra.output.boldFont: 9x15B !dbXtra.output.font: 6x12 !dbXtra.output.boldFont: 6x12B ! ! The xterm emulation eats the first character of the output. ! We can get around this by using scoterm. Unfortunately, ! dbXtra thinks that it is called odtterm. To use the ! following setting, you MUST have odtterm in your $PATH. ! The easiest way is to symlink scoterm to somewhere in your PATH. dbXtra.output.term: ansi