atom feed2 messages in at.iem.pd-devRe: [PD-dev] OS X Launch Script Enhan...
FromSent OnAttachments
Hans-Christoph SteinerFeb 8, 2003 10:27 am.term
Hans-Christoph SteinerFeb 8, 2003 10:41 am 
Subject:Re: [PD-dev] OS X Launch Script Enhancement (Pd.command)
From:Hans-Christoph Steiner (ha@eds.org)
Date:Feb 8, 2003 10:41:54 am
List:at.iem.pd-dev

I also just realized and fixed a little bug in pd.term. I originally started pd in that file using:

<key>ExecutionString</key> <string></string> <key>Shell</key> <string>/usr/local/pd/bin/pd</string>

But that makes pd launch with all of the menus on each window. Doing this fixed that:

<key>ExecutionString</key> <string>/usr/local/pd/bin/pd; exit</string> <key>Shell</key> <string>/bin/sh</string>

.hc

I did a little tweak to Adam's Pd.command to make it launch a pretty Terminal window, rather than just a default terminal window. Here is the basic change, I changed Pd.command from:

#!/bin/sh /usr/local/pd/bin/pd -rt

To:

#!/bin/sh /usr/bin/open /usr/local/pd/pd.term

(pd.term is attached)

The only problem is that Pd.command launches its own terminal window first to run itself in. That can be closed once pd is launched, but I'd like to find a way to stop that from happening so only the pd-tailored term window gets launched.

I want to check this into the cvs, but I couldn't find Pd.command there. Where shall I put this in the repository?

.hc

<pd.term>