Minh Van wrote:
> 
> would it be possible to change the "You have mail in" prompt without
> changing the source ? (of whatever source that prompt comes from).

what env var to set depends on your shell, eg for sh

>man sh

<snip>
       MAILPATH
              A  colon-separated list of file names to be checked
              for mail.  The message  to  be  printed  when  mail
              arrives  in  a  particular file may be specified by
              separating the file name from the  message  with  a
              `?'.   When  used  in  the  text of the message, $_
              expands to the name of the current mailfile.  Exam�
              ple:
              MAILPATH='/var/mail/bfox?"You                  have
              mail":~/shell-mail?"$_ has mail!"'
              Bash supplies a default value  for  this  variable,
              but  the  location  of  the user mail files that it
              uses is system dependent (e.g., /var/mail/$USER).

cya
Damien
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to