Another Color to new Mail.

2002-03-11 Thread Michel

Hi brothers :)

I'm with a little matter: I work with several folder to store mails in filtering of 
procmail... When I type c and ? I receive:

1 drwxr-sr-x 31 michel   michel   2048 Mar 09 07:33 ../
2 drwxr-sr-x  2 michel   michel   1024 Mar 09 08:45 Linux/
3 drwxr-sr-x  2 michel   michel   1024 Feb 19 02:02 Musica/
4 drwxrwsr-x  2 michel   michel   1024 Mar 09 08:45 Noticias/
5 drwxr-sr-x  2 michel   michel   1024 Mar 09 08:42 Pessoal/
6 drwxrwsr-x  2 michel   michel   1024 Mar 09 08:45 Programacao/
7 -rw-r--r--  1 michel   michel   2240 Mar 09 07:46 adiadas
8 -rw---  1 michel   michel  59865 Mar 09 06:05 enviadas
9 lrwxrwxrwx  1 michel   michel 22 Feb 19 04:51 inbox
10-rw---  1 michel   michel  46191 Mar 09 08:42 lidas

Well, I want 2 thing to be changed:
1) Programacao, Linux, Musica, Noticias and Pessoal are folders... Can I change the 
color of names (to detach when there are boxes with new mail)?
2) Can I filter de screen every time I enter in this screen (to remove name, group, 
permissions or add new labels)?

I thank for all help!
-- 
Michel - Curitiba - PR - Brasil
i8u - Debian 2.2 - kernel 2.2.19



Re: Another Color to new Mail.

2002-03-11 Thread darren chamberlain

Quoting Michel [EMAIL PROTECTED] [Mar 11, 2002 12:58]:
 I'm with a little matter: I work with several folder to store
 mails in filtering of procmail... When I type c and ? I
 receive:
 
 1 drwxr-sr-x 31 michel   michel   2048 Mar 09 07:33 ../
 2 drwxr-sr-x  2 michel   michel   1024 Mar 09 08:45 Linux/
 3 drwxr-sr-x  2 michel   michel   1024 Feb 19 02:02 Musica/
 4 drwxrwsr-x  2 michel   michel   1024 Mar 09 08:45 Noticias/
 5 drwxr-sr-x  2 michel   michel   1024 Mar 09 08:42 Pessoal/
 6 drwxrwsr-x  2 michel   michel   1024 Mar 09 08:45 Programacao/
 7 -rw-r--r--  1 michel   michel   2240 Mar 09 07:46 adiadas
 8 -rw---  1 michel   michel  59865 Mar 09 06:05 enviadas
 9 lrwxrwxrwx  1 michel   michel 22 Feb 19 04:51 inbox@
 10-rw---  1 michel   michel  46191 Mar 09 08:42 lidas
 
 Well, I want 2 thing to be changed:
 1) Programacao, Linux, Musica, Noticias and Pessoal are
 folders... Can I change the color of names (to detach when
 there are boxes with new mail)?

Don't about colors here, sorry.  But...

 2) Can I filter de screen every time I enter in this screen (to
 remove name, group, permissions or add new labels)?

Take a look at folder_format:

  6.3.49.  folder_format

  Type: string
  Default: %2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f

  This variable allows you to customize the file browser display to your
  personal taste.  This string is similar to $index_format, but
  has its own set of printf()-like sequences:

 %C current file number

 %d date/time folder was last modified

 %f filename

 %F file permissions

 %g group name (or numeric gid, if missing)

 %l number of hard links

 %N N if folder has new mail, blank otherwise

 %s size in bytes

 %t * if the file is tagged, blank otherwise

 %u owner name (or numeric uid, if missing)

 %X
right justify the rest of the string and pad with character X

 %|X
pad to the end of the line with character X

It looks likes your is %C %F %l %u %g %s $d $f, give or take a
few format sizes (do :set ?folder_format to see for sure).  It
sounds like you want to remove the %u, %g, and %F formats.

(darren)

-- 
Men never do evil so completely and cheerfully as when they do it
from religious conviction.
-- Blaise Pascal



Re: Another Color to new Mail.

2002-03-11 Thread Rocco Rutte

