Re: Announce: YIN 1.3 update (OS/2 and DOS)

Phil Crown (pcrown@airmail.net)
Mon, 18 Nov 1996 19:49:32 -0600

>>YIN is a "Yarn INbox/folder Checker". It is a quick way to check your
>>inbox (or any other folder) and see how many messages are in there.
>>Yin has many other options. It will tally each type of message, display
>>simplified headers (of just new messages, or all messages), or even page
>>entire messages to the screen.
>>
>>Available via WWW at: http://www.io.org/~tm/bells2.html#yin
>>Or just the file is at: http://www.io.org/~tm/files/yin13.zip
>
>Thank You! A niffty little util. Not sure how I'm going to use it,
>but I like it!
>
>I've often wished that Yarn would list something similar on the main
>screen - "You have new mail" is ok, but some more info would be
>nice.
>
>Thanks for all the work.
>Brett

I run Yin in the same .cmd file I use to run Yarn, this way I can see
which areas have new mail before loading Yarn. Some areas I don't care
if I have new mail (save, sent, etc...), so I use REXX to select only
areas I'm those I'm interested in.

Here's part of my yarn.cmd file that loads Yarn.

homedir = value('HOME',,'OS2ENVIRONMENT')
if homedir == '' then do
say 'HOME environment variable not found.'
exit 1
end
call SysFileTree homedir'\mail\*', 'file', 'f'
if file.0 \= 0 then do
do i = 1 to file.0
file.i = substr(file.i, 38)
if pos("Ia" , file.i) > 0 &&,
pos("Os2" , file.i) > 0 &&,
pos("Save" , file.i) > 0 &&,
pos("Sent" , file.i) > 0,
then iterate
/* say filespec('name', file.i)*/
'yin' filespec('name',file.i)
end
end
say 'paused...' ; call SysGetKey 'noecho'

...

yarn.exe

...

-- 
Phil Crown
pcrown@airmail.net
http://web2.airmail.net/pcrown/