Re: renaming temporary files

2011-02-18 Thread Paul Hoffman
On Sat, Feb 19, 2011 at 12:54:20AM +0100, Pau wrote: > Hi Paul, > > thanks! > > I have currently set this to > > set editor="vim +/^$ ++1 +start +nohlsearch" > > So I guess this would go into > > ${editor:-vi} $file > > But how? Instead of this: exec ${editor:-vi} $file Use this: exec vim

Re: renaming temporary files

2011-02-18 Thread Pau
Hi Paul, thanks! I have currently set this to set editor="vim +/^$ ++1 +start +nohlsearch" So I guess this would go into ${editor:-vi} $file But how? In any case, thanks a lot. You too, Ed. Cheers. On 18 February 2011 23:13, Paul Hoffman wrote: > On Fri, Feb 18, 2011 at 08:41:18PM +0100,

Re: renaming temporary files

2011-02-18 Thread Ed Blackman
} } close($fh); } else { print STDERR "Couldn't read $file: $!\n"; } } That produces: $ listMuttTemp /tmp/mutt-* /tmp/mutt-loghyr-1237-5892-3031e76d5f93d2eeb87: Subject: Re: renaming temporary files 02/18/2011 05:27:35 PM -- Ed Blackman signature.txt Description: Digital signature

Re: renaming temporary files

2011-02-18 Thread Paul Hoffman
On Fri, Feb 18, 2011 at 08:41:18PM +0100, Pau wrote: > sorry... I am totally lost... how am I supposed to do this with > edit_headers??? > > I can write scripts, but could you please give me an example of what I > have to add to muttrc in the headers to call a script that will link > that tempora

Re: renaming temporary files

2011-02-18 Thread Pau
sorry... I am totally lost... how am I supposed to do this with edit_headers??? I can write scripts, but could you please give me an example of what I have to add to muttrc in the headers to call a script that will link that temporary file (what's the syntax for it) with the script?? thanks and a

Re: renaming temporary files

2011-02-18 Thread Richard
On Fri, Feb 18, 2011 at 02:58:49AM +0100, Pau wrote: > Hi, > > thanks for the answer... unfortunately I have a precompiled binary. Do > I really have to change the source for that? I guess so... the change > is not trivial you could define editor to call a wrapper script which would evaluate the

Re: renaming temporary files

2011-02-17 Thread Pau
Hi, thanks for the answer... unfortunately I have a precompiled binary. Do I really have to change the source for that? I guess so... the change is not trivial Thanks On 18 February 2011 00:10, Monte Stevens wrote: > On Thu, Feb 17, 2011 at 07:01:30PM -0400, Monte Stevens wrote: >> On Thu, Feb

Re: renaming temporary files

2011-02-17 Thread Monte Stevens
On Thu, Feb 17, 2011 at 07:01:30PM -0400, Monte Stevens wrote: > On Thu, Feb 17, 2011 at 04:48:16PM +0100, Pau wrote: > > Hello, > > > > I have vi as my editor for composing new emails. Sometimes the > > connection breaks and then I have to dig into the tmp directory where > > the file was created

Re: renaming temporary files

2011-02-17 Thread Monte Stevens
On Thu, Feb 17, 2011 at 04:48:16PM +0100, Pau wrote: > Hello, > > I have vi as my editor for composing new emails. Sometimes the > connection breaks and then I have to dig into the tmp directory where > the file was created. These files are named like > > mutt-deukalion-500-10049-7754967799337495

Re: renaming temporary files

2011-02-17 Thread David Haguenauer
Hi Pau, * Pau , 2011-02-17 16:48:16 Thu: > Sometimes the connection breaks and then I have to dig into the tmp > directory where the file was created. You can probably work around this problem by running mutt from within screen. Then you only need reattach to your screen session when your connect

renaming temporary files

2011-02-17 Thread Pau
Hello, I have vi as my editor for composing new emails. Sometimes the connection breaks and then I have to dig into the tmp directory where the file was created. These files are named like mutt-deukalion-500-10049-775496779933749571 with "deukalion" the hostname. I would like to see whether the