Search


About StarNet

StarNet Communications has been a leading developer of X Windows solutions since 1989. After establishing X-Win32 as the de facto standard in the higher education market during the early to mid-1990s -- 150 unlimited Campus Site Licenses worldwide -- X-Win32 has become of one the top three PC X servers in the government and commercial sectors as well.

Unlike its major rivals, Exceed (Hummingbird) and Reflection-X (WRQ/Attachmate), X-Win32 offers a highly focused PC X server that offers superior performance and productivity features, stability, ease of use and low cost (40% or better in most cases).

StarNet also delivers unequaled customer support. Our state-of-the-art engineering infrastructure allows us to fix problems and make a new release available quickly (overnight in many cases). As our testimonials page shows, StarNet customers consistently rate their X-Win32 experience as the best in the industry.




Color and font options for xterm and dtterm

Color options for xterm

There are several command-line parameters for colors that can be passed to xterm, including the following:

  • -bd color
  • -bg color
    • Specifies the color to use for the background of the window.
    • -cr color
    • Specifies the color to use for the text cursor
    • -fg color
    • Specifies the color to use for the foreground (text).
    • -hc color
    • Specifies the color to use for the background of selected or otherwise highlighted text. If not specified, reverse video is used.
    • -ms color
  • Specifies the color to use for the mouse cursor. If not specified, the foreground color is used.

    Example color option command line


    xterm -ls -sb -bg black -fg yellow

    Changing the font used by xterm

    To specify a different font, use the following option for xterm:

    • -fn fontname
  • Specifies the font to use for terminal text.

    Example font option command line


    xterm -ls -sb -fn ”-*-courier-medium-*”

    Changing the font size in a running xterm

    To change the font size in a running xterm, just press and hold the Ctrl key then click the right mouse button to open a font size menu. When the menu is displayed, select the new font size, release the mouse button and the Ctrl key, and the font size should change immediately. This menu is shown in a screenshot below.

    xterm’s Ctrl + Right-Click menu for changing the font size

    xterm-ctrl-right-click-menu.png

    See Also

    How to give each xterm a unique title or color

    Category:FAQ
    Category:Applications -> xterm




How Can We Improve This KB Article?

Please rate the quality of this article: Excellent Good Fair Poor

Did this article answer your question? If not, we'd like to hear more about it:

Do you need additional assistance? If so, enter your email address:

Articles are periodically updated based on your feedback. If you enter an email address, then you will be given the opportunity to open a case, for which you will receive a response within 2 business days.