Re: How to match a whole word?

2010-12-20 Thread Yue Wu
On Sun, Dec 19, 2010 at 07:07:46PM +0100, Richard Z. wrote:
> 
> would something like [^ ]tex[^ ] work?
> 

It's a wrong syntax, mutt will blame no balance brakets ...

-- 
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China


Re: How to match a whole word?

2010-12-20 Thread Yue Wu
On Sun, Dec 19, 2010 at 07:40:03PM +, ja...@daemon.gnix.co.uk wrote:
> why can't you just compile it yourself and select the options you need
> and install the required libraries to suit?

I don't know much about compiling, so I like the port way to manage
the software in BSD ;p

Which apps and compiling options mutt will depend for gnu regex
support?

-- 
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China


characters and words scattered on debian squeeze

2010-12-20 Thread alvaro
Hello all, a month I have this problem with mutt, drawing is bad, words and 
charatters is scattered. I have this from I move debian on asus eeepc I think. 
Can it be buggy intel (my video card) driver that conflicts with ncurses?
Thanks and sorry for bad english


set FROM field taking it from TO field

2010-12-20 Thread alvaro
Hello all, how to subject, how to set FROM field taking it from TO field? On 
manual I see have to use send-hook, but I don't now how to take TO field.
Thanks


Re: How to match a whole word?

2010-12-20 Thread jamie
> On Sun, Dec 19, 2010 at 07:40:03PM +, ja...@daemon.gnix.co.uk wrote:
 
> I don't know much about compiling, so I like the port way to manage
> the software in BSD ;p
 
It's really quite easy. There are good instructions that come with the
source code. I'm sure you'll find some examples and information on the
net as well. You basically run 3 steps from within the source code
directory:

./configure [and any options to provide additional support  you want]
make
make install (as root)

> Which apps and compiling options mutt will depend for gnu regex
> support?
 
If you run ./configure --help from within the source code directory that
will help you. There is also more information in the README file INSTALL files.

jamie


Re: characters and words scattered on debian squeeze

2010-12-20 Thread Chip Camden
Quoth alvaro on Monday, 20 December 2010:
> Hello all, a month I have this problem with mutt, drawing is bad, words and 
> charatters is scattered. I have this from I move debian on asus eeepc I 
> think. Can it be buggy intel (my video card) driver that conflicts with 
> ncurses?
> Thanks and sorry for bad english

Perhaps you could post an image somewhere of what your terminal screen
looks like?

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpxiKGeD3OIs.pgp
Description: PGP signature


Re: can't config mutt to use gpg2

2010-12-20 Thread Will Fiveash
On Sun, Dec 19, 2010 at 09:29:18PM -0700, Kyle Wheeler wrote:
> On Sunday, December 19 at 09:21 PM, quoth Will Fiveash:
> >On Sun, Dec 19, 2010 at 07:46:50PM -0700, Kyle Wheeler wrote:
> >> On Sunday, December 19 at 07:30 PM, quoth Will Fiveash:
> >> >Recently I started using gpg2 and the gpg-agent to reduce the number of
> >> >times I enter my gpg password.  This is working in general but I can't
> >> >seem to get mutt to call gpg2 even though I've replaced all instances of
> >> >/usr/local/bin/gpg with /usr/local/bin/gpg2 in my ~/.muttrc_gpg-1.5
> >> >config file which is being sourced by ~/.muttrc.  Any thoughts as to
> >> >what is going on?
> >>
> >> What error messages have you been getting?
> >
> >Sorry, I should have been more clear; mutt continues to run gpg instead
> >of gpg2 thus the gpg-agent isn't being used.
> 
> Who said you had to use gpg2 in order to use gpg-agent? I've used 
> gpg-agent with gpg 1.4.x for years; all you have to do is add 
> 'use-agent' to your gpg.conf.

That was ignorance on my part.  I've been using gpg for a long time and
I don't recall the gpg-agent being available way back when.  When I
became aware of gpg2 I also became aware of gpg-agent which it will use
if GPG_AGENT_INFO is set (it does not require "use-agent" set in the
gpg.conf).  But since you mentioned the "use-agent" config option I've
gone ahead and set that which now has gpg (v1.4.2.2) using it as well.

> I was going to ask how you know gpg2 isn't being used, but...

I used the truss utility on Solaris to trace mutt calling execve().  Of
course now that I truss again I am seeing mutt using /usr/local/bin/gpg2
as I configured it.  I don't know what happened earlier but more than
likely it's user error on my part.

> Anyway, out of curiosity, why worry about it? As far as I know, 
> there's no real benefit to using gpg2; the only difference is that it 
> supports building against an external gnupglib library as opposed to 
> being self-contained. All the encryption methods are the same, and gpg 
> v1 has undergone more rigorous testing by the security community. Is 
> there something you're trying to accomplish in particular? Maybe my 
> information about gpg2 is outdated...

