Date: Wed, 29 May 1996 16:02:26 -0700 (PDT) From: Veggy Vinny <richardc@CSUA.Berkeley.EDU> To: Terry Lambert <terry@lambert.org> Cc: terry@lambert.org, questions@freebsd.org Subject: Re: long motd files - screen pause? Message-ID: <Pine.PTX.3.91.960529160144.29367G-100000@soda.CSUA.Berkeley.EDU> In-Reply-To: <199605292120.OAA14450@phaeton.artisoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 May 1996, Terry Lambert wrote: > > > > > > > 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. Hmmm, okay but how do some machines make the motd pause even before it knows the termcap? Vince
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.PTX.3.91.960529160144.29367G-100000>