From owner-freebsd-hackers@freebsd.org Wed Nov 22 17:44:07 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 75569DF0FE0; Wed, 22 Nov 2017 17:44:07 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 40C8333D8; Wed, 22 Nov 2017 17:44:06 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id HZ40ep0Yxss4THZ41e6ADq; Wed, 22 Nov 2017 10:43:59 -0700 X-Authority-Analysis: v=2.2 cv=JuuBlIwC c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=sC3jslCIGhcA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=xN093wJcAAAA:8 a=kFUlH0OSliqkK97SE7sA:9 a=1D2nN8w8AgeiPhfc:21 a=YQSnSVPCnt1GEjgK:21 a=QEXdDO2ut3YA:10 a=Hx19P-nHnUl7eOIfkkUA:9 a=qvPCYTaMt0conGjw:21 a=sLkkW3aE0IGMRdq0:21 a=K-7mZ4aJO_TMiZrF:21 a=_W_S_7VecoQA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=gKyNpQLTuqoPBOiBd-sG:22 Received: from [10.168.3.117] (S0106d4ca6d8943b0.gv.shawcable.net [24.68.134.59]) by spqr.komquats.com (Postfix) with ESMTPSA id 093811B3; Wed, 22 Nov 2017 09:43:55 -0800 (PST) MIME-Version: 1.0 From: Cy Schubert Subject: RE: The future of fortune(6) Date: Wed, 22 Nov 2017 09:43:04 -0800 To: Joshua Armstrong , "freebsd-hackers@freebsd.org" , "freebsd-arch@freebsd.org" Message-Id: <20171122174355.093811B3@spqr.komquats.com> X-CMAE-Envelope: MS4wfFJFUu3CoKjelzYzY7nOXH0j/MLcodO43g7m52eYzUw1uCk93FxJ9d24nzpWsfDK9inO11c6erBBv2tTp0q92wpKwGGNtBWjNAe1+jlXQS0e9FDEwGBk v74XG5JWXXmIsklqWReCO0JS+IeHZKjc3k5rRlxMVsvh3vnlwkmDFq1i9qsKdoaHDCSnS1RpKblvsvAqcDeW+SVP2NO0rhBFcT6FUQmDh6lLPEIWW+Mi/tVV 7tAoQCtpDnpCuYIW9DDc4A== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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 17:44:07 -0000 I'm in favour of removing fortune entirely and replacing it with a shell sc= ript. IIRC there's at least one port that uses fortune. Making whatever cur= rently remains of fortune a new port to address any resulting fallout and P= OLA from its removal from base. --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Cy Schubert or --- -----Original Message----- From: Joshua Armstrong Sent: 22/11/2017 08:51 To: freebsd-hackers@freebsd.org; freebsd-arch@freebsd.org Subject: RE: The future of fortune(6) I also think the tips on login are helpful. I would be in favor of making f= reebsd-tips the default cookie file (with the possibility of supplying othe= r files as well) and removing the offensive option.=0A= =0A= -----Original Message-----=0A= From: owner-freebsd-hackers@freebsd.org [mailto:owner-freebsd-hackers@freeb= sd.org] On Behalf Of Warner Losh=0A= Sent: Wednesday, November 22, 2017 10:36 AM=0A= To: Benno Rice=0A= Cc: freebsd-hackers@freebsd.org; freebsd-arch@freebsd.org=0A= Subject: Re: The future of fortune(6)=0A= =0A= On Wed, Nov 22, 2017 at 9:29 AM, Benno Rice wrote:=0A= =0A= > Hello, all!=0A= >=0A= > With the removal of the fortune datfiles I think it=E2=80=99s time to hav= e a =0A= > discussion about fortune(6).=0A= >=0A= > fortune now defaults to using a fortune file that no longer exists:=0A= >=0A= > $ fortune=0A= > No fortunes found in /usr/share/games/fortune:/usr/ =0A= > local/share/games/fortune.=0A= >=0A= > fortune is still used in the default .login/.profile to show entries =0A= > from the still existing freebsd-tips:=0A= >=0A= > $ grep fortune /usr/share/skel/*=0A= > /usr/share/skel/dot.login:if ( -x /usr/bin/fortune ) /usr/bin/fortune =0A= > freebsd-tips /usr/share/skel/dot.profile:if [ -x /usr/bin/fortune ] ; =0A= > then /usr/bin/fortune freebsd-tips ; fi $ fortune freebsd-tips If you =0A= > need a reminder to leave your terminal, type "leave +hhmm" where =0A= > "hhmm" represents in how many hours and minutes you need to leave.=0A= > -- Dru =0A= >=0A= > fortune also still has flags for showing offensive entries and the like.= =0A= >=0A= > I would like people=E2=80=99s opinion on which of the following two paths= we =0A= > should take:=0A= >=0A= > 1) Complete removal of fortune and freebsd-tips, remove its usage from = =0A= > the default .login/.profile files.=0A= >=0A= > 2) Reworking fortune(6) to remove the offensive fortune flag and make =0A= > freebsd-tips the default, possibly by symlinking it as =0A= > /usr/share/games/fortune/fortunes.=0A= >=0A= > Personally I lean towards the first option.=0A= >=0A= =0A= (3) Do #1 except replace fortune with a single line shell script:=0A= =0A= #!/bin/sh=0A= =0A= to not break everybody's login scripts. Possibly with an optional echo "ple= ase remove fortune from .profile/.cshrc"=0A= =0A= I personally lean towards #2 though. I think the freebsd-tips are useful.= =0A= =0A= Warner=0A= _______________________________________________=0A= freebsd-hackers@freebsd.org mailing list https://lists.freebsd.org/mailman/= listinfo/freebsd-hackers=0A= To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"= =0A= =0A= _______________________________________________=0A= freebsd-hackers@freebsd.org mailing list=0A= https://lists.freebsd.org/mailman/listinfo/freebsd-hackers=0A= To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"= =0A=