On Wed, Sep 11, 2002 at 01:56:39PM +0200, Sven Guckes wrote:
> * Ryan Sorensen <[EMAIL PROTECTED]> [2002-09-10 06:32]:
> > Since I've added source lines for a couple scripts, when
> > I start up mutt, the screen flashes several times.
> > source "~/.mutt/hooks/folder.recip.sh ~/.Mail/lists/"|
> > source "~/.mutt/hooks/folder.recip.sh ~/.Mail/people/"|
> > That sort of thing.
> 
>   source filename
>   source filename|
> 
> "filename foo" is *not a filename, i suppose.

Hi Sven - I'm trying to understand what you meant by this.
I'm guessing here - but does the vertical bar have to come at the 
end of the script name ?  Not at the end of the command line ?

Or does the sourced file have to limnit itself to mutt commands?
(I assume from the .sh ending of Ryan's files that the files being
sourced are shell scripts)

Or should Ryan be trying a wrapper script to encapsulate the 
logic above ? something like :

source ~/mywrapper!

========== example file "mywapper" =============
#!/bin/sh
~/.mutt/hooks/folder.recip.sh ~/.Mail/lists/
~/.mutt/hooks/folder.recip.sh ~/.Mail/people/
============  end file =====================


Sometimes even reading the manual is not sufficient.  The admirable
terseness of UNIX/Linux documentation sometimes cause gaps in
understanding which are not apparent to those who are already familiar
with the topics being examined.  I believe this is one of those times.

(I still prefer this to the "step by step robot" instructions that 
are frequently passed off as documentation by some publishers.)
("click this, now click that, select from a list. etc... ")

> 
> > Anything I can do to avoid this?
> 
> rtfm?!

Which part of the manual would explain this please ?

I'm asking because I grepped the manual and I can't find anything about
how sourcing a file would cause screen flashes.  The only other thing
I can think of would be that a command in Ryan's scripts somehow invoke
the clear/redraw screen function (^L) in mutt.


-- 
           ( Memoriam )
============;===========;============()
            # # # #::::::
            # # # #::::::
            # # # #::::::
            # # # #::::::
            # # # # # # #
            # # # # # # #
            # # # # # # #
            # # # # # # #
            # # # # # # #
            # # # # # # #

For all the victims from over one hundred 
countries who died one year ago today.

Reply via email to