NetBSD Problem Report #33916

From gson@araneus.fi  Tue Jul  4 17:53:29 2006
Return-Path: <gson@araneus.fi>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 64B9563B882
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  4 Jul 2006 17:53:29 +0000 (UTC)
Message-Id: <200607041753.k64HrRIi026206@guava.araneus.fi>
Date: Tue, 4 Jul 2006 20:53:27 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Subject: "reset" prints undefined interrupt character badly
X-Send-Pr-Version: 3.95

>Number:         33916
>Category:       pkg
>Synopsis:       ncurses: "reset" prints undefined interrupt character badly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 04 17:55:00 +0000 2006
>Closed-Date:    Mon Oct 09 09:18:56 +0000 2006
>Last-Modified:  Tue Oct 17 06:03:45 +0000 2006
>Originator:     Andreas Gustafsson
>Release:        NetBSD 3.99.21
>Organization:
>Environment:
System: NetBSD guru.araneus.fi 3.99.21 NetBSD 3.99.21 (GENERIC) #0: Tue Jul 4 08:49:35 EEST 2006 gson@guru.araneus.fi:/usr/build/1002/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

When the interrupt character is not set, the "reset" command prints
the message "Interrupt is y", where the "y" is actually the dotted-y
character corresponding to character code 255 in ISO 8859-1.

>How-To-Repeat:

Enter the commands

  stty intr undef
  reset

>Fix:

Not provided.

>Release-Note:

>Audit-Trail:
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Cc: 
Subject: Re: bin/33916: "reset" prints undefined interrupt character badly
Date: Tue, 4 Jul 2006 14:03:04 -0400

 On Jul 4,  5:55pm, gson@gson.org (Andreas Gustafsson) wrote:
 -- Subject: bin/33916: "reset" prints undefined interrupt character badly

 | Enter the commands
 | 
 |   stty intr undef
 |   reset
 | 

 Cannot reproduce it.

 christos

From: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/33916: "reset" prints undefined interrupt character badly
Date: Tue, 4 Jul 2006 22:24:35 +0300

 Christos Zoulas wrote:
 >  Cannot reproduce it.

 Mea culpa - the "reset" in my PATH was /usr/pkg/bin/reset (installed
 as part of the ncurses-5.4nb1 package), not /usr/bin/reset.  I guess
 this PR needs to be moved to category pkg...
 -- 
 Andreas Gustafsson, gson@gson.org

Responsible-Changed-From-To: bin-bug-people->pkgsrc-users
Responsible-Changed-By: jnemeth@netbsd.org
Responsible-Changed-When: Wed, 05 Jul 2006 07:05:09 +0000
Responsible-Changed-Why:
changed to MAINTAINER


Responsible-Changed-From-To: pkgsrc-users->pkg-manager
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Wed, 05 Jul 2006 16:39:30 +0000
Responsible-Changed-Why:
pkgsrc-users is not supposed to own PRs.


From: dholland@eecs.harvard.edu (David Holland)
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/33916: ncurses: "reset" prints undefined interrupt character badly
Date: Sun, 8 Oct 2006 00:31:27 -0400 (EDT)

 here's a patch (tested and everything):

 --- progs/tset.c~	2005-09-24 20:43:52.000000000 -0400
 +++ progs/tset.c	2006-10-08 00:04:55.000000000 -0400
 @@ -1024,7 +1024,9 @@
       * Check 'delete' before 'backspace', since the key_backspace value
       * is ambiguous.
       */
 -    if (newer == 0177)
 +    if (newer == _POSIX_VDISABLE)
 +	(void) fprintf(stderr, "disabled.\n");
 +    else if (newer == 0177)
  	(void) fprintf(stderr, "delete.\n");
      else if ((p = key_backspace) != 0
  	     && newer == (unsigned char) p[0]


 -- 
    - David A. Holland / dholland@eecs.harvard.edu

State-Changed-From-To: open->feedback
State-Changed-By: wiz@netbsd.org
State-Changed-When: Sun, 08 Oct 2006 17:37:00 +0000
State-Changed-Why:
Committed a patch for this (ncurses-5.5nb1) -- ok to close?


State-Changed-From-To: feedback->closed
State-Changed-By: gson@netbsd.org
State-Changed-When: Mon, 09 Oct 2006 09:18:56 +0000
State-Changed-Why:
Fix verified.


From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33916 CVS commit: pkgsrc/devel/ncurses
Date: Sun,  8 Oct 2006 17:16:59 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Sun Oct  8 17:16:59 UTC 2006

 Modified Files:
 	pkgsrc/devel/ncurses: Makefile distinfo
 Added Files:
 	pkgsrc/devel/ncurses/patches: patch-ae

 Log Message:
 Add patch addressing PR 33916, supplied by David Holland.
 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -r1.71 -r1.72 pkgsrc/devel/ncurses/Makefile
 cvs rdiff -r1.13 -r1.14 pkgsrc/devel/ncurses/distinfo
 cvs rdiff -r0 -r1.7 pkgsrc/devel/ncurses/patches/patch-ae

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

>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.