Re: confusing bullets

2004-01-11 Thread John Delacour
At 9:26 pm -0500 10/1/04, Vic Norton wrote: I'm sorry, John. I was talking figuratively. I didn't mean real bullets. FIguratively or no, you were right on target with your choice. The bullet is a character in the 'macintosh' character set (referred to wrongly by the Perl people MacRoman)

Re: confusing bullets

2004-01-11 Thread Doug McNutt
At 13:52 -0500 1/11/04, Vic Norton wrote: Now I seem to have resolved the problem--sort of. I believe it's a bug in BBEdit. I suspect BareBones will call it a feature. The unwillingness of BBEdit to work on a file without doing things like changing all of the line ends has been a pain. It is

Re: confusing bullets

2004-01-11 Thread John Delacour
At 1:52 pm -0500 11/1/04, Vic Norton wrote: # file0.pl - The data in file0.pl is a real bullet, #namely A5. But the script file0.pl can't #find it when run from BBEdit. Vic, before I spend time testing this, what do you mean by real bullet namely A5. Do

Re: confusing bullets

2004-01-11 Thread Vic Norton
Hi John, What I meant and sent was what Sherm Pedley called a bullet, namely what is produced on a Mac when you type option-8. The unicode character is \x{2022}. On web pages it is #8226;. When I put pbullet #8226;/p on a web page, open the page in Safari, copy the bullet from the page, and

Re: confusing bulltes

2004-01-11 Thread Vic Norton
I'm sorry for all the confusion. Let me try one last time. I have a perl file with a single chunk of data produced by typing option-8 after __DATA__. So the end of the file looks like this: __DATA__ option-8 When I look at this file with HexEdit, option-8 appears as A5. My actual

Re: confusing bulltes

2004-01-11 Thread Oliver Schnarchendorf
On Sun, 11 Jan 2004 21:02:14 -0500, Vic Norton wrote: My actual script looks for the pattern m/\xa5/ in the data. If I make the script executable and run it from the terminal, it finds A5. If I execute the script from BBEdit, either directly or Run in Terminal, no A5 is found. Okay... I

Re: confusing bulltes

2004-01-11 Thread Peter N Lewis
At 9:02 PM -0500 11/1/04, Vic Norton wrote: When I write another script to print out the bytes under __DATA__, I see A5 if I execute the script from Terminal, and I see E2 80 A2 if I run the script fom BBEdit, either directly or Run in Terminal. But BBEdit can see A5. It just can't see it as

Re: confusing bulltes

2004-01-11 Thread Jim Correia
On Jan 11, 2004, at 9:55 PM, Peter N Lewis wrote: When you 'run the script from BBEdit, either directly or Run in Terminal.', what actually happens is BBEdit saves the file in a temporary file and then executes it. Not always. If the editing window is unsaved, or has non-native line endings,

Help! OpenDirectory refuses to add admin acct to LDAP

2004-01-11 Thread Randall Perry
Did an upgrade from 10.2.6 to 10.3.2 on an Xserve. During upgrade, kept server as Standalone. Tried switching to OpenDirectory. It worked, but if I look under users in the LDAP dir my admin account authentication info I added when switching to OD (UID 501) isn't there. If I enable showing system

Getting a 'Save As' dialog box

2004-01-11 Thread Rick Measham
Hello People, I need some help with a perl on OS-X problem. I need to pop up a 'Save As' dialog. Basically the same as the one AppleScript gives you when you: choose file name with prompt Select a location to save this file default name Name but I need to do this from perl. At first I

Re: Getting a 'Save As' dialog box

2004-01-11 Thread Jerry LeVan
Have you ever looked at Perl/Tk ? It provides a complete GUI for Perl under X11. --Jerry On Jan 11, 2004, at 10:51 PM, Rick Measham wrote: Hello People, I need some help with a perl on OS-X problem. I need to pop up a 'Save As' dialog. Basically the same as the one AppleScript gives you when

Re: Getting a 'Save As' dialog box

2004-01-11 Thread John Delacour
At 2:51 pm +1100 12/1/04, Rick Measham wrote: I used CPAN module Mac::AppleScript and I don't get any reply at all: RunAppleScript Further to my last posting, I discover that some applications will not behave properly if the tell target is themselves. Eudora and BBEdit 6.5 are two

Re: Getting a 'Save As' dialog box

2004-01-11 Thread Rick Measham
Thanks John, Works a treat! On 12 Jan 2004, at 03:47 pm, John Delacour wrote: At 2:51 pm +1100 12/1/04, Rick Measham wrote: I used CPAN module Mac::AppleScript and I don't get any reply at all: RunAppleScript Further to my last posting, I discover that some applications will not

Re: confusing bullets

2004-01-11 Thread John Delacour
At 6:21 pm -0500 11/1/04, Vic Norton wrote: P.S. I tried your script below. I haven't the slightest idea what the output means. As I said, a real web bullet is #8226;. A bullet can be written in valid html code in the real world in half a dozen different ways, and that would not be the