1 :Info: print_motd: pmotd: 03/17/87 print_motd, pmotd
2
3
4 Syntax as a command: pmotd control arguments
5
6
7 Function: prints out changes to the message of the day. The default is
8 to print changes to the system and user_project message_of_the_day
9 segments since the last time the command was called.
10
11
12 Control arguments:
13
14 -all_text, -all, -a
15 specifies that the entire contents of the system and/or project
16 message_of_the_day segment be displayed, regardless of
17 whether or not any of the messages in the segment have been
18 previously seen.
19
20 -current_project, -cpj
21 prints lines from the message_of_the_day segment for the project
22 on which the user is logged in. If the project administrator has
23 not created a message for your project, nothing is printed.
24 default
25
26
27 -new_text, -new
28 specifies that only unseen messages in the system and/or project
29 message_of_the_day segment will be displayed. default
30
31 -project projects, -pj projects
32 prints new or changed lines in the message_of_the_day segments for
33 the named projects. A warning is printed if there is no message
34 for one or more of the projects.
35
36 -system, -sys
37 prints lines from the message of the day segment created by the
38 system administrator. default
39
40
41 Notes: If -system, -current_project and -project are not specified,
42 then print_motd prints lines from the system message and from the message
43 for the current project. If one or more of these arguments are given,
44 then print_motd prints lines only from those messages.
45
46 For comparison purposes, copies of both the system and project motds are
47 stored in the user's default value segment. print_motd will create the
48 value segment if necessary. The project motds have the name
49 project_motd.PROJECT._ where PROJECT is the default user project or a
50 project specified by the -project control argument. Project motds will
51 be created by a project administrator and placed in the project directory
52 with the name >udd>PROJECT>PROJECT.motd with an addname of
53 >udd>PROJECT>PROJECT.info.
54
55
56 The first time that print_motd is used for a specific project, it will
57 print the entire contents of the message of the day segment. Subsequent
58 uses will default to print those lines which have been modified or added
59 to the message of the day since the last use of the command unless the user
60 specifies the -all_text control argument. Since a copy of each motd
61 segment is stored in the user's value segment, project administrators
62 should keep the size of the project motd segments to a minimum by deleting
63 older messages as they expire.