Subject: bin/6965: /etc/mail.rc should most probably set 'crt'
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Havard.Eidnes@runit.sintef.no>
List: netbsd-bugs
Date: 02/08/1999 11:50:38
>Number:         6965
>Category:       bin
>Synopsis:       /etc/mail.rc should most probably set 'crt'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Feb  8 03:05:01 1999
>Last-Modified:
>Originator:     Havard Eidnes
>Organization:
	RUNIT AS
>Release:        NetBSD-current 19990131
>Environment:
	
System: NetBSD vader.runit.sintef.no 1.3I NetBSD 1.3I (VADER) #0: Sat Jan 9 18:53:46 MET 1999 he@hugin.runit.sintef.no:/usr/src/sys/arch/i386/compile/VADER i386


>Description:
	/etc/mail.rc does not set the 'crt' option to mail.

	This means that anyone viewing a message with more than 24
	lines will have the message scroll off the top of the screen.
	Furthermore, on PCs this will (wscons or not) happen so
	quickly that the user is in most cases only left staring at
	the last 24 lines of the message.

	Setting the 'crt' option turns on the use of a pager so that
	the above lossage is avoided.

	In particular, this will happen on any freshly installed
	system for 'root' once the first output from the nightly
	security job is run, which usually produces a huge message.

>How-To-Repeat:
	Read any message with > 24 lines using 'mail' without 'crt'
	set.

>Fix:
	Make 'crt' be among the default variables set in /etc/mail.rc.
	People posessing hardcopy terminals can go and remove this
	option themselves, since they're few and far between these
	days.
>Audit-Trail:
>Unformatted: