AIX 3.1, script and intr

Vic Abell abe at mace.cc.purdue.edu
Fri Aug 10 23:42:30 AEST 1990


In article <9008100210.AA23730 at mindcrf.mindcraft.com> karish at mindcrf.UUCP writes:
>In article <5289 at mace.cc.purdue.edu> abe at mace.cc.purdue.edu (Vic Abell) writes:
>>Does anyone know how to keep the intr character (^C in my case) from
>>terminating script?
>
>For sh or ksh:
>
>    trap "" 2

I guess I wasn't clear enough in my original posting.  I was not asking how
to protect shell scripts; I was asking how to protect the script(1) program
from terminating when I type an intr character to a program whose output
I am capturing in a file via script(1).



More information about the Comp.unix.aix mailing list