delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/22/22:50:51

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: How to run rxvt
Date: Fri, 22 Sep 2006 21:50:10 -0500
Lines: 85
Message-ID: <ef27d3$vcn$1@sea.gmane.org>
References: <45112E99 DOT 2000205 AT rhul DOT ac DOT uk> <4C89134832705D4D85A6CD2EBF38AE0F7B0F06 AT PAUMAILU03 DOT ags DOT agere DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
In-Reply-To: <4C89134832705D4D85A6CD2EBF38AE0F7B0F06@PAUMAILU03.ags.agere.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Williams, Gerald S (Jerry) wrote:
> Fabrizio Salvatore wrote:
>> C:\cygwin\bin\rxvt.exe -fn 7x14 -g 120x24 -si -sk -sb -sl 1000 -fg 
>> black -bg white -T "cygwin terminal Window" -e /usr/bin/tcsh -l
> In case you didn't know, if you some settings most of the time, you 
> can specify them in ~/.Xdefaults (even if you're not running X). For 
> example, "-sl 1000" becomes "Rxvt.saveLines: 1000".
Indeed! It never ceases to amaze me how people construct elaborate 
command lines with all of these settings when they can much more easily, 
and in a much more organized fashion, compose .Xdefaults utilizing 
"classes" and passing them in as -name parameters. For example, I have 
the following ~/.Xdefaults file:

    ! Rxvt defaults

    ! Global
    *font:                          "Lucida Console-*-16"
    *font1:                         "Lucida Console-*-18"
    *font2:                         "Lucida Console-*-20"
    *font3:
    *font4:
    *saveLines:                     500
    *termName:                      cygwin
    *scrollBar_right:               True
    *geometry:                      80x24
    *loginShell:                    True

    ! Default
    Rxvt.background:                SteelBlue
    Rxvt.foreground:                White
    Rxvt.colorBD:                   Blue
    Rxvt.colorUL:                   Red
    Rxvt.cursorColor:               Yellow

    ! New server
    Jupiter.background:             MidNightBlue
    Jupiter.foreground:             White
    Jupiter.colorBD:                Yellow
    Jupiter.colorUL:                Green
    Jupiter.cursorColor:            Yellow

    ! Danni's desktop
    Starbase.background:            MediumVioletRed
    Starbase.foreground:            White
    Starbase.colorBD:               Yellow
    Starbase.colorUL:               Red
    Starbase.cursorColor:           Yellow

    ! Hewlett Packard
    Tiburon.background:             Black
    Tiburon.foreground:             Magenta
    Tiburon.colorBD:                Yellow
    Tiburon.colorUL:                Red
    Tiburon.cursorColor:            Yellow

    Pacifica.background:            ForestGreen
    Pacifica.foreground:            White
    Pacifica.colorBD:               Yellow
    Pacifica.colorUL:               Red
    Pacifica.cursorColor:           Yellow

    plebld01.background:            Black
    plebld01.foreground:            Yellow
    plebld01.colorBD:               Yellow
    plebld01.colorUL:               Red
    plebld01.cursorColor:           Yellow

    ccase-sj1-4.background:         Black
    ccase-sj1-4.foreground:         Green
    ccase-sj1-4.colorBD:            Green
    ccase-sj1-4.colorUL:            Red
    ccase-sj1-4.cursorColor:        Yellow

    Homer.background:               Black
    Homer.foreground:               Green
    Homer.colorBD:                  Yellow
    Homer.colorUL:                  Red
    Homer.cursorColor:              Yellow

Then I can do rxvt -name Homer and get Homer's settings....

-- 

Andrew DeFaria <http://defaria.com>
BUFFERS=20 FILES=15 2nd down, 4th quarter, 5 yards to go!


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019