printf format

2001-04-29 Thread Erika Pacholleck

When examing first all those config possibilities I fell over some
format which I could not understand. It is not important for survival
but I just like to understand everything, so if someone could light
my brain it would be great.

For example: the index format uses %-15.15L
And I found out that these 15.15 is working like the C printf.
So I tried to find some info which explains what C printf is.
The only thing I found was some complicated mathematics about this
being a format of telling how a printer is going to bring that to
paper when digging somewhere in the groff pages. But this may not be
related.

I am using a standard 25x80 console screen and tried some other values
just to check whether I see something to make a rule of, but nothing.
So, how does value1.value2 affect the format? And what does the
- sign do?
-- 
Erika



Re: printf format

2001-04-29 Thread Lars Hecking

 
 For example: the index format uses %-15.15L
 And I found out that these 15.15 is working like the C printf.
 So I tried to find some info which explains what C printf is.
 The only thing I found was some complicated mathematics about this
 being a format of telling how a printer is going to bring that to
 paper when digging somewhere in the groff pages. But this may not be
 related.

 Have you tried man printf(3)? ;-)

[...]
  -   A negative field width flag `-' indicates the converted value is
 to be left adjusted on the field boundary.  Except for n conver-
 sions, the converted value is padded on the right with blanks,
 rather than on the left with blanks or zeros.  A `-' overrides a
 `0' if both are given.
[...]
 o   An optional decimal digit string specifying a minimum field width.
 If the converted value has fewer characters than the field width, it
 will be padded with spaces on the left (or right, if the left-adjust-
 ment flag has been given) to fill out the field width.

 o   An optional precision, in the form of a period `.' followed by an op-
 tional digit string.  If the digit string is omitted, the precision
 is taken as zero.  This gives the minimum number of digits to appear
 for d, i, o, u, x, and X conversions, the number of digits to appear
 after the decimal-point for e, E, and f conversions, the maximum num-
 ber of significant digits for g and G conversions, or the maximum
 number of characters to be printed from a string for s conversions.




Revisiting Mutt, Debian, Ncurses, Eterm .....

2001-04-29 Thread Jason Helfman

I have Debian Sid.

Eterm
Ncurses
Mutt

I have no colors for my Eterm and it should be Transparent with the
option flags I am using. If I start a Eterm up and type mutt, it jumps
to a black index, however when editing, it is transparent. And that
would make sense, being in VI at that point.

Any ideas why I would be experiencing this?

ii  eterm  0.9.0-9Enlightened Terminal Emulator
ii  libncurses55.2.20010318-1 Shared libraries for terminal handling
ii  libncurses5-de 5.2.20010318-1 Developer's libraries and docs for ncurses
ii  ncurses-base   5.2.20010318-1 Descriptions of common terminal types
ii  ncurses-bin5.2.20010318-1 Terminal-related programs and man pages


Mutt 1.3.17i (2001-03-28)
Copyright (C) 1996-2000 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.4.0 [using ncurses 5.2]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
-USE_POP  -USE_IMAP  -USE_GSS  -USE_SSL  -USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
-ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
+HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  -HAVE_GETADDRINFO  
ISPELL=/usr/bin/ispell
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/mail
SHAREDIR=/usr/local/share/mutt
SYSCONFDIR=/usr/local/etc
EXECSHELL=/bin/sh
-MIXMASTER
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the flea(1) utility.

-- 
/Jason G Helfman

At any given moment, you may find the ticket to the circus that has always
been in your possession.

Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149




Re: Revisiting Mutt, Debian, Ncurses, Eterm .....

2001-04-29 Thread Thomas Dickey

On Sun, Apr 29, 2001 at 11:23:16AM -0700, Jason Helfman wrote:
 I have Debian Sid.
 
 Eterm
 Ncurses
 Mutt
 
 I have no colors for my Eterm and it should be Transparent with the
 option flags I am using. If I start a Eterm up and type mutt, it jumps
 to a black index, however when editing, it is transparent. And that
 would make sense, being in VI at that point.
 
 Any ideas why I would be experiencing this?

It doesn't show up in the compile options, but mutt should be configured to
call 'use_default_colors()' - you can verify that with 'nm' on mutt.  If it's
configured properly, then the color scheme in .muttrc is the place to look (if
it uses default in the background rather than black).

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://dickey.his.com
ftp://dickey.his.com



Re: Revisiting Mutt, Debian, Ncurses, Eterm .....

2001-04-29 Thread Robert Sweet

.Eterm/themes/mutt
or check the system wide files. SuSE has mutt theme for
eterm, maybe debian does too.

-- 
  _   
 _ __   _  _  ___| |_ 
| '__| / __\ \ /\ / / _ \/ _ \ __|
| | _  \__ \\ V  V /  __/  __/ |_ 
|_|(_) |___/ \_/\_/ \___|\___|\__|
[EMAIL PROTECTED]
unix soit qui mal y pense.



new mail in mailboxes

2001-04-29 Thread Sridhar Srinivasan

i have procmail set up to deliver incoming into several mailboxes (mbox
format) and i have them defined in my .muttrc using the mailboxes
command.

the problem is that mutt(1.2.5i) doesn't inform me that there is
new mail in some of the mailboxes, specifically these mailboxes are at
the end of the listing in the mailboxes command.

i thought that having a number of them on the same line in the
mailboxes might be causing the problem, but splitting them over two
commands didn't work.

any ideas/suggestions ???

thanks,
sridhar
-- 

Sridhar Srinivasan ([EMAIL PROTECTED])
I'm out of my mind right now, but feel free to leave a message.
- Slashdot .sig



Re: new mail in mailboxes

2001-04-29 Thread Suresh Ramasubramanian

Sridhar Srinivasan proclaimed on mutt-users that: 

 the problem is that mutt(1.2.5i) doesn't inform me that there is
 new mail in some of the mailboxes, specifically these mailboxes are at
 the end of the listing in the mailboxes command.
 
 Can't duplicate that - tab should cycle between everything.
 Then, use something like

set folder=~/Mail   # where i keep my mailboxes
set noconfirmappend # don't ask me if i want to append to mailboxes
set write_inc=25# show progress while writing mailboxes
mailboxes `echo $HOME/Mail/*`

-s
-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin