pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] Wish: don't start a new instance of pan.


From: Rinaldi J. Montessi
Subject: Re: [Pan-users] Wish: don't start a new instance of pan.
Date: Fri, 12 Sep 2003 20:17:12 -0400 (EDT)

> Often I will have Pan running on localhost:1 (Xvnc) and forget about it
> and start Pan up on localhost:0. Oh no! My read messages are marked unread
> again!
>
> There should be an option to make Pan refuse to start a second instance
> under the same user name. It should pop up a window with an explanation
> though.

Use a wrapper script to start pan.  Something like:

if /sbin/pidof pan; then echo "Pan is running"; else /path/to/pan; fi

If you don't have /sbin/pidof you could use

ps -ef | grep pan

or some such.

Rinaldi
-- 
The world is coming to an end!  Repent and return those library books!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]