Re: key binding question

2001-07-24 Thread Michael Tatge

Tom Foster muttered:
 I would like to bind say, shift + g to use my own script (which
 fetches and sorts my mail...)
 
 How might I go about this?

macro index G shell-escape~/bin/yourscriptenter yourscript

HTH,

Michael
-- 
There are no threads in a.b.p.erotica,  so there's no  gain in using a
threaded news reader.
(Unknown source)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



how about folder hooks?

2001-07-24 Thread Tom Foster

Hey Guys,

Thanks for the keybinding.  Works like a charm.  Now, onto the
good ole folder hook problem...

I'd like a different sig and from line, depending on what
folder I'm in when I reply or send.  I thought I would make
mutt read another config file depending on the folder, but the
line I have does not do a thing.

folder-hook =inbox$ source ~/.mutt/inbox.rc

is that even close?
-- 

Eat more spinach.
-tom



Re: how about folder hooks?

2001-07-24 Thread Suresh Ramasubramanian

Tom Foster [mutt-users] 24/07/01 09:31 -0400: 
 
 I'd like a different sig and from line, depending on what
 folder I'm in when I reply or send.  I thought I would make
 mutt read another config file depending on the folder, but the
 line I have does not do a thing.

Use folder hooks.

 folder-hook =inbox$ source ~/.mutt/inbox.rc
 
Try quoting that.  Or try just adding the whole lot to your muttrc - like
http://www.hserus.net/muttrc.html


folder-hook . set sort=threads
folder-hook . set signature=/tmp/sig.mallet
folder-hook . 'set attribution = %n [%d]:'
folder-hook . my_hdr From: [EMAIL PROTECTED] (Suresh Ramasubramanian)
folder-hook . my_hdr Reply-To: [EMAIL PROTECTED] (Suresh Ramasubramanian)
folder-hook . my_hdr Organization: The Lumber Cartel, India (tinlcI)
folder-hook . my_hdr X-Operating-System: `uname -mnrs`

folder-hook mutt unmy_hdr reply-to
folder-hook mutt 'set attribution=%n [mutt-users] %d: '

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin



Re: how about folder hooks?

2001-07-24 Thread Chris Fuchs

on Tue,24 Jul 2001, Tom Foster wrote:

 I'd like a different sig and from line, depending on what
 folder I'm in when I reply or send.

See the following for setting up profiles:

http://www.acoustics.hut.fi/~mara/mutt/profiles.html

--
   Whether you believe you can, or whether you believe you can't, you're
   absolutely right. -Henry Ford




Re: Installing Mutt 1.3.19

2001-07-24 Thread Thomas E. Dickey

On Tue, 24 Jul 2001, Nelson D. Guerrero wrote:

 Hello everyone.

 I`ve been forced to downgrade from mutt 1.3.19 to mutt 1.2.5 since I
 installed Slackware 8.0, I keep getting the following error with
 ncurses:

look at the config.log file, which shows the error messages.  Perhaps
sl80's got some additional library dependency for ncurses.

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




[Announce] lbdb 0.25.1

2001-07-24 Thread Roland Rosenfeld

Okay, okay, I accept, that pod2man from perl 5.0 uses other parameters
than the one from 5.6 :-(

lbdb (0.25.1) unstable; urgency=low

  * Add  to pod2man call in Makefile, because older versions of perl
come with a pod2man which dies otherwise.

 -- Roland Rosenfeld [EMAIL PROTECTED]  Tue, 24 Jul 2001 17:47:16 +0200

Tscho

Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *

 PGP signature


Re: Installing Mutt 1.3.19

2001-07-24 Thread Nelson D. Guerrero

* On Tue Jul 24, Thomas E. Dickey wrote in [mutt-users]: 
- On Tue, 24 Jul 2001, Nelson D. Guerrero wrote:
- 
-  Hello everyone.
- 
-  I`ve been forced to downgrade from mutt 1.3.19 to mutt 1.2.5 since I
-  installed Slackware 8.0, I keep getting the following error with
-  ncurses:
- 
- look at the config.log file, which shows the error messages.  Perhaps
- sl80's got some additional library dependency for ncurses.
- 
- -- 
- T.E.Dickey [EMAIL PROTECTED]
- http://dickey.his.com
- ftp://dickey.his.com
- 

I did`nt find anything in my config.log, but then again, I`m fairly
ignorant on these kind of things. I was wondering if someone could check
it out. Attached is the config.log, sorry if it bothers anybody, this is
the first and last time I attached an unrequested file.

---
Nelson D. Guerrero Email: [EMAIL PROTECTED]
Soporte TecnicoWWW  : http://www.tcn.com.do  
Telecable Nacional Tel  : (809) 542 - 6612 ext. 4018
DivisiĆ²n de Internet



This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.50.  Invocation command line was

  $ ./configure --enable-locales-fix --without-wc-funcs --with-curses-dir=/usr/lib

