delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/19/05:38:39

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <373c64180709190238k159cf621mb252815fbf9d19c@mail.gmail.com>
Date: Wed, 19 Sep 2007 11:38:12 +0200
From: "Richard Toy" <richard DOT toy AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Passing arguments to rxvt when it is used as an argument for chere
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

>Yep those are the two ways to do it. There's no way to specify extra
arguments >on the chere command line that will be appended to the
invocation command.

>May I ask what command line options you're thinking of adding? Could
they go >into .Xdefaults instead? Most rxvt and xterm options can.

>Dave.
>chere maintainer.

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

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