On Sat, Mar 09, 2002 at 09:22:30AM -0300 Michel wrote:
 1 drwxr-sr-x 31 michel   michel   2048 Mar 09 07:33 ../
 2 drwxr-sr-x  2 michel   michel   1024 Mar 09 08:45 Linux/
 3 drwxr-sr-x  2 michel   michel   1024 Feb 19 02:02 Musica/
 4 drwxrwsr-x  2 michel   michel   1024 Mar 09 08:45 Noticias/
 5 drwxr-sr-x  2 michel   michel   1024 Mar 09 08:42 Pessoal/
 6 drwxrwsr-x  2 michel   michel   1024 Mar 09 08:45 Programacao/
 7 -rw-r--r--  1 michel   michel   2240 Mar 09 07:46 adiadas
 8 -rw---  1 michel   michel  59865 Mar 09 06:05 enviadas
 9 lrwxrwxrwx  1 michel   michel 22 Feb 19 04:51 inbox
 10-rw---  1 michel   michel  46191 Mar 09 08:42 lidas
 2) Can I filter de screen every time I enter in this screen (to remove name, group, 
permissions or add new labels)?

Yes, look at 'folder_format' in the manual.

Regards, Rocco
-- 
BOFH excuse #134:

because of network lag due to too many people playing deathmatch



msg25309/pgp0.pgp
Description: PGP signature


Another Color to new Mail. (Solution)

2002-03-11 Thread Michel

Hello folks! I'm wondering with this feature :)
Darren: I try this and enjoy :)
Everybody: see how is my folder before...

1 drwxr-sr-x 31 michel   michel   2048 Mar 09 07:33 ../
2 drwxr-sr-x  2 michel   michel   1024 Mar 09 08:45 Linux/
3 drwxr-sr-x  2 michel   michel   1024 Feb 19 02:02 Musica/
4 drwxrwsr-x  2 michel   michel   1024 Mar 09 08:45 Noticias/
5 drwxr-sr-x  2 michel   michel   1024 Mar 09 08:42 Pessoal/
6 drwxrwsr-x  2 michel   michel   1024 Mar 09 08:45 Programacao/
7 -rw-r--r--  1 michel   michel   2240 Mar 09 07:46 adiadas
8 -rw---  1 michel   michel  59865 Mar 09 06:05 enviadas
9 lrwxrwxrwx  1 michel   michel 22 Feb 19 04:51 inbox
10-rw---  1 michel   michel  46191 Mar 09 08:42 lidas

... and after.

   1  Mar 09 13:49 2048 ... ../
   2  Mar 09 13:36 1024  Linux/
   3  Feb 19 02:02 1024 ... Musica/
   4  Mar 09 08:45 1024 . Noticias/
   5  Mar 09 09:25 1024 .. Pessoal/
   6  Mar 09 09:27 1024 .. Programacao/
   7  Mar 09 09:36 0 .. adiadas
   8  Mar 09 09:40 63924 . enviadas
   9  Feb 19 04:51 22 .. inbox
   10  Mar 09 08:42 38377 ... lidas

 Take a look at folder_format:
See the message parent for strings... 
Now I'm using the follow sequence: 
set folder_format= %\%C %N  %t %d %s %. %f %\   
(including the spaces, they centralize the page how was print)
Now exist a label for new mails (N), I don't tested it but I think it's ok...
Only in iten 10 there are a problem, where the date aren't aligned, but nothing else 
matter...

Thanks :)
-- 
Michel - Curitiba/PR - Brasil
PS: Sorry about my poor english, it is not my beach :)



Re: Another Color to new Mail. (Solution)

2002-03-11 Thread Rocco Rutte

Hello,

On Sat, Mar 09, 2002 at 02:15:57PM -0300 Michel wrote:
9  Feb 19 04:51 22 .. inbox
10  Mar 09 08:42 38377 ... lidas
[...]
 set folder_format= %\%C %N  %t %d %s %. %f %\   
[...]
 Only in iten 10 there are a problem, where the date aren't aligned, but nothing else 
matter...

I'm too lazy to look up if the following is defined in the
manual: use %2C (or %3C if you have 100 mailboxes) instead
to stretch the number. Works in other _formats as well.

Regards, Rocco
-- 
BOFH excuse #228:

That function is not currently supported, but Bill Gates
assures us it will be featured in the next upgrade.



msg25317/pgp0.pgp
Description: PGP signature