## -- ##
## Platform.  ##
## -- ##

hostname = guerro
uname -m = i686
uname -r = 2.4.5
uname -s = Linux
uname -v = #1 Tue Jul 17 15:51:22 AST 2001

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = i686
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH = /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:.:/opt/gnome/bin

##  ##
## Core tests.  ##
##  ##

configure:960: PATH=.;.; conftest.sh
./configure: conftest.sh: command not found
configure:963: $? = 127
configure:1015: checking for a BSD compatible install
configure:1064: result: /usr/bin/ginstall -c
configure:1075: checking whether build environment is sane
configure:1118: result: yes
configure:1139: checking whether make sets ${MAKE}
configure:1159: result: yes
configure:1187: checking for working aclocal
configure:1194: result: found
configure:1202: checking for working autoconf
configure:1209: result: found
configure:1217: checking for working automake
configure:1224: result: found
configure:1232: checking for working autoheader
configure:1239: result: found
configure:1247: checking for working makeinfo
configure:1254: result: found
configure:1270: checking build system type
configure:1288: result: i686-pc-linux-gnu
configure:1295: checking host system type
configure:1309: result: i686-pc-linux-gnu
configure:1316: checking for prefix
configure:1323: result: /usr/local
configure:1369: checking for gcc
configure:1384: found /usr/bin/gcc
configure:1392: result: gcc
configure:1636: checking for C compiler default output
configure:1639: gccconftest.c  5
configure:1642: $? = 0
configure:1665: result: a.out
configure:1670: checking whether the C compiler works
configure:1676: ./a.out
configure:1679: $? = 0
configure:1694: result: yes
configure:1701: checking whether we are cross compiling
configure:1703: result: no
configure:1706: checking for executable suffix
configure:1708: gcc -o conftestconftest.c  5
configure:1711: $? = 0
configure:1733: result: 
configure:1739: checking for object suffix
configure:1757: gcc -c   conftest.c 5
configure:1760: $? = 0
configure:1779: result: o
configure:1783: checking whether we are using the GNU C compiler
configure:1804: gcc -c   conftest.c 5
configure:1807: $? = 0
configure:1810: test -s conftest.o
configure:1813: $? = 0
configure:1825: result: yes
configure:1831: checking whether gcc accepts -g
configure:1849: gcc -c -g  conftest.c 5
configure:1852: $? = 0
configure:1855: test -s conftest.o
configure:1858: $? = 0
configure:1868: result: yes
configure:1895: gcc -c -g -O2  conftest.c 5
conftest.c:2: parse error before `me'
configure:1898: $? = 1
configure: failed program was:
#ifndef __cplusplus
  choke me
#endif
configure:1993: checking for strerror in -lcposix
configure:2020: gcc -o conftest -g -O2   conftest.c -lcposix   5
/usr/i386-slackware-linux/bin/ld: cannot find -lcposix
collect2: ld returned 1 exit status
configure:2023: $? = 1
configure: failed program was:
#line 2001 configure
#include confdefs.h

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern C
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char strerror ();
int
main ()
{
strerror ();
  ;
  return 0;
}
configure:2040: result: no
configure:2046: checking for gcc option to accept ANSI C
configure:2105: gcc  -c -g -O2  

Re: Installing Mutt 1.3.19

2001-07-24 Thread Lars Hecking

 
 I did`nt find anything in my config.log, but then again, I`m fairly
 ignorant on these kind of things. I was wondering if someone could check
 it out. Attached is the config.log, sorry if it bothers anybody, this is
 the first and last time I attached an unrequested file.
 
 It was created by configure, which was
 generated by GNU Autoconf 2.50.  Invocation command line was
 
 Uninstall autoconf 2.50 and install autoconf-2.13.

 (Or install autoconf 2.13 in a location in your path that has precedence
  over the location of 2.50).

 Unpack a fresh copy of the mutt archive and run the included prepare script.
 You can specify the same cmd line options you would use with configure.




Re: Newbie question

2001-07-24 Thread Lawrence Mitchell

* On [010717 14:50] Fox Mulder [EMAIL PROTECTED] wrote:
 finally i have got mutt working with fetchmail and procmail. I am really
 happy. I have a few questions, and basically want to know if i am doing
 things the right way.
  
You ought ot set your editor to wrap lines at less than 80 characters, other
than that, you don't appear to have missed anything.

 Now when i start mutt, i get only the spool. I have to do a c=foldrname
 to get to the folder. i expect this is normal. Is there some way in which
 i can get to know if any new messages are in the other folders without
 actually going into them? it so happens that i get most of the mail in
 the spool, and rerely check the other 2 folders since there is not very
 heavy traffic there.
 
If you start mutt with the -y switch, it starts up in the file browser,
showing just those mailboxes that you have listed with the mailboxes
command.  Those folders with new mail in them should have an 'N' next to them.

 also, is it possible to transfer a mail from 1 folder to another?

Yes.  Just save the message to whichever folder you wish to.


-- 
Lawrence Mitchell
[EMAIL PROTECTED]



Re: Installing Mutt 1.3.19

2001-07-24 Thread Nelson D. Guerrero

* On Tue Jul 24, Lars Hecking wrote in [mutt-users]: 
-  
-  I did`nt find anything in my config.log, but then again, I`m fairly
-  ignorant on these kind of things. I was wondering if someone could check
-  it out. Attached is the config.log, sorry if it bothers anybody, this is
-  the first and last time I attached an unrequested file.
-  
-  It was created by configure, which was
-  generated by GNU Autoconf 2.50.  Invocation command line was
-  
-  Uninstall autoconf 2.50 and install autoconf-2.13.
- 
-  (Or install autoconf 2.13 in a location in your path that has precedence
-   over the location of 2.50).
- 
-  Unpack a fresh copy of the mutt archive and run the included prepare script.
-  You can specify the same cmd line options you would use with configure.
- 

Lars,

Thanks a lot, as you can see it worked:

[nelsong:~]$ mutt -v
Mutt 1.3.19i (2001-06-07)
System: Linux 2.4.5 [using ncurses 5.2]

Is that problem with autoconf 2.50 in general or just the one that`s
shipping with slackware?

