X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <183c528b0709190630v5590ac50u2a81995ade28b263@mail.gmail.com>
Date: Wed, 19 Sep 2007 09:30:43 -0400
From: "Brian Mathis" <brian.mathis@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Passing arguments to rxvt when it is used as an argument for chere
In-Reply-To: <373c64180709190238k159cf621mb252815fbf9d19c@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <373c64180709190238k159cf621mb252815fbf9d19c@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 9/19/07, Richard Toy <richard.toy@gmail.com> wrote:
> Hi
>
> I don't tend to run an xserver so rxvt runs in native mode when
> invoked via chere.
>
> All was working ok but then an issue described here
> http://cygwin.com/ml/cygwin/2007-09/msg00359.html occurred so I needed
> some was to make the chere invoked rxvt appear with the correct font.
>
> I solved it with a bit of sed: -
>
> $ cat chere.sh
> chere -ipcf2 -t rxvt -s bash | sed 's! -e /bin! -fn \\"Lucida\
> Console-bold-12\\" -rv -ls -sb -sr -tcw -sl 3000 -e /bin!' >
> /tmp/$$.sh
> chmod 755 /tmp/$$.sh
> /tmp/$$.sh
> rm /tmp/$$.sh
>
> Regards
> Richard
>

In native mode, rxvt still uses the .Xdefaults file to read settings.
Here's what I'm using right now with it:

rxvt*foreground: gray
rxvt*background: black
rxvt*geometry: 132x50
rxvt*saveLines: 1000
rxvt*scrollBar: true
rxvt*scrollBar_right: true
rxvt*loginShell: true
rxvt*font: DejaVu Sans Mono-13

I'm sure sed is fun, but there's already a more elegant solution to
your problem.

--
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/

