On Tue, Mar 18, 2008 at 10:02:52PM +0100, Markus Hennecke wrote:
> On Tue, 18 Mar 2008, Simon Kuhnle wrote:
>
>> On Tue, Mar 18, 2008 at 09:38:48AM +0100, Markus Hennecke wrote:
>>> On Sun, 16 Mar 2008, Simon Kuhnle wrote:
>>>
>>>> I don't know if I'm the only one with that problem but net/mcabber
>>>> doesn't resize correctly if I resize my xterm or rxvt. I hit ctrl-L, and
>>>> it refreshes the screen but the size is not correct to the terminal size
>>>> it's in.
>>>>
>>>> I asked on the mcabber MUC and it seems that under Linux this isn't a
>>>> problem.
>>>>
>>>> So is it possible that mcabber uses an ncurses function to resize that
>>>> OpenBSD doesn't know?
>>>
>>> This is because OpenBSDs ncurses is compiled without SIGWINCH support.
>>> See src/lib/libcurses/ncurses_cfg.h, the commented define for USE_SIGWINCH.
>>> mcabber relies on the curses implementation to inject a KEY_RESIZE into the
>>> key buffer, this is only done if that curses handles SIGWINCH.
>>
>> Thank you for the explanation, Markus.
>>
>> But why is this the case? Is it insecure? Or does it fail on some
>> platforms? I wasn't able to find an answer for this.
>
> Neither did I find an answer, but if you look into the history of the 
> ncurses config file then you will see that it was never enabled.

Can't comment about the rest, but this part does have an answer:
http://marc.info/?t=117682584400072&r=1&w=2


-- 
viq

Reply via email to