On Mon, Oct 13, 2008 at 02:09:29PM -0700, Jeremy Chadwick wrote: > On Mon, Oct 13, 2008 at 09:42:04PM +0200, [EMAIL PROTECTED] wrote: > > After some trial and error, I put > > > > XTerm*color7: #bebebe > > > > in my .Xdefaults. Now the yellow sysinstall font is much more legible > > inside an xterm. This works for both xterm and rxvt. The rxvt man page > > proved very useful. > > > > Now I have solved my problem but other users may experience the same > > problem. Is it possible to modify sysinstall so that it uses a darker > > background gray when run inside xterm? > > I'm not sure this is desirable or recommendable. There are some > terminal emulation programs -- specifically, PuTTY -- which emulate > TERM=xterm. The RGB colours in PuTTY look just fine: quite legible.
more/less (putty's wrapping behavior differs)
> The key problem here is this: there are no more darker grey backgrounds
> available with the limited colour set available. You get one grey bg --
> sequence \e[47m; -- and that's it. If you want other colours, you have
> to have a 256-colour xterm compiled, which supports an extended palette,
> and there's no way to detect if someone has such a capable terminal
> (basing it on $TERM is not correct).
actually, basing it on $TERM is the way most people would do it,
e.g.,
xterm-256color|xterm with 256 colors,
am, bce, ccc, km, mc5i, mir, msgr, npc, xenl,
colors#256, cols#80, it#8, lines#24,
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
...
initc=\E]4;%p1%d;rgb:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
...
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
pgpRZ8Ss8K1RJ.pgp
Description: PGP signature