Aside from my confusion about gpgv1.4's support of gpg-agent, it turns
out that gpgv2 is available for Solaris prebuilt in standard package
form so its conveient to use that.  Note that the reason I'm calling
/usr/local/bin/gpg2 instead of the native /usr/bin/gpg2 is that I'm
using Solaris privilege support to allow gpg2 to allow pinned/secure
memory which can not be paged out to the swap device.  What's nice about
this is that I do not have to configure gpg2 to run as setuid root, but
instead I am able to give it only the proc_lock_memory privilege.  Doing
this requires that I create a shell script wrapper /usr/local/bin/gpg2
which is this:

#!/bin/ksh -p
unset LD_PRELOAD LD_LIBRARY_PATH
/usr/bin/pfexec /usr/bin/gpg2 "$@"

and in /etc/security/exec_attr:
GPG:solaris:cmd:::/usr/bin/gpg2:privs=proc_lock_memory

$ grep GPG /etc/security/prof_attr
GPG:::Execute gpg as the user or role:help=RtAll.html

$ grep GPG /etc/user_attr
willftype=normal;roles=root;profiles=GPG

BTW, the last piece of the puzzle for me was finding the mutt
pgp_use_gpg_agent config option.  Now things are working as I want.
Thanks again for your help with this.

-- 
Will Fiveash
Oracle
Austin, TX, USA


PGP signed status flag not showing

2010-12-20 Thread Aaron Toponce
I'm struggling with this status flag in the message index. Most
mailboxes show the 's', 'S' and 'P' flags appropriately. However, there
are two mailboxes that don't. One is a local LUG mailing list, the other
is the GnuPG Users mailing list, ironically enough.

However, after viewing a message that is signed, when going back to the
index, the 's' flag will show, even though it didn't show before reading
the mail. PGP/GPG is working fine, as far as I can tell. I can send
encrypted mail, decrypt mail, sign and verify signatures.

Any ideas what I can't see the signed message flags in only a couple of
the mailboxes?

-- 
. o .   o . o   . . o   o . .   . o .
. . o   . o o   o . o   . o o   . . o
o o o   . o .   . o o   o o .   o o o


signature.asc
Description: Digital signature


Re: set FROM field taking it from TO field

2010-12-20 Thread Simon Ruderich
On Mon, Dec 20, 2010 at 02:52:06PM +0100, alvaro wrote:
> Hello all, how to subject, how to set FROM field taking it from
> TO field? On manual I see have to use send-hook, but I don't
> now how to take TO field.
> Thanks

Hi,

Have a look at the $reverse_name option [1]. I'm not entirely
sure but it should accomplish what you're trying to do.

Regards,
Simon

[1]: man muttrc | less -p '   reverse_name'
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9


pgpjQTCB1BqLP.pgp
Description: PGP signature


Re: How to match a whole word?

2010-12-20 Thread jamie
> 
> On Sun, Dec 19, 2010 at 07:40:03PM +, ja...@daemon.gnix.co.uk wrote:
> > why can't you just compile it yourself and select the options you need
> > and install the required libraries to suit?

also, just to add to my earlier message, you could check the makefile in
/usr/ports/mail/mutt-devel/ as it will provide you with 'knobs' you can
activate by putting the appropriate entry in /etc/make.conf to set
compile-time options; however, the option you are refering to is a
default i think. check it to make sure. 


Little plus signs

2010-12-20 Thread llwyble


What are the little plus signs for and how to get rid of them? They are at
the beginning of some lines of text like this:

+blah blah blah...

Thanks




-- 



If ye love wealth better than liberty, the tranquility of servitude
than the animated contest of freedom, go from us in peace. We ask
not your counsels or arms. Crouch down and lick the hands which
feed you. May your chains sit lightly upon you, and may posterity
forget that you were our countrymen.

Samuel Adams, August 1, 1776 at the Philadelphia State House





Re: Little plus signs

2010-12-20 Thread Chip Camden
Quoth llwy...@suddenlink.net on Monday, 20 December 2010:
> What are the little plus signs for and how to get rid of them? They are at
> the beginning of some lines of text like this:
> 
> +blah blah blah...
> 
> Thanks
> 
> 
> 
> 
> -- 
> 
> 
> 
> If ye love wealth better than liberty, the tranquility of servitude
> than the animated contest of freedom, go from us in peace. We ask
> not your counsels or arms. Crouch down and lick the hands which
> feed you. May your chains sit lightly upon you, and may posterity
> forget that you were our countrymen.
> 
> Samuel Adams, August 1, 1776 at the Philadelphia State House
> 
> 

http://www.mutt.org/doc/manual/manual-6.html#variables

set markers=no

in your .muttrc.  Markers are used to show where a single line wraps to
the next line of display.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgp0jwGY0OF32.pgp
Description: PGP signature