[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[Libevent-users] irssi display bugs since moving std* fds to libevent objects
- To: libevent-users@xxxxxxxx, tmux-cvs@xxxxxxxxxxxxxxxxxxxxx
- Subject: [Libevent-users] irssi display bugs since moving std* fds to libevent objects
- From: Martti KÃhne <mysatyre@xxxxxxxxx>
- Date: Mon, 30 Aug 2010 18:01:13 +0200
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Mon, 30 Aug 2010 12:01:22 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=xdL/yDVgj4UNQ+C+Xl5Mb78RvvPU6KA8B4BG9iJ61dk=; b=KvvDQXLSaL5q2dgAsKE1+q2AkZZfwaYcJ5lFrOR7AX46c46oEswWBMe41adw3geSY/ cuPQ/jzVB/BvqGINyU2AHO9brGbN+NRjS41mMVXNOZxGI27du2LL4Orc2m1PzQYZHPG7 U4OjfPPgaO9A9r9tycNOxUVJRR/FlWs3u2aYk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=A9ZeZ+eRHlC2vEdjF9xkgw6ZptDvrURrIRdoTSPcpcWMZxWhzVecR5YmDh+pZOpDuW f7DR0MZ3yRAIwGmgAvwE0gV6FqO8vXejoC0TqIFYSgwEu7ZPDLNCgvFueVn7Yvkj4aHV jvsto0l+1G+kIXcQN4+wOG9BqEtLC/d8S74bU=
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
Hello lists,
I'm sorry, those quite weren't the answers I was going for, it was
getting late and I was probably getting lazy. I have posted what
you're asking me on #tmux on freenode in almost this complete form and
I want to make this clear to everyone who hasn't been in irc, since I
got some complaints that I wasn't precise enough. As I hopefully
mentioned before, with the bug present, pressing Ctrl+L for redraw
makes display failure much worse and also makes irssi's status bars
disappear.
As of tmux-cvs 20100830 and tmux 1.3 release the bug which was
introduced by the move of stdin, stdout and stderr to libevent objects
did stay inherent. Git bisect
(http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html) has
helped me identify the commit
http://github.com/ThomasAdam/tmux/commit/3b74e93d60da392c46eae6b40391606f73b4db02
as being the first commit where this regression was introduced, thanks
to Thomas Adams for his git mirror. I did know the version I built at
20100721 was fine, since irssi did indeed work like a charm on tmux
until then.
Software versions in use (the -1, -3, -9 are my distro's package releases):
* Distribution: recent Archlinux synchronisation with rxvt-unicode-256color
* Systems tested as well: Archlinux VM with lxterm, Ubuntu Lucid Lynx
VM with gnome-terminal
* tmux-cvs downloaded and built just minutes ago
* libevent-1.4.14b-1 / 1.4.13-stable-1 on ubuntu
* irssi 0.8.15-3 / 0.8.14-1ubuntu4 on ubuntu
Terminal emulators tested:
* rxvt-unicode-256color 9.07-9 TERM=rxvt-256color, inside TERM=screen-256color
* xterm 261-1 TERM=xterm, inside TERM=screen-256color (from tmux.conf)
* lxterm 0.1.7-1 TERM=xterm, inside TERM=screen
* gnome-terminal 2.29.6 TERM=xterm, inside TERM=screen
Screenshots (pretty self-evident, wer're talking about an irc client):
* two on my host machine (rxvt-unicode-256color):
http://img3.imagebanana.com/img/8hueuez1/tmux_1.jpg
http://img3.imagebanana.com/img/xsvp6aza/tmux_2.jpg
* host machine (xterm):
http://img3.imagebanana.com/img/pycvgs22/tmux_6.jpg
* two on my testing vm (lxterm):
http://img3.imagebanana.com/img/9i6gxbwo/tmux_3.jpg
http://img3.imagebanana.com/img/l8w8cs57/tmux_4.jpg
* current tmux-cvs on ubuntu lucid lynx (gnome-terminal):
http://img3.imagebanana.com/img/s5s93i6z/tmux_5.jpg
* expected output / irssi outside tmux (gnome-terminal):
http://img3.imagebanana.com/img/fuptvyv1/tmux_7.jpg
http://img3.imagebanana.com/img/xkrwv0mm/tmux_8.jpg
* tmux -vvvv logs, where I launched irssi and made the bug visible (on ubuntu):
http://paste.xinu.at/Vgxs7/
While creating this log, I found the problem also seems to be related
to the terminal's size, which seemingly needs to be larger than 80x25
to make the bug visible, I recommend testing on a >40 line terminal
window.
kind regards,
mar77i
On Mon, Aug 30, 2010 at 9:50 AM, Nicholas Marriott
<nicholas.marriott@xxxxxxxxx> wrote:
> By this I mean:
>
> - TERM inside and outside tmux?
> - what platform?
> - what libevent version?
> - does it happen in xterm?
> - tmux -vvvv logs?
> - a screenshot before and after would be handy.
>
> This change is not tmux switching to libevent, tmux has been using
> libevent for several versions, this is moving client stdin, stdout and
> stderr to use libevent as well. CVS HEAD fixes several bugs in this code
> so try it first.
>
>
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.