[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /etc/motd replacement?



There is such a system 'news' why cant you use it ?
I belive it is installed on sevral technion servers like t2 or aluph ..

news(1)                   User Commands                   news(1)

NAME
     news - print news items

SYNOPSIS
     news [ -a ] [ -n ] [ -s ] [ items ]

AVAILABILITY
     SUNWesu

DESCRIPTION
     news is used to keep the user informed  of  current  events.
     By  convention,  these  events are described by files in the
     directory /var/news.

     When invoked without arguments, news prints the contents  of
     all current files in /var/news, most recent first, with each
     preceded  by  an  appropriate  header.   news   stores   the
     ``currency''  time  as the modification date of a file named
     .news_time in the user's home  directory  (the  identity  of
     .news_time in the user's home  directory  (the  identity  of
     this  directory  is  determined  by the environment variable
     $HOME); only files more recent than this currency  time  are
     considered ``current.''

OPTIONS
     -a         news prints all items,  regardless  of  currency.
               In this case, the stored time is not changed.

     -n         news reports  the  names  of  the  current  items
               without   printing  their  contents,  and  without
               changing the stored time.

     - s         news  reports  how  many  current  items  exist,
               without  printing  their  names  or  contents, and
               without changing the stored time.  It is useful to
               include  such an invocation of news in one's .pro-
               file file, or in the system's /etc/profile.

     All other arguments are assumed to be  specific  news  items
     that are to be printed.

     If a delete is typed during the printing  of  a  news  item,

.
.
.

On Mon, 30 Nov 1998, Shachar Tal wrote:

|On Mon, 30 Nov 1998, Peter L. Peres wrote:
|
|> served, on the same line (how manyusers do you have ? Technion - wide ? 
|> ouch). The front of the cgi would be a PHP or perl script that serves a
|
|It will be implemented at a few computers in the Technion, with a total
|user count of about 50,000 (a lot of users have a few accounts, plus
|faculty servers). There are like zillion more demands from this, so we'll
|probably write it in perl or something like that in a thin client/ thick
|server model. Thanks everybody for the help. I thought I could find
|something ready which does most of it. I promise it will be GPLed when
|it's out.
|
|P.S. - Ariel Biener, do you, at TAU, still use same old /etc/motd for
|system messages?
|
|Shachar
|
|