Re: xterm and colors

Re: xterm and colors

am 06.08.2003 22:19:24 von cummings

Keith Morse wrote:
> I'd like to use the standard xterm and not the
> 'terminal' program. However, I'd like to have
> white-on-black instead of black-on-white. Is there a
> program that can be used to configure the xterm
> properties, or do I have to use an Xdefaults file? If
> so, does someone know what the parameters are for
> configuring font colors, sizes, and background? The os
> install is RedHat 9.

xterm's are pretty generic X11 programs. They support command line
arguments for most of what you want. They also fill in with defaults
from the .Xdefaults file(s) and your current Xresources for what you
*don't* specify on the command line. You can also specify a "name" for
your xterms which can cause a *different* set of deafults to be used.
I did this to give various windows different background colors and
different window sizes depending on the remote connections of each window.

Try reading the man page on xterm first. It is quite in depth as to the
options it describes. Figuring out how to convert them to resources is
a little harder, and usually left as an exercise to the user.

--
Kevin J. Cummings
kjchome@rcn.com
cummings@kjchome.homeip.net
cummings@kjc386.framingham.ma.us

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

xterm and colors

am 06.08.2003 22:29:24 von Keith Morse

I'd like to use the standard xterm and not the
'terminal' program. However, I'd like to have
white-on-black instead of black-on-white. Is there a
program that can be used to configure the xterm
properties, or do I have to use an Xdefaults file? If
so, does someone know what the parameters are for
configuring font colors, sizes, and background? The os
install is RedHat 9.



-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: xterm and colors

am 06.08.2003 22:30:36 von Scott Taylor

At 13:29 08/06/03, you wrote:

>I'd like to use the standard xterm and not the
>'terminal' program. However, I'd like to have
>white-on-black instead of black-on-white. Is there a
>program that can be used to configure the xterm
>properties, or do I have to use an Xdefaults file? If
>so, does someone know what the parameters are for
>configuring font colors, sizes, and background? The os
>install is RedHat 9.

xterm -bg black -fg white

use that line in a new panel launcher or add a link to a menu

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: xterm and colors

am 06.08.2003 22:54:41 von urgrue

I just edit .Xdefaults. For example add this in there:
xterm*background: Black
xterm*foreground: LightYellow2

as for changing the font etc, i never had the need for that but look at
xterm's man page, all the options are in there.



At 13:29 6.8.2003 -0700, Keith Morse wrote:

>I'd like to use the standard xterm and not the
>'terminal' program. However, I'd like to have
>white-on-black instead of black-on-white. Is there a
>program that can be used to configure the xterm
>properties, or do I have to use an Xdefaults file? If
>so, does someone know what the parameters are for
>configuring font colors, sizes, and background? The os
>install is RedHat 9.
>
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: xterm and colors

am 07.08.2003 18:46:18 von Keith Morse

Thanks to all who replied. The following is what I
choose to use. Now that I have an idea I should be able to set the
particular font I want also.


============================================================ ==========


I just edit .Xdefaults. For example add this in there:
xterm*background: Black
xterm*foreground: LightYellow2

as for changing the font etc, i never had the need for that but look at
xterm's man page, all the options are in there.


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html