NetBSD Problem Report #46366

From hf@spg.tu-darmstadt.de  Tue Apr 24 13:54:06 2012
Return-Path: <hf@spg.tu-darmstadt.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id EFC6263C4B1
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 24 Apr 2012 13:54:05 +0000 (UTC)
Message-Id: <201204241354.q3ODsHAt017090@Gstoder.nt.e-technik.tu-darmstadt.de>
Date: Tue, 24 Apr 2012 15:54:17 +0200 (CEST)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@gnats.NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: netbsd-6 curses breaks xemacs
X-Send-Pr-Version: 3.95

>Number:         46366
>Category:       pkg
>Synopsis:       netbsd-6 curses breaks xemacs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 24 13:55:00 +0000 2012
>Closed-Date:    Wed Apr 25 11:57:08 +0000 2012
>Last-Modified:  Wed Apr 25 11:57:08 +0000 2012
>Originator:     Hauke Fath
>Release:        NetBSD 6.0_BETA
>Organization:
TU Darmstadt
>Environment:


System: NetBSD Gstoder 6.0_BETA NetBSD 6.0_BETA (MONOLITHIC) #0: Thu Apr 5 14:00:58 CEST 2012 hf@Hochstuhl:/var/obj/netbsd-builds/6/i386/sys/arch/i386/compile/MONOLITHIC i386
Architecture: i386
Machine: i386
>Description:

	On netbsd-6, XEmacs 21.4.22 (editors/xemacs package) comes up
	in terminal mode (xemacs -nw') with an offset, see
	<http://la.causeuse.org/hauke/NetBSD/xemacs-netbsd6.xwd.bz2>
	- display with xwud(1).

	Before netbsd-6, XEmacs worked just fine on NetBSD.

>How-To-Repeat:

	Build editors/xemacs on netbsd-6 (or current), run 'xemacs -nw'.

>Fix:
	As a workaround, depending the package on ncurses helps. But
	NetBSD curses has always been good enough for XEmacs, and it
	wasn't XEmacs that changed.

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: lib/46366: netbsd-6 curses breaks xemacs
Date: Tue, 24 Apr 2012 16:21:59 +0000

 On Tue, Apr 24, 2012 at 01:55:00PM +0000, Hauke Fath wrote:
  > 	On netbsd-6, XEmacs 21.4.22 (editors/xemacs package) comes up
  > 	in terminal mode (xemacs -nw') with an offset, see
  > 	<http://la.causeuse.org/hauke/NetBSD/xemacs-netbsd6.xwd.bz2>
  > 	- display with xwud(1).
  > 
  > 	Before netbsd-6, XEmacs worked just fine on NetBSD.

 This is a known issue with emacs and terminfo vs. termcap, but I can't
 remember what causes it or what the fix is.

 I believe you need to tell emacs at configure time that it's using
 terminfo, and then it'll behave.

 -- 
 David A. Holland
 dholland@netbsd.org

From: "Hauke Fath" <hauke@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/46366 CVS commit: pkgsrc/editors/xemacs
Date: Wed, 25 Apr 2012 11:56:43 +0000

 Module Name:	pkgsrc
 Committed By:	hauke
 Date:		Wed Apr 25 11:56:43 UTC 2012

 Modified Files:
 	pkgsrc/editors/xemacs: Makefile

 Log Message:
 Like emacs21, #define TERMINFO for NetBSD >= 6.

 Fixes PR lib/46366 - thanks to dholland for the hint.


 To generate a diff of this commit:
 cvs rdiff -u -r1.101 -r1.102 pkgsrc/editors/xemacs/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: lib-bug-people->pkg-bug-people
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Wed, 25 Apr 2012 11:57:08 +0000
Responsible-Changed-Why:
This one is really the xemacs pkg's problem.


State-Changed-From-To: open->closed
State-Changed-By: hauke@NetBSD.org
State-Changed-When: Wed, 25 Apr 2012 11:57:08 +0000
State-Changed-Why:
I just committed a fix.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.