From owner-freebsd-questions Tue Mar 31 07:04:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA29818 for freebsd-questions-outgoing; Tue, 31 Mar 1998 07:04:38 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from copernicus.cpt.tech.iafrica.com (nTifd0sPdIwRc9N+7NTImUBtFTk1r0bX@copernicus.cpt.tech.iafrica.com [196.31.1.15]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA29645 for ; Tue, 31 Mar 1998 07:03:54 -0800 (PST) (envelope-from sheldonh@iafrica.com) Received: from localhost (iafrica.com) [127.0.0.1] ([nY+eTPbAH8XTpgNMc9RuAPPnqYrNELwR]) by copernicus.cpt.tech.iafrica.com with esmtp (Exim 1.82 #1) id 0yK2Zq-0003j1-00; Tue, 31 Mar 1998 17:03:50 +0200 From: Sheldon Hearn To: freebsd-questions@FreeBSD.ORG Subject: crt=24 in /usr/share/skel/dot.profile Date: Tue, 31 Mar 1998 17:03:50 +0200 Message-ID: <14322.891356630@iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi folks, I don't understand why the crt environment variable is set to '24' and not '' in /usr/share/skel/dot.profile . I deduce from the mail(1) manpage that the crt variable is used to encourage mail(1) to use the pager specified with the PAGER variable. This is a good thing. However, I can't see why the arbitrary value of 24 was selected. From what I understand of the manpage, if the crt variable is empty (rather than unset) mail(1) will determine the number of rows to page using terminal settings. I've set crt='' in my dot.profile and mail(1) uses $PAGER (less in my case) to page correctly for vt100, cons25 and xterm termcaps, regardless of the number of rows. What is the benefit of specifying a value of 24 instead of letting mail(1) work this value out for itself? Doesn't this smack of setting TERM=vt100 (or cons25 or whatever)? Comments of a sensible nature appreciated. Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message