Thanks for the help. The gritty details to get BBedit to be the editor
for crontab -e are....

create a shell script (e.g. bbeditFix.sh)

#!/bin/sh
#fix so I can use bbedit as crontab editor
# in .bash_profile EDITOR=~/bbeditFix.sh
#
bbedit -w "$@"

chmod 700 bbeditFix.sh

set EDITOR env variable in .bash_profile
.....
EDITOR=~/bbeditFix.sh
export EDITOR
.....


And finally from BBedit 9.5.1 release notes (http://www.barebones.com/
support/bbedit/current_notes.html)
use defaults shell command to set SaveSavesDisabled to YES

defaults write com.barebones.bbedit Filing:SafeSavesDisabled -bool YES


crontab -e

should pop you into bbedit and you can make changes that will be saved
properly


On Sep 10, 8:00 pm, Gary Leydon <[email protected]> wrote:
> Hey thanks so much, that was more than precise. I'm sure I can find it
> when I get back to work, thanks for taking the time and sharing your
> knowledge.
>
> On Fri, Sep 10, 2010 at 3:59 PM, Carlton Gibson
>
> <[email protected]> wrote:
> > I know the answer to this, but because I'm away from the Mac I can't put it 
> > to hand just now.
>
> > Basically, there's an expert preference you have to turn off that was new 
> > in 9.5
>
> > It's called something like "safe-saves".
>
> > If you go to Help you cam get to the latest release notes and it will tell 
> > you there.
>
> > Sorry I can't be more precise.
>
> > Sent from my iPhone
>
> > On 10 Sep 2010, at 19:53, gbl <[email protected]> wrote:
>
> >> OS X 10.6.4
> >> BBedit 9.5.1
>
> >> can't seem to get bbedit to edit a crontab even after doing what man
> >> bbedit suggests
>
> >> ~/bbeditFix.sh
>
> >> #!/bin/sh
> >> bbedit -w "$@"
>
> >> chmod 744 bbeditFix.sh
>
> >> .bash_profile
> >> EDITOR=~/bbeditFix.sh
>
> >> crontab -e   #runs bbedit I make changes save from bbedit and shell
> >> puts up:
>
> >> crontab: temp file must be edited in place
>
> >> In BBedit prefs tried turning off Automatically refresh documents as
> >> they change on disk : this had no effect
>
> >> under Text Files make backup before saving is NOT checked
>
> >> any ideas?
>
> >> --
> >> You received this message because you are subscribed to the
> >> "BBEdit Talk" discussion group on Google Groups.
> >> To post to this group, send email to [email protected]
> >> To unsubscribe from this group, send email to
> >> [email protected]
> >> For more options, visit this group at
> >> <http://groups.google.com/group/bbedit?hl=en>
> >> If you have a feature request or would like to report a problem,
> >> please email "[email protected]" rather than posting to the group.
> >> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
>
> > --
> > You received this message because you are subscribed to the
> > "BBEdit Talk" discussion group on Google Groups.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> > <http://groups.google.com/group/bbedit?hl=en>
> > If you have a feature request or would like to report a problem,
> > please email "[email protected]" rather than posting to the group.
> > Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to