NetBSD Problem Report #42144
From ryoh@bonnie.jaist.ac.jp Fri Oct 2 08:23:36 2009
Return-Path: <ryoh@bonnie.jaist.ac.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 39DC363B8B6
for <gnats-bugs@gnats.netbsd.org>; Fri, 2 Oct 2009 08:23:36 +0000 (UTC)
Message-Id: <20091002082316.2A1F213168@bonnie.jaist.ac.jp>
Date: Fri, 2 Oct 2009 17:23:14 +0900 (JST)
From: Ryo HAYASAKA <ryoh@jaist.ac.jp>
Reply-To: ryoh@jaist.ac.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: /usr/bin/vi gives user-unfriendly message when TERM isn't be set
X-Send-Pr-Version: 3.95
>Number: 42144
>Category: bin
>Synopsis: /usr/bin/vi gives user-unfriendly message when TERM isn't be set
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Oct 02 08:25:00 +0000 2009
>Closed-Date: Wed Oct 21 08:25:41 +0000 2009
>Last-Modified: Thu Feb 23 22:30:02 +0000 2012
>Originator: Ryo HAYASAKA
>Release: NetBSD 5.99.19
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 5.99.19 NetBSD 5.99.19 (GENERIC) #0: Tue Sep 29 16:25:27 JST 2009 root@bonnie.jaist.ac.jp:/f/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
$ unset TERM
$ vi
ex/vi: Error: unknown: Invalid argument
Users can't understand what's wrong from the error message.
>How-To-Repeat:
Improve the message.
>Fix:
>Release-Note:
>Audit-Trail:
From: Tobias Nygren <tnn@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/42144 CVS commit: src/dist/nvi/cl
Date: Tue, 20 Oct 2009 16:17:07 +0000
Module Name: src
Committed By: tnn
Date: Tue Oct 20 16:17:07 UTC 2009
Modified Files:
src/dist/nvi/cl: cl_main.c
Log Message:
Print a warning if TERM is not set and stdin is a tty. PR bin/42144.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/dist/nvi/cl/cl_main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Wed, 21 Oct 2009 08:25:41 +0000
State-Changed-Why:
Error message was improved. Thanks!
From: "Jeff Rizzo" <riz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/42144 CVS commit: [netbsd-5] src/dist/nvi/cl
Date: Thu, 23 Feb 2012 22:27:29 +0000
Module Name: src
Committed By: riz
Date: Thu Feb 23 22:27:29 UTC 2012
Modified Files:
src/dist/nvi/cl [netbsd-5]: cl_main.c
Log Message:
Pull up following revision(s) (requested by spz in ticket #1723):
dist/nvi/cl/cl_main.c: revision 1.3
Print a warning if TERM is not set and stdin is a tty. PR bin/42144.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2.6.1 -r1.1.1.2.6.2 src/dist/nvi/cl/cl_main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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.