Re: Change unread mark without open the message

2008-04-24 Thread Kirill Miazine

* hce [2008-04-24 15:31]:

Hi,

I transfered my Inbox from the Evolution where I used for reading my
email before. Now, all messages displayed in mutt are marked unread
"O". How can I change the unread mark to read mark without open the
messages?

Thank you.


Fisrt tag all unread messages:

T~U

Now mark them as read:

;N

--
-- Kirill Miazine <[EMAIL PROTECTED]>



Re: Setting mutt on FC7

2008-04-24 Thread Michael Kjorling
On 24 Apr 2008 15:15 +1000, by [EMAIL PROTECTED] (hce):
> 1. The receiving mail seems ok, but I could not post mails. On the
> menu, there is a o:Mail, but when I pressed the o key, it always print
> out "Aborted unmodified message.", it did not bring me to the edit
> page, the same when I pressed "r" key for replying. How can I fix it?

This is most likely because your $editor is failing to launch.


> 2. I'd like to set up color in white when I reading the mail, but
> there are two lines, "Subject:" and "From:" are always in red. How can
> I set up the color in muttrc to make those two lines to white?

Look at "color" and "uncolor" in the manual.

-- 
Michael Kjörling .. [EMAIL PROTECTED] .. http://michael.kjorling.se
* . No bird soars too high if he soars with his own wings . *
* ENCRYPTED email preferred -- OpenPGP key ID: 0x 758F8749 BDE9ADA6 *
* ASCII Ribbon Campaign: Against HTML mail, proprietary attachments *



signature.asc
Description: Digital signature


Re: Setting mutt on FC7

2008-04-24 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday, April 24 at 03:15 PM, quoth hce:
> 3. How can I setting a signature to attach a jpeg file or doc file? 
> Is it like following set in the muttrc? set 
> signature="~/mysignature.doc"

