Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-15-2012, 04:52 PM   #1
Senior Member
Registered: Jun 2006
Location: Debian Land
Posts: 1,683

Rep: Reputation: 147Reputation: 147
Email notification (new email) for Screen status bar?

Hi, I was thinking that it could be cool to add this to the screenrc, with a scheduled fetchmail -c, and if new email there, to add to the status, maybe with "backtick" 100 5 5 cat ~/.newemail ?

If you have any code, please post, this surely will be helpful.
Tux forever

~/.screenrc is the config.
Old 03-16-2012, 06:26 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
That should work. You could have it point to a custom shell script as well that checks mail, etc.

backtick 100 5 5 <path to bash script that checks mail here>
But ultimately, I'm gonna say stop using screen and start using tmux, it's like screen on crack, way better.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios - email notification - How to receive alert email? kumaran1983 Linux - Newbie 4 10-20-2011 07:12 AM
cron email notification, status 0x0045 jovie Fedora 5 10-11-2007 10:56 AM
Daily Status/Security/Info script.. email notification? JakeX Linux - Software 5 07-04-2006 04:27 PM
Email Notification ezra143 LQ Suggestions & Feedback 6 01-12-2004 11:17 AM
email notification elainepearl Linux - General 1 01-14-2002 06:58 AM

All times are GMT -5. The time now is 11:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration