From owner-freebsd-questions Wed May 29 14:23:14 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08527 for questions-outgoing; Wed, 29 May 1996 14:23:14 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA08521 for ; Wed, 29 May 1996 14:23:08 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA14450; Wed, 29 May 1996 14:20:49 -0700 From: Terry Lambert Message-Id: <199605292120.OAA14450@phaeton.artisoft.com> Subject: Re: long motd files - screen pause? To: richardc@CSUA.Berkeley.EDU (Veggy Vinny) Date: Wed, 29 May 1996 14:20:49 -0700 (MST) Cc: terry@lambert.org, questions@freebsd.org In-Reply-To: from "Veggy Vinny" at May 29, 96 01:37:33 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > > > > Use a smaller motd. Use the UNIX 'news' package (*not* netnews) > > > > > > in the /etc/csh/cshrc, et al. > > > > > > > > > > I'm not sure how CSUA.Berkeley.EDU does it, it's running on a > > > > > Sequent machine running Dynix but would news do it? > > > > > > > > I'm pretty sure 'news' uses 'more'. > > > > > > Hmmm, how is the motd displayed like what program generates it > > > upon logging in? > > > > /bin/login if ~/.hushlogin doesn't exist. > > Hmmm, so I just need to modify /bin/login to do |more when it cats > the file? more uses the termcap to get the size of the screen so it knows when to say more. The termcap isn't set until after you login, unless you are using rlogin/telnet/xterm or some other convention that passes the user environment to the system being logged into. So you need to be logged all the way in for login to be able to display using "more" before you are logged all the way in. In other words, if you do it in login, you will need to have some information which it is impossible for you to have. Which is why I suggested the "system news" package instead, since it can be run globally *after* login. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.