From: Charles Wilson <cygwin@cwilson.fastmail.fm>
To: The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: Rxvt font cycling without numpad
Date: Wed, 24 Jul 2013 13:04:00 -0000 [thread overview]
Message-ID: <51EFCFC1.1010204@cwilson.fastmail.fm> (raw)
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
prev parent reply other threads:[~2013-07-24 12:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-24 5:05 Josh Litherland
2013-07-24 5:14 ` Andrey Repin
2013-07-24 13:04 ` Charles Wilson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51EFCFC1.1010204@cwilson.fastmail.fm \
--to=cygwin@cwilson.fastmail.fm \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).