I'm trying to get my xterm configured the way I want it on my system (5.8 SOHO) but it's not co-operating. There are 3 persistent problems.
I like xterm to have a black background and white lettering. I added the following to my /etc/X11/app-defaults/XTerm-color file:
and the following into my .Xdefaults file:
This works fine in ratpoison, but in KDE the xterms show up black on white again. If I access KDE from ratpoison with :tmpwm and then go back to ratpoison, the xterms are black on white in ratpoison as well.
Does anyone know what file/variable KDE alters?
When I open a new xterm it doesn't execute my .bash_login file. This is not good because it has my rm='rm -i' aliases and such in it.
My backspace key is apparently the same as ^H (octal 010). stty says erase=^? but termcap has the bs flag that says, according to the manual,
bs Control-H (8 dec.) performs a backspace
So the backspace works fine on the command line in xterm but if I execute a c program that I wrote, which asks for a bunch of user text, backspaces are echoed as "^H" and only Cntl-? actually erases the previous character on the screen. The backspace works normally within the program when it is run in konsole or in runlevel 2. For the program to work properly in xterm I need to get very messy and change c_cc.[VERASE] to 010 but then it doesn't work right in other terminal emulators.
This is /etc/termcap in case it's useful.
143 # Entry for an xterm. Insert mode has been disabled.
144 vs|xterm|xterm-color|vs100|xterm terminal emulator (X Window System):\
If anyone smarter than I can shed some light on these issues I would be most grateful.