Package: wyrd
Version: 1.4.4-1
Followup-For: Bug #491834

Personally, I'm bitten by this assertion quite often (few times a day),
which I can partly attribute to running a tiled window manager: tiling
window managers tend to resize windows much more often and more
aggresivethen 'traditional' window managers, thus often exposing bugs in
the handling of terminal resizing in applications (or even in the linux
kernel pty driver!)

According to the previous reply, the reported assertion is due to wyrd
requiring a terminal of at least 80x23 chars. I don't happen to speak
fluent caml, but after browsing through the source and changing the
required width and height checks to a smaller size in interface_main.c,
I was able to run wyrd on a smaller terminal then 80x23 without
problems.

For me it seems that the given assertion occurs when wyrd is no longer
able to fit all components on the screen: as soon as the terminal is too
small to draw both the timed reminders and the calendar, the reported
assertions will trigger. Thus, the size 80x23 seems arbitrary, since the
exact size depends on the size of the various objects on the screen, and
the value of the user-defined variable 'untimed_window_width' in the
configuration file.

I think the proper fix would be to handle drawing a bit more flexible,
probably allowing parts of the calender to fall outside the screen,
instead of throwing an assertion and aborting the program. 

My current workaround is to run wyrd from a small script that tries to
restart wyrd in a loop when it dies, not charming but is does the job.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages wyrd depends on:
ii  less                      418-1          Pager program similar to more
ii  libc6                     2.7-16         GNU C Library: Shared libraries
ii  libncursesw5              5.7+20090105-1 shared libraries for terminal hand
ii  remind                    03.01.05-2     a sophisticated reminder service

wyrd recommends no packages.

wyrd suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to