ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] неприятности с rtorrent под screen ( виновен ncurses?)
Date: Thu, 7 Sep 2006 18:59:18 +0400
Message-ID: <20060907145918.GA1764@localhost.localdomain> (raw)
In-Reply-To: <45002A31.3010601@altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]

On Thu, Sep 07, 2006 at 05:18:25PM +0300, Andrei Bulava wrote:
> Alexey Tourbin wrote:
> > On Thu, Sep 07, 2006 at 04:12:26PM +0300, Andrei Bulava wrote:
> >>> Кстати, в этом месте ^a l не помогает?
> >> Нет, не помогает, хотя в rtorrent есть поддержка и ^l (который ^a l в
> >> screen), и SIGWINCH. Всё лечится только откатом ncurses :(
> > 
> > Попробуйте собрать ncurses с редхатовскими патчами (приложено).
> 
> Не осилил. Реально много букв, а времени - в обрез :\

Я осилил.  Если два вот эти куска приложить, то вроде бы нормально
работает.  Правда, какой именно из кусков помагает, я разбираться не
стал.  Прошу кого-нибудь подтвердить или опровергнуть.

--- ncurses-5.5/ncurses/tinfo/lib_termcap.c.tgetent	2006-08-16 16:37:23.000000000 +0200
+++ ncurses-5.5/ncurses/tinfo/lib_termcap.c	2006-08-16 16:38:04.000000000 +0200
@@ -131,6 +135,7 @@
     }
     LAST_TRM = cur_term;
     LAST_SEQ = ++sequence;
+    LAST_BUF = 0;
 
     PC = 0;
     UP = 0;
--- ncurses-5.5/ncurses/tinfo/lib_termcap.c.tgetstr	2006-08-30 14:53:02.000000000 +0200
+++ ncurses-5.5/ncurses/tinfo/lib_termcap.c	2006-08-30 14:55:09.000000000 +0200
@@ -263,6 +268,7 @@
 		    if (area != 0
 			&& *area != 0) {
 			(void) strcpy(*area, result);
+			result = *area;
 			*area += strlen(*area) + 1;
 		    }
 		}

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-09-07 14:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-07 12:50 Andrei Bulava
2006-09-07 12:59 ` Alexey Tourbin
2006-09-07 13:06 ` Alexey Tourbin
2006-09-07 13:12   ` Andrei Bulava
2006-09-07 13:28     ` [devel] screen too Sergey Bolshakov
2006-09-07 13:31       ` Andrei Bulava
2006-09-07 13:46       ` Alexey Tourbin
2006-09-07 13:34     ` [devel] неприятности с rtorrent под screen ( виновен ncurses?) Alexey Tourbin
2006-09-07 14:18       ` Andrei Bulava
2006-09-07 14:59         ` Alexey Tourbin [this message]
2006-09-07 15:16           ` Stanislav Ievlev
2006-09-07 17:35             ` Alexey Tourbin
2006-09-08 12:43               ` Stanislav Ievlev
2006-09-07 15:55           ` Andrei Bulava
2006-09-07 16:04             ` [devel] ncurses: ack Sergey Bolshakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060907145918.GA1764@localhost.localdomain \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git