bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] Refresh readline notion of terminal size


From: frederik
Subject: Re: [Bug-readline] Refresh readline notion of terminal size
Date: Thu, 14 Jul 2016 12:22:11 -0700
User-agent: Mutt/1.6.1 (2016-04-27)

> I understand your position regarding signal handling but many repls

I actually still don't understand Chet's position regarding signal
handling, FWIW.

I don't understand what's gained by having all Readline clients
re-implement signal-handling code that's already in Readline. I don't
understand why it's supposed to be safer to have Readline not handle
signals some times, when at other times it does handle signals (in the
same program).

Shrug,

Frederick

On Thu, Jul 14, 2016 at 04:00:27PM -0300, Carlos Pita wrote:
> Hi Chet,
> 
> regarding the problem with signal handling and apps not informing rl
> about terminal resize events, is it possible somehow to bind a key to
> ask rl "Please update yourself", just as a workaround? I managed to do
> something like that for python using the ffi, but there are to
> limitations:
> 
> 1. It won't work in general.
> 2. It's not really a keybinding but a function I explicitly call (I
> could have used the ffi to set a signal handler, though).
> 
> I understand your position regarding signal handling but many repls
> have not been updated to take rl changes into account and since at
> least one year it has became a PITA to work in repls with resizable
> windows.
> 
> Thank you in advance
> 
> Cheers
> --
> Carlos
> 
> _______________________________________________
> Bug-readline mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-readline
> 



reply via email to

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