patch to make script(1) exit cleanly on reciept of signal

Chris Pressey cpressey at catseye.mine.nu
Sat Mar 27 19:18:30 PST 2004


Subject says it all - patch is available here:

http://catseye.webhop.net/DragonFlyBSD/patch/script.diff

This basically means that, if you are running script(1) and you type
'killall script' in another terminal, or otherwise kill the script
process in a non-drastic way, the typescript file will be flushed, and
the script program's controlling terminal will be reset to the usual
non-raw state.

I'm open to further suggestions on how to improve script(1)'s behaviour
in these circumstances; in their absence I'll give it three days.

-Chris





More information about the Submit mailing list