Ok.I'll try to start expressing myself a bit better
.
Firstly, I considered last character '1' in peto.awk to be a typo so I didn't include it. But now as you've comment it, I see I was wrong. So I was asking exactly what you already did - sorry.
However, I'd like to ask one more question. Now, user can view 4 e-mails at once and then he is asked to press ENTER. However you have to press: CTRL+D and ENTER, ENTER(once more)
so it continues with printing out next mails. Is it possible to avoid this?
You helped me a lot and it's much clearer to me now.
Peto