DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 25th June 2019
stanl stanl is offline
New User
 
Join Date: Jun 2019
Posts: 6
Default nmh and OpenBSD

I'm running OpenBSD 6.5 on an old ThinkPad x220 using nmh to read email.
There is a short script in jerry Peek's book which when I log in should show me a list of unseen messages:

if mhpath unseen +inbox >/dev/null 2>&1
then
echo "Unseen mail in inbox:"
scan +inbox unseen
fi

Unfortunately, it doesn't work and not knowing any programming or shell scripting I have no idea why.

If anyone can point out what is wrong and how to correct it, I would appreciate it.

Thanks
Reply With Quote
  #2   (View Single Post)  
Old 28th June 2019
stanl stanl is offline
New User
 
Join Date: Jun 2019
Posts: 6
Default

Please ignore this post as I figured out where I went wrong. I was thinking the message would show up when I started an xterm when in fact it shows up on the console before X is started.
Sorry for wasting everyone's time.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 10:01 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick