From owner-freebsd-doc Mon Sep 9 19:14:26 1996 Return-Path: owner-doc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA06569 for doc-outgoing; Mon, 9 Sep 1996 19:14:26 -0700 (PDT) Received: from fallout.campusview.indiana.edu (fallout.campusview.indiana.edu [149.159.1.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA06561 for ; Mon, 9 Sep 1996 19:14:21 -0700 (PDT) Received: from localhost (jfieber@localhost) by fallout.campusview.indiana.edu (8.7.5/8.7.3) with SMTP id VAA22243; Mon, 9 Sep 1996 21:14:11 -0500 (EST) Date: Mon, 9 Sep 1996 21:14:10 -0500 (EST) From: John Fieber To: Thomas Gellekum cc: doc@freebsd.org Subject: Re: Default paper size In-Reply-To: <199609090700.JAA26847@ghpc6.ihf.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-doc@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 9 Sep 1996, Thomas Gellekum wrote: > John Fieber wrote: > > I'm thinking of clever ways to set the paper size. Basically > > > > if (LANG is not set, or LANG == en_US.*) > > use US Letter > > else > > use a4 > > > > Would this work for most people? Of course, there would be a > > manual override. > > How about $PAPERSIZE? $LANG has too many side effects, IMHO. Is PAPERSIZE a commonly used environment variable? More common than LANG or LC_*? My goal is to make an intelligent guess about the default in the *absence* of an *explicit* statement on the part of the user. I thought that LANG, although imperfect, might provide the best guess. It also strikes me that knowing which timezone file is in use could be even more accurate. Is there a big penalty for having LANG set if you don't really need it? If not, maybe the installation procedure should prompt for a default, then the LANG variable would be a more reliable indication. -john == jfieber@indiana.edu =========================================== == http://fallout.campusview.indiana.edu/~jfieber ================