Skip to main content
Search titles, bodies, and author names
Found 67,165 posts across 1 forum.

CW 6 c++ coding — #1

I have a copy of codewarrior 6 running on x pb. However I'm totally lost as where to start. I find one tutorial hello world. I want to code in c++ .Anyone know where there are cod…
MacNN Development

CW 6 c++ coding — #2

Not clear if you already know C++ or not. If you know some C++ and want to start programming Carbon apps for Mac OS 8/9/X using CodeWarrior, read the "PowerPlant Book," which is s…
MacNN Development

MacOSX and Perl — #1

I have a little unix/Linux experience. I don't know Perl. I'm trying to run a basic "Hello world" file in Perl on OSX. Has anybody else had any luck with this? What is the path to …
MacNN Troubleshooting

MacOSX and Perl — #2

yeah for the most part... The file system browser (excuuuuuse me the finder) doesn't seem to recognized it as an executable file and opens it in the editor for me when I doubleclic…
MacNN Troubleshooting

MacOSX and Perl — #3

Quote: Originally posted by jhh: I think the "finder" should see the file as executable and do this for me. To get the Finder to take the appropriate action for thes…
MacNN Troubleshooting

MacOSX and Perl — #4

I used vi to create a file: #1/usr/bin/perl print ("hello, world!\n"); 2 lines I saved the file in my default user directory as HelloPerl.pl At the command prompt I typed:] chmod …
MacNN Troubleshooting

MacOSX and Perl — #5

when in doubt use which. [davinci:~] terry% which perl /usr/bin/perl [davinci:~] terry% Contents of my HelloPerl.pl #!/usr/bin/perl print "Hello World!\n"; Attempt to run Hell…
MacNN Troubleshooting

MacOSX and Perl — #6

when in doubt use which. [davinci:~] terry% which perl /usr/bin/perl [davinci:~] terry% Contents of my HelloPerl.pl #!/usr/bin/perl print "Hello World!\n"; Attempt to run Hell…
MacNN Troubleshooting

MacOSX and Perl — #7

That's the correct binary location. The script works for me, try typing in: perl HelloPerl.pl at the command line.
MacNN Troubleshooting by parallax

MacOSX and Perl — #8

prior to setting the path as specified by "int69h" the method provided by "parallax" worked. It never occured to me to throw the file to perl as an argument, but that did work, how…
MacNN Troubleshooting

MacOSX and Perl — #9

Adding your curret directory to your PATH with PATH=${PATH}:. can be a security risk. Someone might disable a common system command and place a trojaned someplace sensitive. just…
MacNN Troubleshooting

MacOSX and Perl — #10

If someone has enough privileges to remove system commands, you've got a lot more to worry about than a trojan. Let's say some luser writes a program that appends + + to ~/.rhosts…
MacNN Troubleshooting

MacOSX and Perl — #11

If someone has enough privileges to remove system commands, you've got a lot more to worry about than a trojan. Let's say some luser writes a program that appends + + to ~/.rhosts…
MacNN Troubleshooting

Mail.app in the service menu — #1

Does anyone remember in DP4 under the services menu, there was a Mail submenu, which was especially useful for e-mailing webpages from omniweb. But, apple seems to have killed thi…
MacNN Troubleshooting

Mail.app in the service menu — #2

It's still there. Do you not get it? Do you have a Services menu at all? There is an intermittent problem where sometimes the first time you bring it up the entries in the menu a…
MacNN Troubleshooting

Mail.app in the service menu — #3

i don't get a mail submenu in OS X--i get 3 menus. diisk copy grab text edit that's it..... when exactly does the "services" menu come up? it seems like random apps have it...
MacNN Troubleshooting

Mail.app in the service menu — #4

Right now, Services menu is available in Cocoa apps only. As far as what items appear in there: This depends on your current selection (text or graphic or file or ...). If in a g…
MacNN Troubleshooting

Running pdflatex with PHP on OSX — #1

Wow ... I'm learning all sorts of new skills with OSX (and my brain is beginning to hurt)! My currently problem is a PHP script that I can't quite get to work properly and wonder …
MacNN Software

Running pdflatex with PHP on OSX — #2

Quote: Originally posted by QuatermassX: Wow ... I'm learning all sorts of new skills with OSX (and my brain is beginning to hurt)! My currently problem is a PHP script…
MacNN Software

Running pdflatex with PHP on OSX — #3

Sorry, actually "pdflatex" DOES run just fine from the command line ... attributes and all ... and that's the maddening part of this ... Works from the command line, but not PHP .…
MacNN Software

Running pdflatex with PHP on OSX — #4

Ah HA! I had to insert the full path to "pdflatex" in my script ... weird ... but the thing runs beautifully now! Oh, the full app is for online creation of custom PDF's from La…
MacNN Software

Running pdflatex with PHP on OSX — #6

Hmm, well, this is a project for work, so I'm not free to post all the code. HOWEVER ;-) There's nothing all that fancy going on with the project. I have a bunch of books written …
MacNN Software

Running pdflatex with PHP on OSX — #7

Quote: Originally posted by QuatermassX: I need to slice and dice them and generate PDF's from the customized content via a web-browser-based interface. Wait - does…
MacNN Software

compiling bash on OSX PB — #1

Thanks very much to the ShowAllFiles posting that allows me to view all system files in the finder. If you tried building bash 2.04 (from the www.opensource.apple.com site) on OS…
MacNN Troubleshooting
mp.ls