Subject: Re: bin/34717: [dM] top demands termcap entry with li#
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 10/05/2006 21:50:02
The following reply was made to PR bin/34717; it has been noted by GNATS.

From: der Mouse <mouse@Rodents.Montreal.QC.CA>
To: gnats-bugs@NetBSD.org, Alan Barrett <apb@cequrux.com>
Cc: 
Subject: Re: bin/34717: [dM] top demands termcap entry with li#
Date: Thu, 5 Oct 2006 17:42:16 -0400 (EDT)

 > Please try the attached patch, which tries to get the size from ioctl
 > TIOCGWINSZ or similar before falling back to the size from termcap.
 
 Seems to work as far as basic display goes, though when I type q to
 exit the resulting binary, rather than the cursor going to the lower
 left and getting my prompt, it prints "no fmt" where it was on the
 sixth line of the screen and then gives me my prompt (still on the
 sixth line of the screen).
 
 I haven't investigated enough to know why this is.  Perhaps during the
 bugathon.
 
 /~\ The ASCII				der Mouse
 \ / Ribbon Campaign
  X  Against HTML	       mouse@rodents.montreal.qc.ca
 / \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B