

Debian bug report logs - #880
Yet another screen mangling bug in ncurses

Package: ncurses-developer ; Reported by: iwj10@cus.cam.ac.uk (Ian
Jackson); 36 days old .
-----------------------------------------------------------------------

Message received at debian-bugs:


From pixar.com!bruce Tue May 30 14:36:25 1995
Return-Path: <bruce@pixar.com>
Received: from pixar.com by mongo.pixar.com with smtp
        (Smail3.1.28.1 #15) id m0sGYxd-0005z9C; Tue, 30 May 95 14:36 PDT
Received: from mongo.pixar.com by pixar.com with SMTP id AA11048
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Tue, 30 May 1995 
14:35:01 -0700
Received: by mongo.pixar.com (Smail3.1.28.1 #15)
        id m0sGYxb-0005z9C; Tue, 30 May 95 14:36 PDT
Message-Id: <m0sGYxb-0005z9C@mongo.pixar.com>
Date: Tue, 30 May 95 14:36 PDT
From: bruce@pixar.com (Bruce Perens)
To: debian-bugs@pixar.com
Subject: Re: Bug#880 Yet another screen mangling bug in ncurses

From: zmbenhal@netcom.com
>Date: Mon, 15 May 95 02:26 BST
>From: iwj10@cus.cam.ac.uk (Ian Jackson)
>Subject: Yet another screen mangling bug in ncurses
>Version: 1.9.0c-0
>
>The bottom entry in the list becomes corrupted - the first character
>(the asterisk) is printed at the end of the previous line, and
>everything is shifted up.
>
>I think this only happens if the autorepeat is fast enough to get the
>cursor to the bottom of the list without giving ncurses a chance to
>refresh the screen on the way.  It certainly doesn't happen if you
>step down one line at a time.

This will require more time to investigate, but you might want to try
it with 1.9.2.

Zeyd

--
-- Attention Ham Radio Operators: For information on "Linux for Hams", 
read
-- the World Wide Web page http://www.hams.com/perens/LinuxForHams, or 
send
-- an e-mail message containing the word "help" to info@hams.com .
-----------------------------------------------------------------------
Acknowledgement sent to bruce@pixar.com (Bruce Perens) :
Extra info received and forwarded. Full text available.
-----------------------------------------------------------------------
Information forwarded to debian-devel@pixar.com :
Bug#880 ; Package ncurses-developer . Full text available.
-----------------------------------------------------------------------

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Mon May 15 06:18:36 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
        (Smail3.1.28.1 #15) id m0sB02e-0006H0C; Mon, 15 May 95 06:18 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA15511
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 15 May 1995 
06:17:02 -0700
Received: by bootes.cus.cam.ac.uk 
        (Smail-3.1.29.0 #36) id m0sB02D-000C0tC; Mon, 15 May 95 14:18 
BST
Received: by chiark
        id m0sAovB-0000XRZ
        (Debian /\oo/\ Smail3.1.29.1 #29.31); Mon, 15 May 95 02:26 BST
Message-Id: <m0sAovB-0000XRZ.ijackson@nyx.cs.du.edu>
Date: Mon, 15 May 95 02:26 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: Yet another screen mangling bug in ncurses

Package: ncurses-developer
Version: 1.9.0c-0

To reproduce:

* Install both the experimental testing dselect method and Carl's
experimental hard disk &c method.  (A suitable tarfile containing some
files in /usr/local/lib/dpkg methods is below.)

* As root, type
  echo test topt >/var/lib/dpkg/cmethopt

* As root, run dselect in a mono xterm and select option 1 (Setup).

* Press and hold the down arrow key.  (Release after about 2s.)

The bottom entry in the list becomes corrupted - the first character
(the asterisk) is printed at the end of the previous line, and
everything is shifted up.

I think this only happens if the autorepeat is fast enough to get the
cursor to the bottom of the list without giving ncurses a chance to
refresh the screen on the way.  It certainly doesn't happen if you
step down one line at a time.

NB: this tarfile contains non-working copies of Carl's scripts.  Don't
overwrite any working versions you may have !

Ian.

begin 664 methods-to-demonstrate-bug.tar.gz
M'XL(`%>LMB\"`^T::U/;2)*O^%=TC'=M9VW+;RJ00+P$$E\1X&R3%`?)KBR-
ML0I9H])($!]+?OMUSXQD$2!LU7+D]M!4@J69[IY^=\_8D0@,EUNF:[C.V+#]
MLU-CQL(IMX6Q]%`#VLW5U0XL`8VZ^N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("0X"7C<^ED^$MY[40\-\I*.FQR
M,+-28E`\U4D%V)PQ$\]@A3,VAQ+^$=>HEW,4'I<Y%28$U*1DCY_K\=M7F!O8
M?AK8?!KK&E!FOU(A1>B2H*_*,H^CE$8Y!BU8CEQK7A'A&Q@*[(KXUT9`:\F:
M?^MY5YI,-@9_]J"[GOM)JU%ZD78=JD9T-X&4Y&>U:D981*I5_>N4:M7C<JHJ
MF(OE!/(Q!ITQJM6`3>@H:/,+[S0P;88(XLSQJP)K:%5?W]&Q.6GY)&Y!REW$
M%(Y%JG@EB]M3__[G(7[]<7_^[[0:B_O_COS^M]ZJ9_D_R_]9_G^:^5_Y0G^/
M+JQT7I;--Z5EB.]$K=2=Z'68F,#^X>CFO6MR!KV=U%W`<=-/7]+$%V-XVBC'
MC7Y_+WY"B+]/Z?A^_G^(7__<__N?5G-5Y_]F2_7_G6ZCD^7_1_K]3_)M!_0]
ME!*/[3+?F_%ED[J\DM=0.0F^^.;C&X0%((4()C9Y:Q7*K\EF7%]=(0GKOAVW
MWE0'?*9`[]Q-`5W?*;X?RW[8DXUL9",;V<A&-K*1C6QD(QO9R$8VLI&-;&0C
1&]G(1C:>[/@/GJ]C;`!0``#8
`
end
-----------------------------------------------------------------------
Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson) :
New bug report received and forwarded. Full text available.
-----------------------------------------------------------------------
Report forwarded to debian-devel@pixar.com :
Bug#880 ; Package ncurses-developer . Full text available.
-----------------------------------------------------------------------
Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking
mechanism
This page last modified 06:43:02 GMT Wed 21 Jun