From owner-freebsd-hackers@freebsd.org Wed Nov 22 16:29:56 2017 Return-Path: Delivered-To: freebsd-hackers@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 52D66DEF4E1; Wed, 22 Nov 2017 16:29:56 +0000 (UTC) (envelope-from benno@FreeBSD.org) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C815801CA; Wed, 22 Nov 2017 16:29:55 +0000 (UTC) (envelope-from benno@FreeBSD.org) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4E55C20A9C; Wed, 22 Nov 2017 11:29:49 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 22 Nov 2017 11:29:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=hshJJs+oYp9H0v9KGFPPQmTULlrfL GcTxfco7Y2O3F0=; b=NFc2N9Iv1RXGQxbIdag5hoIPKy4YUjpEvjnUBkBOXsMcg qlzCbcZKpzJsVS3E7f4dljuV1WHXuGCFYVWuI7Q5CLEfsRpwvLEG07SuOjlFasLN w/NzLy3S9ukN2PwB+tBe6IHEBKMERKsHMOR2/tXPjt3WL9jhQPUV6m7JzdHNM3XF I+u4N4nQjyITJ5Dnby/x15JNVSq8rgQgtAA71VgzlY4LEBrMLQID4EJsefD2Y2Hn WomzRhHXShhaqu+2xWq7T2UMQ1tp6I4n7FSVsgTgK19MJJgS7l3zo6jyrYSIYhpu siDPk85GmtGyKafm7tdptFhUBux5Pw5ifv/oQMX6g== X-ME-Sender: Received: from usxxscottdm1.corp.emc.com (c-71-231-121-16.hsd1.wa.comcast.net [71.231.121.16]) by mail.messagingengine.com (Postfix) with ESMTPA id CBEF17FACA; Wed, 22 Nov 2017 11:29:48 -0500 (EST) From: Benno Rice Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Subject: The future of fortune(6) Message-Id: <66D39828-ADBA-4973-BEB8-B2F6657E9996@FreeBSD.org> Date: Wed, 22 Nov 2017 08:29:46 -0800 To: freebsd-arch@freebsd.org, freebsd-hackers@freebsd.org X-Mailer: Apple Mail (2.3445.4.7) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Nov 2017 16:29:56 -0000 Hello, all! With the removal of the fortune datfiles I think it=E2=80=99s time to = have a discussion about fortune(6). fortune now defaults to using a fortune file that no longer exists: $ 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. I would like people=E2=80=99s 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. 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. Personally I lean towards the first option. Thanks, Benno.=