Re: Feature request: write out buffer to typescript on SIGTERM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Um, I cloned git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
yesterday, built it, and tested it. If I send it SIGTERM, it prints "Terminated"
and disappears. The typescript file is empty.

Or do you mean something else?

Rob

On 07/28/2015 10:39 AM, Karel Zak wrote:
> On Tue, Jul 28, 2015 at 12:40:48AM +0200, Robert Urban wrote:
>> is there a good reason why script does not flush it's typescript buffer when it
>> gets a signal such as SIGTERM?
> Not sure if you're talking about the current script(1) in git tree
> (it's a new version) or about the original version.
>
> I have improved sensitivity to the SIG{TERM,INT,QUIT}, now it properly
> terminates the session and close the files. Previously it called
> abort() (the version in git).
>
>     Karel
>
>

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux