Re: Problem opening files in BBEdit

2001-09-29 Thread Justin Simoni

> He's got some J to E dictionary stuff

Yes! that's the odd, incredibly obscure reference I was going for, he also
wrote the regex book for Oreilly, which is choke full of perl examples,
although I don't think he uses a mac :(

Good book though, I really want a motorcycle now.


-- 
justin.
s k a z a t - http://skazat.com

'I am a banana'
-the banana




Re: Problem opening files in BBEdit

2001-09-29 Thread Jim Cooper

Well it seems a little obscure.
He's got some J to E dictionary stuff
I am still not pattingback(me)

But it reminded me to try grep replace in 10.1 and it now works 
correctly for me though I am not sure if this was a universal problem.  
find was working but replace was returning a pointer error.  (in 10.0x)  
Only for grep searches.




On Sunday, September 30, 2001, at 02:38  PM, Justin Simoni wrote:

> Jeffrey Friedl
---
reply directly to:

mailto:[EMAIL PROTECTED]
iMedia, Ltd.
Tokyo
---




Re: Problem opening files in BBEdit

2001-09-29 Thread Justin Simoni

Thanks again jim, my pref for converting line feeds was off, I don't
remember unchecking it, but that's alright, BBEdit is rock solid and is
working quite well in 10.1
 

> When I change to a Japanese font to be able to read my Japanese Text in
> Perl scripts,  most of the tool functions are greyed out.
> This is a far cry better than what used to happen to Japanese text in
> previous versions.

That's cool, but I do think Jeffrey Friedl will need more than that :)
(oh what a totally Perl inside joke, pat yourself on the back if you got
that one) 

Justin. 
http://skazat.com



> Justin,
> In this case, "appropriate line endings" are determined by a combination
> of preferences set and the choice you can make in the save tab/button at
> the top of each window.
> 
> 
> Macintosh
> Windows
> Unix  
> In a related issue
> When I change to a Japanese font to be able to read my Japanese Text in
> Perl scripts,  most of the tool functions are greyed out.
> This is a far cry better than what used to happen to Japanese text in
> previous versions.
> 
> If you are still in doubt of your settings,  another text editor like
> TEX-Edit will show the mac normal view of lines terminated with
> linefeeds (Unix) ,creturn+linefeeds(windows), and creturns(mac).  Though
> BBEdit always seems to do what you tell it to do, even if it doesn't
> make a  lot of noise about it.
> 
> Jim Cooper.
> 
> On Sunday, September 30, 2001, at 09:46  AM, Jim Correia wrote:
> 
>> On 8:17 PM 9/29/01 Justin Simoni <[EMAIL PROTECTED]> wrote:
>> 
>>> Perl files saved in BBEdit in Unix and then closed and reopened, will
>>> be opened as a Macintosh format? The problem seems to be that BBEdit
>>> isn't changing \n to \r in the editing window, or aren't
>>> understanding that the file is using Unix newlines and thinks it's a
>>> Mac formatted file.
>>> 
>>> I'm using 10.1. The files I'm working on have a PERL File Kind and a
>>> BBEdit icon.
>> 
>> Justin,
>> 
>> I'm not sure specifically what problem you are having.  I see you've
>> already contacted support, so they should be able to help.
>> 
>> As a point of information, while in memory, BBEdit always terminates
>> lines with \r.  If you are doing searches with BBEdit, \r is going to
>> match end of line.
>> 
>> However, when you save the text to a file on disk, the appropriate line
>> endings are written out for the particular file in question.
>> 
>> Jim
>> 
>> --
>> Jim CorreiaBare Bones Software, Inc.
>> [EMAIL PROTECTED] 
>> 
>> 
> ---
> reply directly to:
> 
> mailto:[EMAIL PROTECTED]
> iMedia, Ltd.
> Tokyo
> ---




Re: Problem opening files in BBEdit

2001-09-29 Thread Jim Cooper

Justin,
In this case, "appropriate line endings" are determined by a combination 
of preferences set and the choice you can make in the save tab/button at 
the top of each window.


Macintosh
Windows
Unix  
In a related issue
When I change to a Japanese font to be able to read my Japanese Text in 
Perl scripts,  most of the tool functions are greyed out.
This is a far cry better than what used to happen to Japanese text in 
previous versions.

