From owner-freebsd-arch@freebsd.org Wed Nov 22 17:35:44 2017 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86172DF0B5E; Wed, 22 Nov 2017 17:35:44 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FE572B8D; Wed, 22 Nov 2017 17:35:44 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id vAMHZbHW054584 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 22 Nov 2017 09:35:37 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id vAMHZbkC054583; Wed, 22 Nov 2017 09:35:37 -0800 (PST) (envelope-from sgk) Date: Wed, 22 Nov 2017 09:35:37 -0800 From: Steve Kargl To: Benno Rice Cc: freebsd-arch@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: The future of fortune(6) Message-ID: <20171122173537.GA54395@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <66D39828-ADBA-4973-BEB8-B2F6657E9996@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <66D39828-ADBA-4973-BEB8-B2F6657E9996@FreeBSD.org> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2017 17:35:44 -0000 On Wed, Nov 22, 2017 at 08:29:46AM -0800, Benno Rice wrote: > > With the removal of the fortune datfiles I think it’s time to > have a discussion about fortune(6). There should have been a discussion before the removal, but your method prevented an inevitable bikeshed. > fortune now defaults to using a fortune file that no longer exists: When functionality is removed from src, a port is usually created. The datfiles should be available from ports/games/bsd-fortune. > $ fortune > No fortunes found in /usr/share/games/fortune:/usr/local/share/games/fortune. > > fortune is still used in the default .login/.profile to show entries > from the still existing freebsd-tips: > > $ grep fortune /usr/share/skel/* > /usr/share/skel/dot.login:if ( -x /usr/bin/fortune ) /usr/bin/fortune freebsd-tips > /usr/share/skel/dot.profile:if [ -x /usr/bin/fortune ] ; then /usr/bin/fortune freebsd-tips ; fi > $ fortune freebsd-tips > If you need a reminder to leave your terminal, type "leave +hhmm" where > "hhmm" represents in how many hours and minutes you need to leave. > -- Dru > > fortune also still has flags for showing offensive entries and the like. > What is offensive to one person may not offend another person. What if someone objects to quotes by Dru (sorry Dru looks like you got picked at random above). The above looks like an attack on people with memory loss issues (age discrimination?). Will you remove Dru's quotes? > I would like people’s opinion on which of the following two paths we > should take: > > 1) Complete removal of fortune and freebsd-tips, remove its usage from > the default .login/.profile files. Create ports/games/bsd-fortune. > 2) Reworking fortune(6) to remove the offensive fortune flag and > make freebsd-tips the default, possibly by symlinking it as > /usr/share/games/fortune/fortunes. 3) Restore the datfiles. Add a WITHOUT_FORTUNE knob and set it as the default. This allows an individual to tailor her system to meet her needs without having others force a politically correct revisionist history on them. This will be my one and only post in this bikeshed. Given the sudden removal of the datfiles without discussion. This appears to be a perfunctory discussion prior to you pursuing your own choice. -- Steve