Re: ?

Jonathan Daugherty <[email protected]>
Newsgroups gmane.org.user-groups.linux.pdxlug
Message-ID <[email protected]>
# I've got one for you: you know that "you have new mail" message that
# the shell gives you after you come out of a running program?
# 
# I want to either hack bash or find the Proper Way to augment the shell
# to output a message of my choice to a user's terminal -- but only
# after they exit any running program and before the prompt is
# displayed, in the style of the new mail messages.

It turns out that bash hacking will be required.  Bash's main command
processing loop calls a mail-checking function directly.

-- 
  Jonathan Daugherty
  http://www.cprogrammer.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.