Subject: Re: bin/34717: [dM] top demands termcap entry with li#
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 10/06/2006 14:20:02
The following reply was made to PR bin/34717; it has been noted by GNATS.

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, mouse@Rodents.Montreal.QC.CA
Cc: 
Subject: Re: bin/34717: [dM] top demands termcap entry with li#
Date: Fri, 6 Oct 2006 10:15:20 -0400

 On Oct 5,  9:50pm, mouse@Rodents.Montreal.QC.CA (der Mouse) wrote:
 -- Subject: Re: bin/34717: [dM] top demands termcap entry with li#
 
 | 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.
 
 Someone called tgoto with a NULL cursor motion string.
 
 christos