NetBSD Problem Report #52026

From  Fri Mar  3 18:09:04 2017
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id 31C9F7A1F8
	for <>; Fri,  3 Mar 2017 18:09:04 +0000 (UTC)
Message-Id: <>
Date: Fri,  3 Mar 2017 18:09:03 +0000 (UTC)
Subject: misc/ansiweather: Should honour ~/.ansiweatherrc, like upstream
X-Send-Pr-Version: www-1.0

>Number:         52026
>Category:       pkg
>Synopsis:       misc/ansiweather: Should honour ~/.ansiweatherrc, like upstream
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 03 18:10:00 +0000 2017
>Originator:     Michael-John Turner
>Release:        current
Darwin tesla.xx.yy 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64
Upstream ansiweather allows for a configuration file to exist in the user's home directory. pkgsrc changes this behaviour so that only a system-wide configuration file is read.

The pkgsrc behaviour surprised me. Perhaps a better solution would be to check if the user has a configuration file and use that, otherwise use the system-wide configuration?

1) Create ~/.ansiweatherrc
2) Run ansiweather
3) Configuration file is ignored
See above for a suggestion.

NetBSD Home
NetBSD PR Database Search

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