* jobs scripting question.
@ 1999-01-20 23:45 Scott Lipcon
1999-01-21 0:32 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Scott Lipcon @ 1999-01-20 23:45 UTC (permalink / raw)
To: zsh-users
Hi,
I've used zsh for quite a while, and I'm starting to get in to some
heavier scripting and customizations.
What I'm trying to do is this:
I use pine to check email when I'm not at my home computer. I often
suspend it, and then forget that its suspended and start anohter one -
pine has an annoying locking feature that causes both copies of pine to go
in to read-only mode, and lock up for a good 20 seconds. What I want is a
script or function that does this:
if [[pine is already running]]; then
fg %?pine
else
pine $*
fi
its the "is pine already running" part I can't figure out.
Thanks for any help...
Scott
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-01-21 0:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-20 23:45 jobs scripting question Scott Lipcon
1999-01-21 0:32 ` Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).