| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:message-id:date:from:mime-version:to:subject | |
| :references:in-reply-to:content-type:content-transfer-encoding; | |
| q=dns; s=default; b=mEI4tbt+0QUGbHGEwLVVpVpyzEFIdW9+JPxJXuSV8dG | |
| pVdbE/iv1V5ib1Cx1Jb6+0Y5PZ9n9bQMVp7sCtOui/6lXRjJVeCWEvPjIx3jGB7e | |
| AAUI5KPdEW0aKvZtCQQ4/0PjZT6kgn0NLNPUrhk8q4bRT0Et8eGUtEvtZsvFrkSo | |
| = | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:message-id:date:from:mime-version:to:subject | |
| :references:in-reply-to:content-type:content-transfer-encoding; | |
| s=default; bh=5xF/lG6w8DYBzxT8KrlyCLIJawk=; b=rkQbabT9YstV4AfTG | |
| r+DeSLBl10MTI3y8Uy+Yzp2xVKDedarE7yLYkXRRHpLcRWHiFKjd75xuH7iEOQ2X | |
| HT/XH3gnegF4+/NF5ggJrzNydHRpvm/lBw2+mUdyWdHNkBVaNlzGkivhmEGpHo2q | |
| FUuVWthgwwxduz00sTLHYr392A= | |
| 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 |
| X-Spam-SWARE-Status: | No, score=-1.4 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_PASS,TW_RX,TW_WT autolearn=no version=3.3.1 |
| Message-ID: | <51EFCFC1.1010204@cwilson.fastmail.fm> |
| Date: | Wed, 24 Jul 2013 08:59:45 -0400 |
| From: | Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm> |
| User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 |
| MIME-Version: | 1.0 |
| To: | The Cygwin Mailing List <cygwin AT cygwin DOT com> |
| Subject: | Re: Rxvt font cycling without numpad |
| References: | <CAKib_wJAqbVLpqx-OQdu=0=Gtt0A6cUzS93zjxancxu-vzLiHg AT mail DOT gmail DOT com> |
| In-Reply-To: | <CAKib_wJAqbVLpqx-OQdu=0=Gtt0A6cUzS93zjxancxu-vzLiHg@mail.gmail.com> |
On 7/23/2013 8:46 PM, Josh Litherland wrote:
> How can I cycle through my fonts in rxvt (non-X11 version) if I don't
> have a numeric keypad? The manpage mentions bigfont_key and
> smallfont_key "if enabled", but I haven't been successful getting them
> to do anything. Perhaps I need to recompile rxvt and enable that
> option?
The current rxvt is compiled with
--disable-shared \
--enable-xpm-background \
--with-xpm-includes=${B}/W11/X11 \
--with-xpm-library=${B}/W11/lib \
--x-libraries=${B}/W11/lib \
--x-includes=${B}/W11 \
--enable-utmp \
--enable-wtmp \
--enable-lastlog \
--enable-menubar \
--enable-rxvt-scroll \
--enable-next-scroll \
--enable-xterm-scroll \
--enable-frills \
--enable-linespace \
--enable-mousewheel \
--enable-keepscrolling \
--enable-old-selection \
--enable-selectionscrolling \
--enable-transparency \
--enable-256-color \
--enable-24bit \
--enable-languages \
--with-encoding=noenc
Now, bigfont_key and smallfont_key are available only #if
defined(HOTKEY_CTRL) || defined(HOTKEY_META) -- and in rxvt, not
everything is controlled via configure options. Some things you have to
manipulate by editing feature.h before compiling. This is one of those:
/*
* Choose one of these values to be the `hotkey' for changing font.
* This has been superceded and is only for you older users
*/
/* #define HOTKEY_CTRL */
/* #define HOTKEY_META */
If you uncomment one of those two defines and recompile, then you should
be able to add something to your ~/.Xdefaults like:
Rxvt*bigfont_key: Right
Rxvt*smallfont_key: Left
so that ALT-leftarrow and ALT-rightarrow do what you want. (The default,
without those .Xdefaults entries, is ALT-> and ALT-< -- but it only
works if you recompile with HOTKEY_META undefined.
If you define HOTKEY_CTRL, then all hotkeys for font changing would be
CTRL-whatever instead of ALT-whatever.
--
Chuck
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |