If you are running a multiuser system like Linux, you should expect to find other users on your system. (I guess that’s why it is a multi-user system.) Although there are many built-in mechanisms to keep users separated, sometimes you will want to communicate with other users.
Linux provides
several tools to do this, depending on exactly what you want to accomplish. If
you simply want to send a quick message to someone, for example, to remind him
or her of a meeting, you might use the write program, which sends (writes) a
message to his or her
In contrast to some other systems (say, the winpop mechanism under Windows), each line is sent when you press Enter. If you are on the receiving end of the message, the system lets you know who sent you the message.
If the person you are trying to contact is logged in
more than once, you need to specify the
If you omit the
It might happen that someone tries the above command and receives the following message:
This message means that jimmo has used the
to turn it off and
to turn it on. Unless the system
An extension of
If you want to
have an interactive session, you could send write messages back and forth. On
the other hand, you could use the
As the message indicates, to respond, you would enter
You might have noticed that you
can use
You can also disable talk by using the
It is common practice to use a couple of terms from radio communication when using talk. Because you cannot always tell when someone is finished writing, it is common to end the line with -o (or use a separate line) to indicate that your turn is “over.” When you are finished with the conversation and wish to end it, use oo (over and out).
Both of these mechanisms have some major problems if the user is not logged in: they don’t work! Instead, there’s mail or, more accurately, electronic mail (or e-mail).
On most
There are several different programs for sending and viewing mail. You could use one mail program (or mailer) to send the message and another to read it. Often the program that you use to read your mail is called a mail reader or, simply, reader. Before we go on to the more advanced mail programs, I want to talk about the most common mail program and the one that is most likely to be on your system. (From here on, I will be referring to e-mail simply as mail.)
Mail comes in units called messages. Whether you
use
To read your mail, you can use three primary character-based
programs:
All three programs understand the concept of a “folder” in which you can store messages. This allows you to develop a hierarchy of files that is no different from the normal file system. How the folders are created and managed depends on the program you are using. Therefore, I would suggest that once you decide to use a specific program, stick with it because the files may not be compatible.
In keeping with the basic premise of this section, I must treat these programs as applications. Therefore, I won’t go into any more detail about them. Instead, I suggest that you install all three and see which one suits your needs best. If you have the space, you may consider providing all three for your users. The man-pages provide a great deal of information and each program has its own on-line help.
If you are using
the