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: Eitan Adler
Subject: Re: [Nano-devel] [PATCH] signals: upon a crash, save changed buffers and reset terminal state
Date: Sun, 6 May 2018 17:21:45 -0700

On 6 May 2018 at 08:12, Benno Schulenberg <address@hidden> wrote:
>
> 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.

Rust uses RUST_BACKTRACE as does RAKUDO_BACKTRACE and several others.

-- 
Eitan Adler



reply via email to

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