[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] RFC: should nano respond to a SIGCONT?
From: |
David Ramsey |
Subject: |
Re: [Nano-devel] RFC: should nano respond to a SIGCONT? |
Date: |
Thu, 25 May 2017 16:43:13 -0500 |
On Thu, May 25, 2017 at 1:29 PM, Benno Schulenberg
<address@hidden> wrote:
> This doesn't actually do anything, because apparently ttyname is never
> NULL. Putting in some more print statements, it results that after
> receiving a SIGCONT during suspension, nano goes back to sleep in
> endwin(). It seems that endwin() contains code that checks whether
> stdin is connected to anything.
>
> See attached patch for another try.
Also seems to work well.
> This trick won't work under Slang, but there are already several
> things that don't work right with Slang. Support for Slang is really
> only being kept for Jordi, who needs it for tiny nano.
And there are only so many ways to work around the problems in slang's
curses emulation, unfortunately.