


MEUF(1)                  USER COMMANDS                    MEUF(1)



NAME
     meuf - Mail Extended Using Faces

SYNOPSIS
     meuf [-p seconds] [-f file] [-h] [-u  user]  [-r]  [-silent]
     [-w script]

DESCRIPTION
     _M_e_u_f displays in an X window an image of the  mail  spooler.
     Faces  are  retrieved  from /_u_s_r/_l_o_c_a_l/_f_a_c_e_s, from an _X-_F_a_c_e
     field in mail headers and from the home directory if  sender
     is a local user.

     If spooler is empty, a special Face is displayed in the main
     window. A click on this Face has no effect.

     At the top of the root window are displayed five buttons:

     _Q_U_I_T Leaves the application. If some messages are marked  as
          deleted,  asks  for  confirmation:  "Yes"  deletes  and
          exits; "No" exits only; "Cancel" cancels command.

     _U_P_D_A_T_E _M_A_I_L _S_P_O_O_L_E_R
          Updates spooler  removing  deleted  messages  from  the
          spooler file.

     _M_A_I_L Opens a window where the user is allowed to  compose  a
          new message.

     _I_C_O_N_I_F_Y
          Clicking on this button transforms Meuf into an  Xbi*f-
          alike:  the icon changes when a new message is received
          (in fact when the length of the mail spooler  changes).
          Clicking on the icon makes the application come back to
          its 'Meuf' state.

     _P_R_O_P_E_R_T_I_E_S
          Clicking on this button opens a new window allowing the
          user  to modify interactively the internal variables of
          _M_e_u_f. The _A_P_P_L_Y button makes  _M_e_u_f  use  the  variables
          values  given by the user. The _C_A_N_C_E_L exits the proper-
          ties window cancelling all the  changes.  The  _A_P_P_L_Y  &
          _S_A_V_E  button  makes _M_e_u_f use the variables values given
          by the user and generates a new .meufrc file. See below
          the  content of the .meufrc file for informations about
          the buttons and editable fields of this window.

     In a composed message window created by  clicking  the  _M_A_I_L
     button (or _R_E_P_L_Y), three buttons are available:

     _C_L_O_S_E
          Closes the window and looses the composed message.



Faces Project     Last change: 15 January 1993                  1






MEUF(1)                  USER COMMANDS                    MEUF(1)



     _S_E_N_D Sends the composed message.

     _I_N_S_E_R_T _F_I_L_E
          After a click on INSERT FILE, user must enter a  file's
          name  to  insert in the message at the insert position;
          no wildcard (star, question mark, tilda) is allowed  in
          the file's name.

     The user can "open" a message by clicking its sender's Face.
     This action creates a new window with the following buttons:

     _C_L_O_S_E
          Closes the window.

     _R_E_P_L_Y
          Opens a window where the user is allowed to  compose  a
          message  in  response to the read message. The user can
          modify the text with the same restrictions as with  the
          _M_A_I_L button.
          The _y_a_n_k_i_n_g options open a window containing  the  read
          message indented with a "> " string (see below).

     _F_O_R_W_A_R_D
          Opens a window containing the read message  copied  and
          separated by a line from mail body. The user can modify
          the text with the same restrictions as with  _M_A_I_L  but-
          ton.

     _S_A_V_E
          After clicking on this button, user must enter a file's
          name where the mail will be saved. New mail is added to
          the file (append).

     _D_E_L_E_T_E
          A click on this button causes the message's Face to  be
          inverted. Mail is deleted from the mail spooler if user
          clicks on the _U_P_D_A_T_E _S_P_O_O_L_E_R button. The current window
          is closed.

     _U_N_D_E_L_E_T_E
          A click  on  this  button  cancels  the  _D_E_L_E_T_E  button
          effect.

     _P_R_I_N_T
          A click on this button pipes the text  of  the  current
          message   to  the  job  printer  user-defined  in  file
          .meufrc. The default command is "lpr".

     The  following  variables  can  be  initialized  within  the
     $HOME/.meufrc  file  (start-up file). The variable-name must
     follow the set command and at least one space  or  tab.  The
     value  follows  the  variable-name and at least one space or



Faces Project     Last change: 15 January 1993                  2






MEUF(1)                  USER COMMANDS                    MEUF(1)



     tab.

     signature   If value is _y_e_s, the file $HOME/.signature  will
                 automatically  be  appended to new messages when
                 sent, if it exists. Default value is _n_o.

     prologue    If value is _y_e_s, the  file  $HOME/.meuf.prologue
                 will  automatically be inserted in the header of
                 new messages when sent, if  it  exists.  Default
                 value is _n_o.

     sendmail    Alternate command for delivering messages.

     spooler     Alternate file for mail spooler.

     fortune     Alternate command for fortune program.

     print       Alternate command for job print.

     folder      Alternate directory for saved files.

     userintitle If value is _y_e_s, the title of the Meuf  X-Window
                 will  be  the  user's  name  instead  of "Meuf".
                 Default value is _y_e_s.

     delwhenread If value is _y_e_s,  closing  an  incoming  message
                 window will also delete it, as the _D_E_L_E_T_E button
                 does. Default value is _n_o.

     askcc       If value is _y_e_s, a _C_c: line is always present in
                 composed messages.  Default value is _n_o.

     indentprefix
                 Alternate  string  for  forwarded  and  included
                 incoming messages used instead of "> ".

     keep        If value is _n_o, user's spoolfile is removed from
                 filesystem  if its length is 0. Default value is
                 _n_o.

     verbose     If value is _y_e_s, -v argument is passed to  send-
                 mail. Default value is _n_o.

     silent      If value is _y_e_s, _M_e_u_f will never  beep.  Default
                 value is _n_o.

     invert      If  value  is  _y_e_s,  foreground  and  background
                 colors  are exchanged for faces display; this is
                 necessary for some X-terminals. Default value is
                 _n_o.

     facedir     Alternate string for faces database directory.



