Mail Archives: cygwin/2007/09/19/10:13:55
On Wed, 19 Sep 2007, Brian Mathis wrote:
> On 9/19/07, Richard Toy <richard DOT toy AT XXXXX DOT XXX> wrote:
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks.
> > 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.
The .Xdefaults solution will affect all instances of rxvt, not just the
one spawned by chere. There is a way to distinguish those instances by
name, but then you'd still need to at least set the name, which means
passing arguments via chere. This is also a reply to Dave (the chere
maintainer) regarding why someone would want to pass arguments to rxvt.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert
--
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 -