Re: Key is not bound. Press '?' for help. - keycode

2022-08-04 Thread Chris Narkiewicz via Mutt-users
On Thu, Jul 28, 2022 at 02:50:56PM -0700, Kevin J. McCarthy wrote:
> Try ':exec what-key' and see if that helps.

It helps! It seems that Mutt is receiving 'a' instead of C-up.

Thank you, now I need to troubleshoot urxvt.

Cheers,
Chris


Re: Key is not bound. Press '?' for help. - keycode

2022-07-28 Thread Chris Narkiewicz via Mutt-users
On Thu, Jul 28, 2022 at 04:58:30PM -0400, Patrick Shanahan wrote:
> xev and showkey

It's the terminal that does something weird,
or s-lang. xev won't help here.

There is no showkey on OpenBSD.

I need to see what mutt actually see, not what X11 sends.

Cheers,
Chris Narkiewicz


signature.asc
Description: PGP signature


Key is not bound. Press '?' for help. - keycode

2022-07-28 Thread Chris Narkiewicz via Mutt-users
Hi,

I configured a shortcut - C- and C- - to naviage the sidebar.
It works, but on some terminal, pressing this shortcut yields

Key is not bound.  Press '?' for help.

This is puzzling and I suspect that the terminal sends something
else. Is there a way to display the key combination that was
actually received by mutt, so I know what is wrong with the terminal?

The terminal in question is urxvt on OpenBSD.

Best regards,
Chris Narkiewicz


signature.asc
Description: PGP signature


Re: Coloring signature information

2022-06-06 Thread Chris Narkiewicz via Mutt-users
On Sun, Jun 05, 2022 at 06:56:51PM -0700, Kevin J. McCarthy wrote:
> > [-- Begin signature information --]
> > Good signature from: Kevin J. McCarthy 
> >created: Sun Jun  5 20:45:27 2022
> > [-- End signature information --]
> > 
> > Is there a way to set the color of this block of text?
> 
> Those are included in the 'attachment' color object.

I tried color attachment bg fg
but it colors '[-- Begin signature information --]' string.

What I'm trying to achieve, is to use green color for good
signatures, gray for unknown and red for bad signatures.

So I want to color the text in between
'[ -- Begin signature from ... --]'
and '[-- End signature information --]'

Best regards,
Chris Narkiewicz



signature.asc
Description: PGP signature


Coloring signature information

2022-06-05 Thread Chris Narkiewicz via Mutt-users
When receiving email with GPG signature, mutt puts a status
at the top of the message pager:

[-- Begin signature information --]
Good signature from: Kevin J. McCarthy 
created: Sun Jun  5 20:45:27 2022
[-- End signature information --]

Is there a way to set the color of this block of text?
There are some examples based on regexp, such as

color body green black "^Good signature.*"

but that covers a signle line only.

Best regards,
Chris Narkiewicz



signature.asc
Description: PGP signature


Re: adding an account

2022-06-04 Thread Chris Narkiewicz via Mutt-users
Dnia Sat, Jun 04, 2022 at 01:50:00PM -0400, Albert R. Pyott
napisaƂ(a):

> Hello, I have gmail working on one computer and yahoo on
> another.  Thus, two muttrc files.  What is the best way to set these
> up on one system? I've read that this involves "hooks" and things that
> I don't understand too well.  Is there an easy model to follow?

You can use hooks to run config commands when entering a mailbox. I
don't like this approach for reasons.

I prefer to split my mutt config into individual rc files and source
them in main config. This way, I can split configuration into shared
common config and per-account config and launch mutt for a given
account by pointing it to a specific config file.

Best regards,
Chris Narkiewicz



signature.asc
Description: PGP signature