Re: New File when editing and renaming...

2008-12-13 Thread Kerri Hicks
On Sat, Dec 13, 2008 at 9:14 AM, jayv...@gmail.com jayv...@gmail.com wrote: IIRC, BBEdit 8 used to allow me to create a new file when editing an existing file off of an FTP site. So the procedure used to be, 1. Edit an existing file 2. File | Save As new filename 3. The new file was saved

Re: ad hoc shell filter?

2008-12-13 Thread gshenaut
On Dec 13, 5:09 am, Maarten Sneep maarten.sn...@xs4all.nl wrote: On 13 dec 2008, at 03:35, gshenaut wrote: I notice that there is a plethora of different ways to filter text through a pipeline, but I can't find anything that corresponds to the venerable vi ! commands: specify some text,

Re: ad hoc shell filter?

2008-12-13 Thread Maarten Sneep
On 13 dec 2008, at 18:54, gshenaut wrote: That is not the problem, the tell application BBEdit part is causing the trouble. Ah, OK, I understand that at least. I did try telling other applications and the result was confusing and not useful. After trying this myself: not at all

Re: New File when editing and renaming...

2008-12-13 Thread jayv...@gmail.com
Actually, this happens when I use Transmit and choose to edit in external editor (BBEdit of course). It may have been a change in Transmit behavior, not a BBEdit behavior. So, I didn't keep the FTP/SFtp info in BBEdit... Anyway, the nice way it used to work is that I would open a file on the

Re: ad hoc shell filter?

2008-12-13 Thread johndelacour
At 09:54 -0800 13/12/08, gshenaut wrote: I was hoping for an easy solution to this very basic and obvious utility, but I guess there isn't one. There are several, and it sounds pretty simple to me. Use the commands 'run unix script' or 'run unix filter'. If need to have AppleScript create

Re: ad hoc shell filter?

2008-12-13 Thread Doug McNutt
At 21:18 + 12/13/08, johndelac...@gmail.com wrote: But if you're at a loss in AppleScript, as you say, then you're at a disadvantage. If you don't know how to write a file in AppleScript then you may be some distance from a solution. Sigh. But so true. English-like is a form of poetry much

Re: ad hoc shell filter?

2008-12-13 Thread Maarten Sneep
On 13 dec 2008, at 22:56, Doug McNutt wrote: 2) It is possible to send AppleEvents to BBEdit from a running shell script. The tool is osascript along with its cousin osacompile. Using osascript with a here document ( redirection) you can ask BBEdit to find and copy or report selected stuff

Re: ad hoc shell filter?

2008-12-13 Thread Doug McNutt
At 23:04 +0100 12/13/08, Maarten Sneep wrote: On 13 dec 2008, at 22:56, Doug McNutt wrote: 2) It is possible to send AppleEvents to BBEdit from a running shell script. The tool is osascript along with its cousin osacompile. Using osascript with a here document ( redirection) you can ask

Re: ad hoc shell filter?

2008-12-13 Thread John Delacour
At 09:54 -0800 13/12/08, gshenaut wrote: I was hoping for an easy solution to this very basic and obvious utility, but I guess there isn't one. Let me describe what I want to do one more time, and then I'll move on. (1) Select some text in BBedit (2) Run the ad-hoc shell pipeline utility. (3) A

Re: ad hoc shell filter?

2008-12-13 Thread Greg Shenaut
I appreciate the suggestions. I can write a canned shell script for BBedit, that's easy, but the general problem is feeding it parameters. In the present case, the parameters are the command itself, but there are tons of cases where you'd like to be able to pass a flag or column number or

BBedit and spaces

2008-12-13 Thread Greg Shenaut
Is there some way to get BBedit to keep all of the various fragments of its user interface in the same Space? I've seen several times now where the documents drawer/window/whatever it is ends up in Space #1 with everything else over in Space #4 where I'm working. It's not all that big of