If you are still in doubt of your settings,  another text editor like 
TEX-Edit will show the mac normal view of lines terminated with 
linefeeds (Unix) ,creturn+linefeeds(windows), and creturns(mac).  Though 
BBEdit always seems to do what you tell it to do, even if it doesn't 
make a  lot of noise about it.

Jim Cooper.

On Sunday, September 30, 2001, at 09:46  AM, Jim Correia wrote:

> On 8:17 PM 9/29/01 Justin Simoni <[EMAIL PROTECTED]> wrote:
>
>> Perl files saved in BBEdit in Unix and then closed and reopened, will
>> be opened as a Macintosh format? The problem seems to be that BBEdit
>> isn't changing \n to \r in the editing window, or aren't
>> understanding that the file is using Unix newlines and thinks it's a
>> Mac formatted file.
>>
>> I'm using 10.1. The files I'm working on have a PERL File Kind and a
>> BBEdit icon.
>
> Justin,
>
> I'm not sure specifically what problem you are having.  I see you've
> already contacted support, so they should be able to help.
>
> As a point of information, while in memory, BBEdit always terminates
> lines with \r.  If you are doing searches with BBEdit, \r is going to
> match end of line.
>
> However, when you save the text to a file on disk, the appropriate line
> endings are written out for the particular file in question.
>
> Jim
>
> --
> Jim CorreiaBare Bones Software, Inc.
> [EMAIL PROTECTED] 
>
>
---
reply directly to:

mailto:[EMAIL PROTECTED]
iMedia, Ltd.
Tokyo
---




Re: Problem opening files in BBEdit

2001-09-29 Thread Justin Simoni

> However, when you save the text to a file on disk, the appropriate line
> endings are written out for the particular file in question.

I think this is the problem, they aren't and then the file type (in bbedit
that is) is set to Macintosh. Doing a search and replace changing \n to \r
will make something that looks like this:

http://skazat.com/for_you/grab.jpg

Into something readable.

That's a 7,000+ program, and no, it's not in Japanese :) This is what I get
when I open a file with Unix line endings.


js



> On 8:17 PM 9/29/01 Justin Simoni <[EMAIL PROTECTED]> wrote:
> 
>> Perl files saved in BBEdit in Unix and then closed and reopened, will
>> be opened as a Macintosh format? The problem seems to be that BBEdit
>> isn't changing \n to \r in the editing window, or aren't
>> understanding that the file is using Unix newlines and thinks it's a
>> Mac formatted file.
>> 
>> I'm using 10.1. The files I'm working on have a PERL File Kind and a
>> BBEdit icon.
> 
> Justin,
> 
> I'm not sure specifically what problem you are having.  I see you've
> already contacted support, so they should be able to help.
> 
> As a point of information, while in memory, BBEdit always terminates
> lines with \r.  If you are doing searches with BBEdit, \r is going to
> match end of line.
> 
> However, when you save the text to a file on disk, the appropriate line
> endings are written out for the particular file in question.
> 
> Jim




Re: Problem opening files in BBEdit

2001-09-29 Thread Jim Correia

On 8:17 PM 9/29/01 Justin Simoni <[EMAIL PROTECTED]> wrote:

> Perl files saved in BBEdit in Unix and then closed and reopened, will
> be opened as a Macintosh format? The problem seems to be that BBEdit
> isn't changing \n to \r in the editing window, or aren't
> understanding that the file is using Unix newlines and thinks it's a
> Mac formatted file.
> 
> I'm using 10.1. The files I'm working on have a PERL File Kind and a
> BBEdit icon.

Justin,

I'm not sure specifically what problem you are having.  I see you've
already contacted support, so they should be able to help.

As a point of information, while in memory, BBEdit always terminates
lines with \r.  If you are doing searches with BBEdit, \r is going to
match end of line.

However, when you save the text to a file on disk, the appropriate line
endings are written out for the particular file in question.

Jim

-- 
Jim CorreiaBare Bones Software, Inc.
[EMAIL PROTECTED] 



Problem opening files in BBEdit

2001-09-29 Thread Justin Simoni

Has anyone experienced this,

Perl files saved in BBEdit in Unix and then closed and reopened, will be
opened as a Macintosh format? The problem seems to be that BBEdit isn't
changing \n to \r in the editing window, or aren't understanding that the
file is using Unix newlines and thinks it's a Mac formatted file.

I'm using 10.1. The files I'm working on have a PERL File Kind and a BBEdit
icon. 

justin.
http://skazat.com