SVR3.0 vs BSD4.3
Dave Curry
davy at ea.ecn.purdue.edu
Wed Mar 30 07:01:07 AEST 1988
In article <7581 at brl-smoke.ARPA> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
>In article <12690 at brl-adm.ARPA> rbj at icst-cmr.arpa (Root Boy Jim) writes:
>> From: Doug Gwyn <gwyn at brl-smoke.arpa>
>> > "script" for recording terminal session
>> "Script" screws up the application running under it sometimes. It
>> could be implemented almost trivially with STREAMS. Somebody should
>> do so.
>>Interesting. Please elaborate.
>
>Elaborate on what? The screw-up is that certain operations do not
>work right on ptys.
Elaborate on that, please. *Which* operations? I don't claim there aren't
any, but I haven't seen anything screw up in "script" in a long, long time.
>The only thing not working was signal propagation to the
>correct process group, because the Bourne shell doesn't have a way
>to manipulate that. A translation to C would also be only a few
>lines and could solve the signal problem.
That's a pretty big "only". It is nice to know that you can do it in a few
lines, though. Simplification is always good. Note however that "script"
is hardly as short as it could be; I have written a clone of it in about
100 lines of code including variable declarations.
--Dave Curry
Purdue University
Engineering Computer Network
More information about the Comp.unix.wizards
mailing list