(fwd) ncurses vs slang
Andrew V. Samoilov
kai at cmail.ru
Wed Oct 23 09:42:17 UTC 2002
Hi!
These mails from mutt-dev at dbnet.net can be related to
ncurses 5.2 turns off keypad under heavy load on xterm. Check if
anything can be done about it.
See last mail in link and thanks to Andrew W. Nosenko for
sending these mails to me.
----- Forwarded message from "Andrew W. Nosenko" <awn at bcs.zp.ua> -----
X-UIDL: 3d93f11800000003
X-Mozilla-Status: 0001
X-Mozilla-Status2: 10000000
Date: Thu, 26 Sep 2002 19:01:14 +0300
From: "Andrew W. Nosenko" <awn at bcs.zp.ua>
To: sav at bcs.zp.ua
Subject: (fwd) ncurses vs slang
User-Agent: Mutt/1.5.1i
--
Andrew W. Nosenko (awn at bcs.zp.ua)
Delivered-To: mutt-dev at ns.gbnet.net
Date: Wed, 18 Sep 2002 20:07:24 -0700
From: Burton Samograd <kruhft at kruhft.dyndns.org>
To: mutt-dev at gbnet.net
Subject: ncurses vs slang
Mail-Followup-To: mutt-dev at gbnet.net
X-GPG-key: http://kruhftwerk.dyndns.org/kruhft.pubkey.asc
X-Operating-System: Linux kruhft.dyndns.org 2.4.19-gentoo-r7
User-Agent: Mutt/1.5.1i
Precedence: bulk
List-Unsubscribe: <mailto:mutt-dev-request at mutt.org?body=unsubscribe>
Hi all,
I was just wondering if there was any advantage to using slang over
ncurses.
burton
Delivered-To: mutt-dev at ns.gbnet.net
Date: Thu, 19 Sep 2002 05:14:36 -0400 (EDT)
From: "Thomas E. Dickey" <dickey at herndon4.his.com>
Reply-To: <dickey at herndon4.his.com>
To: Burton Samograd <kruhft at kruhft.dyndns.org>
cc: <mutt-dev at gbnet.net>
Subject: Re: ncurses vs slang
In-Reply-To: <20020919030724.GA5495 at kruhft.dyndns.org>
Precedence: bulk
List-Unsubscribe: <mailto:mutt-dev-request at mutt.org?body=unsubscribe>
On Wed, 18 Sep 2002, Burton Samograd wrote:
> Hi all,
>
> I was just wondering if there was any advantage to using slang over
> ncurses.
no one's pointed out any (none that count)
--
T.E.Dickey <dickey at herndon4.his.com>
http://invisible-island.net
ftp://invisible-island.net
Delivered-To: mutt-dev at ns.gbnet.net
Date: Thu, 19 Sep 2002 19:07:41 +0200
From: Sven Guckes <guckes at math.fu-berlin.de>
To: mutt-dev at gbnet.net
Subject: Re: ncurses vs slang
Mail-Followup-To: mutt-dev at gbnet.net
In-Reply-To: <20020919030724.GA5495 at kruhft.dyndns.org>
User-Agent: Mutt/1.4i
X-Envelope-Sender: guckes at math.fu-berlin.de
X-Virus-Scanned: by AMaViS 0.3.12pre7-U7 [3681] (NAI-uvscan at math.fu-berlin.de)
X-Remote-IP: 160.45.41.21
Precedence: bulk
List-Unsubscribe: <mailto:mutt-dev-request at mutt.org?body=unsubscribe>
* Burton Samograd <kruhft at kruhft.dyndns.org> [2002-09-19 03:07]:
> I was just wondering if there was any
> advantage to using slang over ncurses.
"slang" is shorter than "ncurses" -
but you have to add "--with-slang"
when configuring mutt for compilation.
so....
Sven [well, he asked, right?]
Delivered-To: mutt-dev at ns.gbnet.net
Date: Thu, 19 Sep 2002 13:16:49 -0400 (EDT)
From: "Thomas E. Dickey" <dickey at herndon4.his.com>
Reply-To: <dickey at herndon4.his.com>
To: Sven Guckes <guckes at math.fu-berlin.de>
cc: <mutt-dev at gbnet.net>
Subject: Re: ncurses vs slang
In-Reply-To: <20020919170741.GR9959 at ritz.math.fu-berlin.de>
Precedence: bulk
List-Unsubscribe: <mailto:mutt-dev-request at mutt.org?body=unsubscribe>
On Thu, 19 Sep 2002, Sven Guckes wrote:
> * Burton Samograd <kruhft at kruhft.dyndns.org> [2002-09-19 03:07]:
> > I was just wondering if there was any
> > advantage to using slang over ncurses.
>
> "slang" is shorter than "ncurses" -
ncurses
hmm (yes - but the library is bigger, last time I looked)
> but you have to add "--with-slang"
> when configuring mutt for compilation.
> so....
>
> Sven [well, he asked, right?]
>
--
T.E.Dickey <dickey at herndon4.his.com>
http://invisible-island.net
ftp://invisible-island.net
Delivered-To: mutt-dev at ns.gbnet.net
Date: Mon, 23 Sep 2002 13:58:50 +0300
From: Jussi Ekholm <ekhowl at goa-head.org>
To: mutt-dev at gbnet.net
Subject: Re: ncurses vs slang
Mail-Followup-To: mutt-dev at gbnet.net
In-Reply-To: <20020919170741.GR9959 at ritz.math.fu-berlin.de>
X-Editor: Vim 6.1.174 (CVS) - http://www.vim.org/
X-Operating-System: Linux 2.4.18
X-PGP-Key: http://erppimaa.ihku.org/~ekhowl/pubkey.asc
X-URL: http://erppimaa.ihku.org/
User-Agent: Mutt/1.5.1i
Precedence: bulk
List-Unsubscribe: <mailto:mutt-dev-request at mutt.org?body=unsubscribe>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sven Guckes <guckes at math.fu-berlin.de> wrote:
> * Burton Samograd <kruhft at kruhft.dyndns.org> [2002-09-19 03:07]:
>> I was just wondering if there was any
>> advantage to using slang over ncurses.
>
> "slang" is shorter than "ncurses" - but you have to add
> "--with-slang" when configuring mutt for compilation. so....
You have been getting worse and worse lately, Sven -- are you perhaps
getting [too] old or something...? :-)
- --
Jussi Ekholm <ekhowl at goa-head.org> | <http://erppimaa.ihku.org/> | <0x1410081E>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9jvPqAtEARxQQCB4RAv9+AJ9eyQvD4pHXfDfB3AJ8CGekaysyqgCg0Sl4
zDoCe74jxyL7JJh29juZEzM=
=P+cP
-----END PGP SIGNATURE-----
Delivered-To: mutt-dev at ns.gbnet.net
Date: Mon, 23 Sep 2002 20:54:40 +0200 (CEST)
From: Alain Bench <veronatif at free.fr>
To: Mutt dev ml <mutt-dev at mutt.org>
Subject: Re: ncurses vs slang
Mail-Followup-To: Mutt dev ml <mutt-dev at mutt.org>
In-Reply-To: <20020919030724.GA5495 at kruhft.dyndns.org>
User-Agent: Mutt/1.4i
Precedence: bulk
List-Unsubscribe: <mailto:mutt-dev-request at mutt.org?body=unsubscribe>
Hello Burton,
On Wednesday, September 18, 2002 at 8:07:24 PM -0700, Burton Samograd wrote:
> To: mutt-dev at gbnet.net
> Mail-Followup-To: mutt-dev at gbnet.net
Better use the list's prefered address: mutt-dev at mutt.org
> I was just wondering if there was any advantage to using slang over
> ncurses.
I haven't precise timings, but I once noticed Slang was generally
a little bit faster at redraws, scrolling, and such things.
Bye! Alain.
Delivered-To: mutt-dev at ns.gbnet.net
Date: Mon, 23 Sep 2002 18:37:04 -0400
From: Thomas Dickey <dickey at herndon4.his.com>
To: Mutt dev ml <mutt-dev at mutt.org>
Subject: Re: ncurses vs slang
Reply-To: dickey at herndon4.his.com
Mail-Followup-To: Thomas Dickey <dickey at herndon4.his.com>,
Mutt dev ml <mutt-dev at mutt.org>
In-Reply-To: <20020923185439.GA3404 at free.fr>
User-Agent: Mutt/1.3.27i
Precedence: bulk
List-Unsubscribe: <mailto:mutt-dev-request at mutt.org?body=unsubscribe>
On Mon, Sep 23, 2002 at 08:54:40PM +0200, Alain Bench wrote:
> Hello Burton,
>
> On Wednesday, September 18, 2002 at 8:07:24 PM -0700, Burton Samograd wrote:
>
> > To: mutt-dev at gbnet.net
> > Mail-Followup-To: mutt-dev at gbnet.net
>
> Better use the list's prefered address: mutt-dev at mutt.org
>
>
> > I was just wondering if there was any advantage to using slang over
> > ncurses.
>
> I haven't precise timings, but I once noticed Slang was generally
> a little bit faster at redraws, scrolling, and such things.
most of that was because slang doesn't pay attention to the padding specified
in the vt100 entry (the numbers in <>):
# Reconstructed via infocmp from file: /usr/local/ncurses/lib/terminfo/v/vt100
vt100|vt100-am|dec vt100 (w/advanced video),
am, msgr, xenl, xon,
cols#80, it#8, lines#24, vt#3,
acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>,
clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr,
cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J,
cuf=\E[%p1%dC, cuf1=\E[C$<2>,
cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA,
cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>,
enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq,
ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD,
kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy,
kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt,
kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8,
rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l,
rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>,
rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7,
sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>,
sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=,
smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g,
See NCURSES_NO_PADDING in the ncurses manpage...
--
Thomas E. Dickey <dickey at invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
----- End forwarded message -----
More information about the mc-devel
mailing list