From owner-freebsd-bugs Fri Aug 14 02:20:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA24533 for freebsd-bugs-outgoing; Fri, 14 Aug 1998 02:20:17 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA24455 for ; Fri, 14 Aug 1998 02:20:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA27554; Fri, 14 Aug 1998 02:20:01 -0700 (PDT) Received: from axl.training.iafrica.com (axl.training.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA23841 for ; Fri, 14 Aug 1998 02:15:50 -0700 (PDT) (envelope-from sheldonh@axl.training.iafrica.com) Received: (from sheldonh@localhost) by axl.training.iafrica.com (8.8.8/8.8.8) id LAA19428; Fri, 14 Aug 1998 11:15:11 +0200 (SAST) (envelope-from sheldonh) Message-Id: <199808140915.LAA19428@axl.training.iafrica.com> Date: Fri, 14 Aug 1998 11:15:11 +0200 (SAST) From: axl@iafrica.com Reply-To: axl@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: conf/7613: src/etc/root/dot.profile sets bogus crt envariable Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7613 >Category: conf >Synopsis: src/etc/root/dot.profile sets bogus crt envariable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 14 02:20:01 PDT 1998 >Last-Modified: >Originator: Sheldon Hearn >Organization: UUNET Internet Africa >Release: FreeBSD 2.2.7-STABLE i386 >Environment: FreeBSD 2.2.7 out of the box for Intel machines >Description: The src/etc/root/dot.profile sets the environment variable crt to 24 for correct paging within the mail(1) program. If crt is unset, no paging is done. However, according to the mail(1) manpage: | If crt is set without a value, then the height of the | ter- minal screen stored in the system is used to compute | the threshold (see stty(1)). Therefore, to ensure correct paging in non-24-line modes, crt should be set to an empty value. >How-To-Repeat: N/A >Fix: The following patch changes root's .profile to setting the value of crt to ''. This makes for correct paging on a wider range of display types. --- /usr/src/etc/root/dot.profile.ORIG Sun Feb 15 16:31:55 1998 +++ /usr/src/etc/root/dot.profile Fri Aug 14 11:12:55 1998 @@ -9,5 +9,5 @@ PAGER=more export PAGER # make mail(1) happy: -crt=24 +crt='' export crt >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message