---
Nelson D. Guerrero Email: [EMAIL PROTECTED]
Soporte TecnicoWWW  : http://www.tcn.com.do  
Telecable Nacional Tel  : (809) 542 - 6612 ext. 4018
DivisiĆ²n de Internet




Re: Installing Mutt 1.3.19

2001-07-24 Thread Lars Hecking


 Thanks a lot, as you can see it worked:
 
 [nelsong:~]$ mutt -v
 Mutt 1.3.19i (2001-06-07)
 System: Linux 2.4.5 [using ncurses 5.2]
 
 Is that problem with autoconf 2.50 in general or just the one that`s
 shipping with slackware?
 
 autoconf 2.5x is not fully backwards compatible. I have not yet had the
 time to find out what exactly goes wrong, and whether it is possible to
 rewrite configure.in to work with both versions.




Re: Newbie question

2001-07-24 Thread Chuck Fender

On Tue, Jul 17, 2001 at 03:04:32PM +0200 or thereabouts, Lawrence Mitchell or somebody 
saying they were Lawrence Mitchell wrote:
 * On [010717 14:50] Fox Mulder [EMAIL PROTECTED] wrote:
  finally i have got mutt working with fetchmail and procmail. I am really
snip
 
  Now when i start mutt, i get only the spool. I have to do a c=foldrname
  to get to the folder. i expect this is normal. Is there some way in which
  i can get to know if any new messages are in the other folders without
  actually going into them? it so happens that i get most of the mail in
  the spool, and rerely check the other 2 folders since there is not very
  heavy traffic there.
  
 If you start mutt with the -y switch, it starts up in the file browser,
 showing just those mailboxes that you have listed with the mailboxes
 command.  Those folders with new mail in them should have an 'N' next to them.
snip
 Lawrence Mitchell
 [EMAIL PROTECTED]
---end quoted text---
mutt -y gives the perfect display for deciding which mailbox to read
next. Is it possible to get there without exitting and restarting. c
lists too many other things in my ~/mail folder.
-- 
*
*   Chuck Fender*
* Wazoo's Computers *
*



Re: Newbie question

2001-07-24 Thread Ankit Mohan

* Chuck Fender [EMAIL PROTECTED] [11:39 25/07/01]:
 mutt -y gives the perfect display for deciding which mailbox to read
 next. Is it possible to get there without exitting and restarting. c
 lists too many other things in my ~/mail folder.

hi..
yes, you can get to it by pressing c? followed by a TAB. In fact i have
made a macro as follows :

macro index I c?\t
macro pager I c?\t

This maps 'I' to th index of folders in which my mail comes.

also, i have put the following line in .bash_profile

alias mutt='mutt -y'

this way mutt always starts with the '-y' option...
also, i did have some difficulty in getting the 'N' next to a folder that has
new mail. In fact i had to recompile with 'BUFFY_SIZE' option to get it to
work.


-- 
Ankit Mohan  -o)
Veritas Software  /\\
 _\_v



Re: Newbie question

2001-07-24 Thread Gary Johnson

On Tue, Jul 24, 2001 at 11:48:53PM -0600, Chuck Fender wrote:

 mutt -y gives the perfect display for deciding which mailbox to read
 next. Is it possible to get there without exitting and restarting. c
 lists too many other things in my ~/mail folder.

'c' should give you the same display as 'mutt -y'.  Try hitting tab
after 'c?'.

Gary

-- 
Gary Johnson   | Agilent Technologies
[EMAIL PROTECTED]   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |