Subject: Re: inbox readonly problem

From: Lukas Karlsson <[email-masked]>
Date: Tue, 6 Jun 1995 04:44:41 -0400

On Tue, 6 Jun 1995, Peter Head wrote:

> Nice to see you around. Could I grab a copy of that script from you? I 
> always accidentally start another session of pine and become frustrated 
> by making both "read-only" I assume you have it wired into your .profile, 
> if that's not the case let me know. Thanks.

hey, man, i'm everywhere!  :)

you can find the script in ~karlsson/bin and it is called.  all you have
to do to make it work is make a directory called ~/bin and chnge your PATH
from
	export PATH=/usr/local/bin:/usr/bin:/usr/ucb:/usr/etc
to 
	export PATH=~/bin:/usr/local/bin:/usr/bin:/usr/ucb:/usr/etc

in the future, you can put any programs in this directory and they will 
run instead of the ones with the equivalent names in /usr/local/bin (or 
any of the other directories in the path for that matter).  hope it is 
useful for you.  you might want to read it and see just how simple it is. :)

				- lukas

-----------------------------------------------------------------------------
Lukas Karlsson                                            [email-masked]
Cloud 9 Internet                                       White Plains, New York

---

From: Lukas Karlsson <[email-masked]>
Date: Fri, 16 Jun 1995 14:53:04 -0400

On Fri, 16 Jun 1995, Dick Moores wrote:

> Sorry to trouble you, but I'd really like to get a copy of your script.
> Could you tell me how to?

---------- cut here ---------- cut here ---------- cut here ----------
#!/bin/sh

REALPINE=/usr/local/bin/pine
PINE=`ps -x | grep ${REALPINE} | grep -v "grep ${REALPINE}"`

if [ -n "${PINE}" ]
then
	echo "You already have a pine process running."
else
	exec ${REALPINE} $*
fi