Date: Mon, 01 Feb 2010 12:16:06 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Leslie Jensen <leslie@eskk.nu> Cc: freebsd-questions@freebsd.org Subject: Re: A question on syntax in /etc/login.conf Message-ID: <4B66C606.8000407@infracaninophile.co.uk> In-Reply-To: <4B66B46B.806@eskk.nu> References: <4B66B46B.806@eskk.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B66C606.8000407>