Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 1996 15:41:19 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        mpp@freefall.freebsd.org (Mike Pritchard)
Cc:        kelly@fsl.noaa.gov, richardc@CSUA.Berkeley.EDU, terry@lambert.org, questions@freebsd.org
Subject:   Re: long motd files - screen pause?
Message-ID:  <199605312241.PAA19035@phaeton.artisoft.com>
In-Reply-To: <199605301936.MAA14249@freefall.freebsd.org> from "Mike Pritchard" at May 30, 96 12:36:33 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> If all you want is to have the thing paged, just run
> it through more.  If the term type is undefined, more
> will simply pause after 24 lines, assuming that it is
> a simple "dumb" terminal.  You can't screw up too
> much by assuming that (hard copy terminal maybe, but
> the right options to more might even eliminate that).
> If you get lucky, and the terminal type has been supplied 
> by rlogin or whatever, you are even better off.

Screwups:

1)	Terminal less than 24 lines; some xterms, lots of "console"
	xterms.

2)	login scripts that don't expect to have to type some random
	number of returns to get past the motd (depending on what
	you changed its length to today).

3)	Difference in "more" vs "--more--" prompt based on whether
	a valid termcap exists and has so/se attributes or not will
	also screw up login scripts, even if you fix them to know
	that they need to send some random number of returns.

This is a critically bogus idea in the first place.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605312241.PAA19035>