That won't work, no. The standard signature settings are for *text*. 
Using a non-text signature is both annoying, and very 
email-client-dependent (e.g. mutt doesn't display jpegs inline). I 
don't know of a way to do what you describe offhand, but I'd ask you 
to reconsider your desire to use such "signatures".

~Kyle
- -- 
I couldn't give you something mediocre even if that's all you asked 
for.
  -- Michelangelo, in The Agony and the Ecstasy
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkgQqE4ACgkQBkIOoMqOI16pbACgqEqup6hotWP1yPHQ0tiTWZyF
p54An0mPKsYtoeK5EVEQM2zaQ5IuUcJg
=PVZr
-END PGP SIGNATURE-


mutt-users@mutt.org

2008-04-24 Thread Ravi Uday
Hi,

I am trying to install mutt on sunos box but I get this error:

checking whether iconv.h defines iconv_t... yes
checking whether this iconv is good enough... no
configure: error: Try using libiconv instead
bash-2.05b$


Do You know how to proceed

Ravi


Re: mutt-users@mutt.org

2008-04-24 Thread Vladimir Marek
> I am trying to install mutt on sunos box but I get this error:
> 
> checking whether iconv.h defines iconv_t... yes
> checking whether this iconv is good enough... no
> configure: error: Try using libiconv instead
> bash-2.05b$

config.log should have the details. Try looking for "checking whether
this iconv is good enough" and some errors around.

-- 
Vlad


pgpqkL4TkRkEZ.pgp
Description: PGP signature


Re: mutt-users@mutt.org

2008-04-24 Thread Ravi Uday
Hi Vlad,

Here it is:
Seems like configure couldn't find the SO.


configure:18489: checking whether this iconv is good enough
configure:18527: gcc -o conftest -Wall -pedantic -g -O2   conftest.c
-liconv >&5
configure:18530: $? = 0
configure:18536: ./conftest
ld.so.1: conftest: fatal: libiconv.so.2: open failed: No such file or directory
./configure: line 1: 23577 Killed  ./conftest$ac_exeext
configure:18539: $? = 137
configure: program exited with status 137


Ravi
>
> On Thu, Apr 24, 2008 at 11:19 AM, Vladimir Marek <[EMAIL PROTECTED]> wrote:
>
> >
> > > I am trying to install mutt on sunos box but I get this error:
> > >
> > > checking whether iconv.h defines iconv_t... yes
> > > checking whether this iconv is good enough... no
> > > configure: error: Try using libiconv instead
> > > bash-2.05b$
> >
> > config.log should have the details. Try looking for "checking whether
> > this iconv is good enough" and some errors around.
> >
> > --
> >Vlad
> >
>
>


Re: mutt-users@mutt.org

2008-04-24 Thread Vladimir Marek

> I am trying to install mutt on sunos box but I get this error:
>
> Seems like configure couldn't find the SO.
> 
> configure:18489: checking whether this iconv is good enough
> configure:18527: gcc -o conftest -Wall -pedantic -g -O2   conftest.c
> -liconv >&5
> configure:18530: $? = 0
> configure:18536: ./conftest
> ld.so.1: conftest: fatal: libiconv.so.2: open failed: No such file or 
> directory
> ./configure: line 1: 23577 Killed  ./conftest$ac_exeext
> configure:18539: $? = 137
> configure: program exited with status 137

You haven't specified which sunos you are running. Locate the iconv
library by

$ cat /var/sadm/install/contents | grep libiconv.so

You will have to set LD_LIBRARY_PATH appropriately. Chances are that
it's in /opt/csw/lib . If you don't have one, you can get one from
companion (sunfreeware.com).

-- 
Vlad


pgpAQAPyuVXiD.pgp
Description: PGP signature


Re: mutt-users@mutt.org

2008-04-24 Thread Ravi Uday
Thanks Vlad,

Here are more o/p:

bash-2.05b$ uname -a
SunOS 11 5.8 Generic_117350-34 sun4u sparc SUNW,Netra-T12

bash-2.05b$ cat /var/sadm/install/contents | grep libiconv.so
bash-2.05b$


But we hvae iconv dir under lib intact -

bash-2.05b$ cat /var/sadm/install/contents | grep iconv | more
/usr/bin/geniconvtbl f none 0555 root bin 123520 27123 947116526 SUNWcsu
/usr/bin/iconv f none 0555 root bin 11996 42547 947116534 SUNWcsu
/usr/include/iconv.h f none 0644 root bin 566 46749 947110181 SUNWhea
/usr/lib/iconv d none 0755 root bin SUNWkiu8x SUNWhiu8x SUNWcsu SUNWuiu8x SUNW
uiu8 SUNWciu8x SUNWtiu8x SUNWloc SUNWislcc SUNWislcx SUNWisolc SUNWisolx SUNWj
iu8x SUNWlocx
/usr/lib/iconv/646%8859.so f none 0755 bin bin 5520 34564 940251623 SUNWislcc
/usr/lib/iconv/646%ISO8859-1.so=646%8859.so s none SUNWislcc
/usr/lib/iconv/646%ISO8859-2.so=646%8859.so s none SUNWislcc
/usr/lib/iconv/646%ISO8859-4.so=646%8859.so s none SUNWislcc
/usr/lib/iconv/646%ISO8859-5.so=646%8859.so s none SUNWislcc
/usr/lib/iconv/646%ISO8859-7.so=646%8859.so s none SUNWislcc
/usr/lib/iconv/646%ISO8859-9.so=646%8859.so s none SUNWislcc
/usr/lib/iconv/646%UCS-2.so f none 0555 root bin 7116 54099 1042853349 SUNWuiu
8
/usr/lib/iconv/646%UCS-2BE.so f none 0555 root bin 7136 48707 1042853349 SUNWu
iu8

and

bash-2.05b$ ls  /opt/csw/lib
/opt/csw/lib: No such file or directory
bash-2.05b$

So sunfreeware.com is the way to go ?

Ravi


On Thu, Apr 24, 2008 at 12:02 PM, Vladimir Marek <[EMAIL PROTECTED]> wrote:
>
> > I am trying to install mutt on sunos box but I get this error:
> >
> > Seems like configure couldn't find the SO.
> >
> > configure:18489: checking whether this iconv is good enough
> > configure:18527: gcc -o conftest -Wall -pedantic -g -O2   conftest.c
> > -liconv >&5
> > configure:18530: $? = 0
> > configure:18536: ./conftest
> > ld.so.1: conftest: fatal: libiconv.so.2: open failed: No such file or 
> > directory
> > ./configure: line 1: 23577 Killed  ./conftest$ac_exeext
> > configure:18539: $? = 137
> > configure: program exited with status 137
>
> You haven't specified which sunos you are running. Locate the iconv
> library by
>
> $ cat /var/sadm/install/contents | grep libiconv.so
>
> You will have to set LD_LIBRARY_PATH appropriately. Chances are that
> it's in /opt/csw/lib . If you don't have one, you can get one from
> companion (sunfreeware.com).
>
> --
>Vlad
>


Re: mutt-users@mutt.org

2008-04-24 Thread Vladimir Marek
> bash-2.05b$ uname -a
> SunOS 11 5.8 Generic_117350-34 sun4u sparc SUNW,Netra-T12

Nice, telco machine (Netra).


> bash-2.05b$ cat /var/sadm/install/contents | grep libiconv.so
> bash-2.05b$
> 
> 
> But we hvae iconv dir under lib intact -
> 
> /usr/bin/iconv f none 0555 root bin 11996 42547 947116534 SUNWcsu
[...]

That's just the binary. Solaris is not supplied by default with
libiconv.

> bash-2.05b$ ls  /opt/csw/lib
> /opt/csw/lib: No such file or directory
> bash-2.05b$
> 
> So sunfreeware.com is the way to go ?

One possible way. Personally I built GNU libiconv and linked mutt
statically with it. But that's just me.

It should be enough for you to install
ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/libiconv-1.11-sol8-sparc-local.gz
ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/libintl-3.4.0-sol8-sparc-local.gz
ftp://ftp.sunfreeware.com/pub/freeware/sparc/8/libgcc-3.4.6-sol8-sparc-local.gz

after that

LD_LIBRARY_PATH=/usr/local/lib; export LD_LIBRARY_PATH
LD_RUN_PATH=/usr/local/lib; export LD_RUN_PATH

I'm writing this without any testing, sorry if I missed something.

-- 
Vlad


pgpOo8cj2AGAA.pgp
Description: PGP signature


mailboxes / folders listings with imap

2008-04-24 Thread rektide
I just switched over from using maildir++ to having a Dovecot IMAP server  
hosting my mail.


I used to run a .muttrc that had some nice capabilities for letting me  
browse through folders:


#mailboxes `\
#echo -n "+ "; \
#for file in ~/.maildir/.*; do \
#  box=$(basename $file); \
#  if [ ! $box = '.' -a ! $box = '..' -a ! $box = '.customflags' -a ! $box  
= '.subscriptions' ]; then \

