From owner-freebsd-questions@FreeBSD.ORG Mon Feb 1 12:16:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A8361065670 for ; Mon, 1 Feb 2010 12:16:13 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id F2EE68FC0A for ; Mon, 1 Feb 2010 12:16:12 +0000 (UTC) Received: from 81-187-76-165.infracaninophile.co.uk (81-187-76-165.infracaninophile.co.uk [81.187.76.165]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o11CG6LA077971 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 1 Feb 2010 12:16:06 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o11CG6LA077971 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1265026566; bh=NHhCK+Aeeq6liMwR9eoRR82NYpCg1cSlNBzhslo86U0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B66C606.8000407@infracaninophile.co.uk>|Date:=20M on,=2001=20Feb=202010=2012:16:06=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Mozilla/5.0=20(Macintosh=3B=20U=3B=20Intel=20Mac= 20OS=20X=2010.6=3B=20en-GB=3B=20rv:1.9.1.7)=20Gecko/20100111=20Thu nderbird/3.0.1|MIME-Version:=201.0|To:=20Leslie=20Jensen=20|CC:=20freebsd-questions@freebsd.org|Subject:=20Re:=20A=2 0question=20on=20syntax=20in=20/etc/login.conf|References:=20<4B66 B46B.806@eskk.nu>|In-Reply-To:=20<4B66B46B.806@eskk.nu>|X-Enigmail -Version:=201.0|Content-Type:=20text/plain=3B=20charset=3DUTF-8|Co ntent-Transfer-Encoding:=207bit; b=Yr+/YzzpmdbS6xwZ2MSGJiW8IjsykYJlHi354U7YZ53+ID7/NbBp78cGVFdJSZZaS 3cKlZeell4GrbtALbqUndTCpEMHHq3DoFr1tghjLGQpSq9FpfWmrP/X6VkOa7oN2Zv L00ktPsF37CcPNbvdHHMAMuq2JHrmZRHlFcC272c= Message-ID: <4B66C606.8000407@infracaninophile.co.uk> Date: Mon, 01 Feb 2010 12:16:06 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: Leslie Jensen References: <4B66B46B.806@eskk.nu> In-Reply-To: <4B66B46B.806@eskk.nu> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED, FH_HELO_EQ_D_D_D_D, HELO_DYNAMIC_IPADDR2, RDNS_DYNAMIC, SPF_FAIL, TVD_RCVD_IP autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: A question on syntax in /etc/login.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2010 12:16:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/02/2010 11:00, Leslie Jensen wrote: > On the page > > http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html > > > Syntax is shown as: > > language_name:accounts_title:\ > :charset=MIME_charset:\ > :lang=locale_name:\ > :tc=default: > > > If I look in the file on a newly installed 8.0-RELEASE it shows: > > russian|Russian Users Accounts:\ > :charset=KOI8-R:\ > :lang=ru_RU.KOI8-R:\ > :tc=default: > > > Is it the colon or pipe sign that is correct? Probably the latter. The '|' symbol is used when there are several alternative names for the same object -- this is not used much in /etc/login.conf, unlike /etc/termcap. By convention, the last name in a list of alternates like this is a comment rather than a tag for actual use. See getcap(3) for details. The first entry is syntactically correct -- 'accounts_title' would be a boolean value (set to true if present, false if absent) -- but the login.conf man page knows nothing of 'accounts_title' and it's a funny name for a boolean. So I guess that's likely to be a typo in the handbook. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktmxgYACgkQ8Mjk52CukIz/bwCcCS1qvkaNJyAaXCEUZA/s+6Nd gsYAn08d8pD7sWTfNh1OGfa3OheejcRj =ERMH -----END PGP SIGNATURE-----