Subject: no capital letter commands?

From: Ryan Barrett <[email-masked]>
Date: Tue, 27 Jan 2004 18:23:58 -0800 (PST)

hi pine gurus! i have a quick development question: i'm writing a patch
for pine 4.58 that (optionally) adds a command to a few screens. i've got
it all working except for the keypress. i'd like it to be *capital* A, but
i haven't been able to get this to work. i've defined the command in
pine.h as:

#define	REPLY_ALL_MENU	{"A", "Reply All", \
			 {MC_REPLY_ALL,1,{'A'}}, \
			 KS_REPLYALL}

if i replace the {'A'} with anything (reasonable) other than a capital
letter, even something like {'^'}, it works fine. does pine just not
support capital letters for commands?

thanks in advance...

-Ryan

--
"Woooo!"  -Twinsen
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Kenneth Crudup <[email-masked]>
Date: Tue, 27 Jan 2004 18:43:02 -0800 (PST)

On Tue, 27 Jan 2004, Ryan Barrett wrote:

> does pine just not support capital letters for commands?

Since I can invoke Pine commands with either a lower-, or the equivalent
upper-case letter, they're obviously doing case-folding. So, an "A" and
an "a" are the same to the keypress parser, too.

	-Kenny

-- 
Kenneth R. Crudup  Sr. SW Engineer, Scott County Consulting, Los Angeles
H: 3630 S. Sepulveda Blvd. #138, L.A., CA 90034-6809      (888) 454-8181
W: 26601 Agoura Road, Calabasas, CA 91302-1959            (818) 444-3685