#echo -n "+$box "; \
#  fi; \
#done`
#
#macro index c "?" "open a different  
folder"
#macro pager c "?" "open a different  
folder"

#
#macro index C "?" "copy a message to a  
mailbox"
#macro index M "?" "move a message to a  
mailbox"



I dont know exactly what my old .muttrc script did, but is there any way  
to restore its functionality?  All I'm really looking for is the ability  
to list and navigate between different folders.  This code doesnt work  
with imap as there is no ~/.maildir/ anymore to populate the list of  
folders from.


Sorry know its vague, hope I'm making sense, hope someone can point me in  
the right direction.

rektide


Re: Setting mutt on FC7

2008-04-24 Thread hce
On 4/24/08, Michael Kjorling <[EMAIL PROTECTED]> wrote:
> On 24 Apr 2008 15:15 +1000, by [EMAIL PROTECTED] (hce):
>
> > 1. The receiving mail seems ok, but I could not post mails. On the
>  > menu, there is a o:Mail, but when I pressed the o key, it always print
>  > out "Aborted unmodified message.", it did not bring me to the edit
>  > page, the same when I pressed "r" key for replying. How can I fix it?
>
>
> This is most likely because your $editor is failing to launch.

I am using vim on xterm, and I set up the editor at muttrc:

set editor="vim +':set textwidth=77' +':set wrap' +\`awk '/^$/ {print
i+2; exit} {i++}' %s\` %s"

Could you please elaborate more what I was missing?

Thank you.

Kind Regards,

Jim

>