Faces Project     Last change: 15 January 1993                  3






MEUF(1)                  USER COMMANDS                    MEUF(1)



     bell        Alternate command to  call  instead  of  XBell()
                 when  receiving  a new message.  XBell() is used
                 when the string is empty.

     saveme      If the value of this variable is _n_o, the default
                 name  for a message to save is the sender's name
                 if  the  sender  is  not  the   user   and   the
                 recipient's name otherwise. If the value of this
                 variable is _y_e_s, default name for a  message  to
                 save  is always the sender's name. Default value
                 is _n_o.

     expertmode  If the value of this variable is  _y_e_s,  no  more
                 popup  messages  will be diplayed. Default value
                 is _n_o.

     Commentaries can be included in the $HOME/.meufrc file: each
     line beginning with # will be assumed to be a comment line.

     User-aliases can also be defined in the $HOME/.meufrc  file:
     an  alias definition is a line 'alias <name> <string>' where
     <name> is the alias name and <string> is a string containing
     the definition of the alias.

     User-Ignores can also be defined in the same file: an ignore
     definition  is  a  line  'mark  <string1>  <string2>'  where
     <string1> is a user name and <string2> a pattern to look for
     in the Subject field of incoming messages. Matching messages
     will be marked as "to be deleted" immediately  at  reception
     time as a click on the DELETE button does it.

     Example of .meufrc file:

     # This file has been generated by Meuf
     #
     # Internal variables:
     #
     set signature no
     set prologue yes
     set userintitle yes
     set askcc yes
     set verbose no
     set delwhenread no
     set keep no
     set silent no
     set invert no
     set folder "/users/glazman/MailBox"
     set print "enscript -2Grh"
     set indentprefix "> "
     set sendmail "/usr/lib/sendmail"
     set spooler "/var/spool/mail/glazman"
     set facedir "/users/grif/util/faces"



Faces Project     Last change: 15 January 1993                  4






MEUF(1)                  USER COMMANDS                    MEUF(1)



     set saveme no
     set expertmode no
     set bell "play -v 15 /usr/demo/SOUND/sounds/cuckoo.au"
     #
     # User defined aliases:
     #
     alias systeam "glazman cohen jcp"
     #
     # User defined ignores:
     #
     mark "root@grif" "Zone"

     Exemple of .meuf.prologue file:

     Bcc: glazman
     X-Job-Phone: (int'l) 33 1 30.12.14.33

     Warning: The .meuf.prologue file _m_u_s_t _n_o_t be terminated with
     a  carriage return or a blank line. These lines being incor-
     porated in the mail header, no blank line is allowed.

OPTIONS
     -p  seconds
          Sets the period in seconds before  the  mail  spool  or
          folder file is scanned again.

     -f  file
          An alternative mail spool file to monitor. The  default
          is  /var/spool/mail/_u_s_e_r_n_a_m_e where _u_s_e_r_n_a_m_e is the name
          of the user currently logged in.

     -h   Usage help.

     -u  username
          Use an other user's mail spool file. This can be possi-
          ble only if the rights are given to read the spool file
          or if you have the corresponding privileges.

     -r   Exchanges the  default  foreground  and  background  of
          faces pixmaps; can be useful with some X-terminals.

     -silent
          Never beep.

     -w  script
          Use the result of the call of this script  as  alterna-
          tive  mail spool file. Two small utilities are provided
          with this distribution: print_spool and host_users. Try
          them...  These  two utilities are only examples of what
          YOU can do and won't be supported.





Faces Project     Last change: 15 January 1993                  5






MEUF(1)                  USER COMMANDS                    MEUF(1)



     _M_e_u_f accepts all of the  standard  X  Toolkit  command  line
     options.

SEE ALSO
     xbmtoface(1),  X(1),   bitmap(1),   faces(1),   sendmail(8),
     lpr(1), enscript(1), fortune(6)

VERSION
     Current version is 1.4

PRONOUNCING
     _M_e_u_f is pronounced _m_u_f (clin d'oeil aux francophones...)

BUGS
     Meuf seems to have some problems using the libcompface  when
     running  under tvtwm... Solution: just repeat after me "core
     dumping under tvtwm is not a bug, it's a feature".
     Bugs reports and suggestions can be  sent  via  e_mail  (see
     address below).

COPYRIGHT
     Copyright 1991, 1992, 1993 the author.

     Permission  to  use,  copy,  modify,  and  distribute   this
     software  and  its documentation for any purpose and without
     fee is hereby granted, provided  that  the  above  copyright
     notice  appear  in  all  copies and that both that copyright
     notice and this permission notice appear in supporting docu-
     mentation.   This  software  is  provided  "as  is"  without
     express or implied warranty.


AUTHOR
     Daniel Glazman
         glazman@grif.grif.fr (main)
         glazman@inf.enst.fr  (alt.)



















Faces Project     Last change: 15 January 1993                  6



