sftp as root

2009-07-16 Thread Warren Michelsen
I'm trying to log into my server from my workstation over the Internet using BBEdit's sftp. Is sftp done in a ssl tunnel? What are the requirements on the remote server to enable me to log in, encrypted, as root to manage configuration files and such? I normally ssh to the server in Terminal (

Re: sftp as root

2009-07-16 Thread Charlie Garrison
Good afternoon, On 16/07/09 at 12:49 AM -0700, Warren Michelsen wrote: >Is sftp done in a ssl tunnel? sftp uses ssh, not ssl. >So I've set the server to allow passwordless log-in by root using a key. Have you tested that from command line? If it works there it should work from BBEdit. >Ho

bash completion ?

2009-07-16 Thread Patrick Proniewski
Hi all, I'm a long time user of BBEdit, but I'm not a specialist of clippings and completion features. Most of the time I use BBEdit to create/edit shell script (bash). That would be really great being able to use regular bash completion in BBEdit, both standard command/path completion and p

Re: bash completion ?

2009-07-16 Thread Charlie Garrison
Good evening, On 16/07/09 at 10:34 AM +0200, Patrick Proniewski wrote: >Do you think there is a way to hook bash completion to BBEdit? I wouldn't think so, tab-completion in bash is a complex beast. I wouldn't expect anything other than "bash" to do it. OTOH, if you just want command & dire

Finding Files With Missing Data

2009-07-16 Thread Warren Michelsen
Can Find/GREP be used to find files that DO NOT have a particular content? Could I search a location for files that do NOT contain the text "This line must be here."and have BBEdit identify/list those files? One possible solution is to open all the files, do a of the must-be-there text, changi

Re: Finding Files With Missing Data

2009-07-16 Thread Rich Siegel
On 7/16/09 at 12:20 PM, wmichel...@gmail.com (Warren Michelsen) wrote: >Can Find/GREP be used to find files that DO NOT have a >particular content? Yes. In the Multi-File Search window, click the Options button, and then turn on "Exclude Matches". Enjoy, R. -- Rich Siegel

Re: bash completion ?

2009-07-16 Thread patpro
On Jul 16, 3:52 pm, Charlie Garrison wrote: > I wouldn't think so, tab-completion in bash is a complex beast. > I wouldn't expect anything other than "bash" to do it. > > OTOH, if you just want command & directory completion, that > shouldn't be too hard. But I still don't think it's possible >

Honor saved state "options"?

2009-07-16 Thread Morbus Iff
G'day. I'm working with two different mental states: * Code. Small font, tab stops, line numbers, etc. * Fiction. Large font, no tab stops, line numbers, etc. About the only thing I can get reliably to save in the document state, however, is the font - how does one save "don't show me line

Re: Honor saved state "options"?

2009-07-16 Thread Rich Siegel
On 7/16/09 at 1:06 PM, mor...@disobey.com (Morbus Iff) wrote: >G'day. I'm working with two different mental states: > >* Code. Small font, tab stops, line numbers, etc. >* Fiction. Large font, no tab stops, line numbers, etc. > >About the only thing I can get reliably to save in the document >st

Re: Honor saved state "options"?

2009-07-16 Thread Morbus Iff
>> * Code. Small font, tab stops, line numbers, etc. >> * Fiction. Large font, no tab stops, line numbers, etc. >> >> About the only thing I can get reliably to save in the document >> state, however, is the font - how does one save "don't show me >> line numbers" and "don't show the gutter, tab

Re: Honor saved state "options"?

2009-07-16 Thread Morbus Iff
Oh, and here's another one - ideally, I'd like to save these things as literal "mental states" or "visual profiles", as opposed to "document states" - something I can toggle back and forth on the fly. I had irrationally hoped that I could just duplicate perfect_for_writing.txt and get all the

Re: Honor saved state "options"?

2009-07-16 Thread Charlie Garrison
Good morning, On 16/07/09 at 1:25 PM -0400, Morbus Iff wrote: >Perhaps a stationery or AppleScript could rig it up for me... Yep, AppleScript will do that just fine. Use the "Start Recording" command, setup the document the way you want, then "Stop Recording". You may need to tweak the resul

Re: sftp as root

2009-07-16 Thread Warren Michelsen
At 6:00 PM +1000 7/16/09, Charlie Garrison sent email regarding Re: sftp as root: >Good afternoon, > >On 16/07/09 at 12:49 AM -0700, Warren Michelsen > >>So I've set the server to allow passwordless log-in by root using a key. > >Have you tested that from command line? If it works there it >shoul

Re: sftp as root

2009-07-16 Thread Patrick Woolsey
you wrote: [...] >After I click the connect button, BBEdit says: Opening sftp >connection and puts up an additional password dialog. Entering the >password does not log me in. > What app version are you running? (In particular, if you have BBEdit 9 prior to 9.2.1, please update. :-) Regards,

Re: Honor saved state "options"?

2009-07-16 Thread Morbus Iff
> Yep, AppleScript will do that just fine. Use the "Start > Recording" command, setup the document the way you want, then > "Stop Recording". You may need to tweak the resulting script a > bit but it should be close to what you want to happen. That worked nicely enough: tell application "BBEd

Re: Honor saved state "options"?

2009-07-16 Thread Morbus Iff
> It didn't catch my font changes though (to Georgia 16). I'll see if I > can figure that out, as well as "Hide All Others" and "Set all desktop > backgrounds to black" - i.e., recreate Full Screen mode ;) tell application "BBEdit" activate set properties of text window 1 to {soft wrap te

Re: sftp as root

2009-07-16 Thread Warren Michelsen
At 5:17 PM -0400 7/16/09, Patrick Woolsey sent email regarding Re: sftp as root: >you wrote: >[...] >>After I click the connect button, BBEdit says: Opening sftp >>connection and puts up an additional password dialog. Entering the >>password does not log me in. >> > >What app version are you runn