Re: ontape help needed
Posted in 1998
In article <6ft1fn$h6c$1@nnrp1.dejanews.com>, malc_p@hotmail.com writes
>In article <6fr7lq$qbg$1@usenet85.supernews.com>,
> doctorx@kdsi.net (Paul Cornett) wrote:
>>
>> I am trying to get a script written that will automate ontape. I am running
>> 7.23.uc1. Has anyone written one? If so, can you send me the script
>
>You CAN do it with something like:
>
>echo "\\n"|ontape -s -L 0
>
echo "\\n"|ontape -s -L 0 | head 100
will handle the problem when ontape requests a new tape. It will
write up to 100 lines of output, then realise stdout is closed and
exit. Otherwise it would loop forever asking for a new tape.
>BUT - if your tape drive hangs, or ontape requests another tape, you're in
>schtuck.
>
>Malc
>
>> Thanks
>> Paul Cornett
>> doctorx@kdsi.net
>> Clow Valve Company
>>
>
>
>-----== Posted via Deja News, The Leader in Internet Discussion ==-----
>http://www.dejanews.com/ Now offering spam-free web-based newsreading
--
David Williams
Maintainer of the Informix FAQ
Primary site (Beta Version) http://www.smooth1.demon.co.uk
Official site http://www.iiug.org/techinfo/faq/faq_top.html
I see you standin', Standin' on your own, It's such a lonely place for you, For
you to be If you need a shoulder, Or if you need a friend, I'll be here
standing, Until the bitter end...
So don't chastise me Or think I, I mean you harm...
All I ever wanted Was for you To know that I care