Date: Fri, 14 Aug 1998 11:15:11 +0200 (SAST) From: axl@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: conf/7613: src/etc/root/dot.profile sets bogus crt envariable Message-ID: <199808140915.LAA19428@axl.training.iafrica.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808140915.LAA19428>