nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] signals: upon a crash, save changed buffers and


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] signals: upon a crash, save changed buffers and reset terminal state
Date: Sun, 6 May 2018 17:12:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Op 30-04-18 om 17:23 schreef Benno Schulenberg:
> From: Devin Hussey <address@hidden>
> 
> Upon a segmentation fault or an abort signal, instead of crashing,
> losing all changes, and leaving the terminal in curses mode, nano
> now calls die(), to save any changed buffers and to restore the
> terminal to a usable state.

Pushed to master, commit e889c28a.  Thanks.

This has the disadvantage, though, that distros that automatically
catch a backtrace from a crash, can't get any.  To make this again
possible if the user wants it, I propose inserting a check for an
environment variable, NANO_NOCATCH.  See the upcoming patch.

Suggestions for a better name and other comments are welcome.

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]