Re: macro to step thru mailboxes

1999-05-13 Thread Stefan `Sec` Zehl
On Wed, May 12, 1999 at 08:59:17AM -0400, David Thorburn-Gundlach wrote: > % #!/bin/sh > % echo j>>$HOME/.jay > % cat $HOME/.jay| tr -d \\012 > > Couldn't you simply > > #!/bin/sh > echo -n j >> $HOME/.jay > > and be done with it? no, mutt needs an \n at the end. And If i start playing a

Re: macro to step thru mailboxes

1999-05-13 Thread lang
On Wed, May 12, 1999 at 08:59:17AM -0400, David Thorburn-Gundlach wrote: > ...and then Stefan `Sec` Zehl said... > % > % #!/bin/sh > % echo j>>$HOME/.jay > % cat $HOME/.jay| tr -d \\012 > Couldn't you simply > #!/bin/sh > echo -n j >> $HOME/.jay I found indeed having this in .typescript

Re: macro to step thru mailboxes

1999-05-12 Thread David Thorburn-Gundlach
Warning Could not process message with given Content-Type: multipart/signed; boundary=+QahgC5+KEYLbs62; micalg=pgp-sha1;protocol="application/pgp-signature"

Re: macro to step thru mailboxes

1999-05-12 Thread lang
I asked about stepping through indexes with a single key stroke. On Wed, May 12, 1999 at 05:00:33AM +0200, Stefan `Sec` Zehl wrote: > macro index I ':macro index \cXI "c=\t\t`$HOME/.jayscript`"'\n\cXI > which works for me. This works for me too. Thanks. It would have taken me a couple of years

Re: macro to step thru mailboxes

1999-05-12 Thread Stefan `Sec` Zehl
On Wed, May 12, 1999 at 09:13:11AM +0800, [EMAIL PROTECTED] wrote: > Stefan `Sec` Zehl <[EMAIL PROTECTED]> > suggested: > > > macro index I "c=`echo -n j>>$HOME/.jay;cat $HOME/.jay`" > > This does not seem to be incrementing in .jay. I think probably > these shell commands are only executed wh

Re: macro to step thru mailboxes

1999-05-11 Thread lang
On Thu, May 06, 1999 at 10:13:48PM +0800, I wrote: > I want to be able to step through the indexes of each of my > mailboxes in order with a series of single keystrokes. For > example, after viewing the index for one mailbox, instead of > pressing c=j, I just want to press I. > I need to kno

Re: macro to step thru mailboxes

1999-05-07 Thread Stefan `Sec` Zehl
On Thu, May 06, 1999 at 10:13:48PM +0800, [EMAIL PROTECTED] wrote: > What I did was try this macro: > macro index I "c=`JAY=j$JAY ; echo $JAY`" > I exported JAY through all my initialization files for my login > and inter/active shells, but it still doesn't work. I think this won't work becaus

Re: macro to step thru mailboxes

1999-05-07 Thread David Thorburn-Gundlach
Greg -- 1) Only 25 mailboxes? No problem! ;-) 2) Try something like JAY=`eval j$JAY` ; echo $JAY or similar; eval(1) lets you set a value here that is manipulated in a subshell or such. HTH :-D -- David Thorburn-Gundlach * It's easier to fight for one's principles (play) [E

macro to step thru mailboxes

1999-05-07 Thread lang
I want to be able to step through the indexes of each of my mailboxes in order with a series of single keystrokes. So for example, from viewing the index for one mailbox, instead of pressing c=j (or however many j's it is down to the next mailbox), I just want to press I, and through iterating