Re: question on Perl's ssh

2005-06-25 Thread Adam Wells
On Jun 24, 2005, at 1:10 PM, Ted Zeng wrote: SSH has been a big headache to me. I wish OS X just has telnet. It is good enough for my purpose. I wish SSH has an option that says turn it into rlogin or telnet. Mac OS X does have a telnet daemon -- but it's disabled by default. On Tiger, you c

Re: Whither Developer Tools?

2004-06-10 Thread Adam Wells
At 8:39 AM +1000 6/10/04, John Horner wrote: A guy in my office just got a new G5 delivered. I asked to borrow his Developer Tools CD because I've mislaid mine. Surprisingly, there's no such thing. New G5s come with two DVDs and I couldn't find the Dev Tools anywhere in them. The Help, when I s

Re: Evil undocumented Apple commands (was Re: Non-Perl but baffling question)

2003-02-26 Thread Adam Wells
At 14:33 -0800 2/26/03, Daniel Stillwaggon wrote: On Wednesday, Feb 26, 2003, at 12:44 US/Pacific, Jonathan King wrote: But my "favorite" undocumented program in the system is /usr/sbin/softwareupdate. Uniquely powerful, no man page, no source I can find, and a couple of things that look a bit wei

Re: Non-Perl but baffling question

2003-02-25 Thread Adam Wells
At 10:12 AM +1100 2/26/03, John Horner wrote: I have an OSX machine used as a server in another room. I nearly always get to it via a shell app. I can't remember the exact version of X that's on it. How do I find out if it's 10.1.3 or 10.1.5 from the command-line? Use the command "sw_vers". On

Re: a question about upgrading to jaguar

2003-02-14 Thread Adam Wells
At 12:01 -0500 2/14/03, Gary Blackburn wrote: I'm not an Apache expert by any means, but one of the changes in the new httpd.conf is this: RegisterUserSite all-users RegisterDefaultSite Which sounds kinda cool, even if I don't know what it does. :-) mod_rendezvous? Mod_rendezvous allows you

Re: a folder of file system questions

2003-02-05 Thread Adam Wells
At 12:57 -0800 2/5/03, John Gilmore-Baldwin wrote: Well, I can be of a little help, I think: On Wednesday, February 5, 2003, at 12:23 AM, Rich Morin wrote: I've come up with some peculiar questions about OSX file systems: * How can I get the file length and size on disk for a file's Data

Re: new to unix: basic help

2002-12-13 Thread Adam Wells
At 14:02 -0800 12/13/02, David Wheeler wrote: On Friday, December 13, 2002, at 01:54 PM, Riccardo Perotti wrote: Can somebody please supply with the actual commands involved in "The usual make, test, install routine", starting from the folder where my downloaded software would be? If you're w

Re: closing and opening a browser

2002-12-10 Thread Adam Wells
At 16:08 -0800 12/10/02, bob ackerman wrote: On Tuesday, December 10, 2002, at 02:08 PM, Adam Wells wrote: At 14:02 -0800 12/10/02, bob ackerman wrote: On Tuesday, December 10, 2002, at 01:31 PM, Matt Morse wrote: also i'm interesed in opening a browser with a valid internet addre

Re: closing and opening a browser

2002-12-10 Thread Adam Wells
At 14:02 -0800 12/10/02, bob ackerman wrote: On Tuesday, December 10, 2002, at 01:31 PM, Matt Morse wrote: also i'm interesed in opening a browser with a valid internet address as argument but i can't find out the syntax for mac os x - can anyone give a hand with that? You can use the open co

Re: closing and opening a browser

2002-12-10 Thread Adam Wells
At 13:31 -0800 12/10/02, Matt Morse wrote: also i'm interesed in opening a browser with a valid internet address as argument but i can't find out the syntax for mac os x - can anyone give a hand with that? You can use the open command (see the man page for details): open -a Internet\ Explor

Re: closing and opening a browser

2002-12-10 Thread Adam Wells
At 21:44 +0100 12/10/02, allan wrote: hi 2 small problems. i like to know how to close a program like Internet Explorer from perl. the little script below seem to work for me, but i guess there must be a cleaner and more correct way. also i'm interesed in opening a browser with a valid internet

Re: open() a resource fork

2002-12-05 Thread Adam Wells
At 12:38 -0500 12/5/02, Chris Nandor wrote: Does anyone know how to open a resource fork, with open(), sysopen(), POSIX::open(), etc.? On Mac OS, I would use O_RSRC, but that is apparently not available in Mac OS X's fcntl.h. You can access the resource fork of any file by appending "/..namedf

Re: [OT}Arrgh, Something has gone wrong with my permissions

2002-12-03 Thread Adam Wells
At 14:58 -0500 12/3/02, Jerry LeVan wrote: This morning when I tried to send some mail I was kept getting failure messages. Reading mail was OK. Mail log asserted localhost had refused connection. After some putzing around I noticed that "/" was owned by me and had all permissions turned on! Sy

OT: Re: NetInfo

2002-11-21 Thread Adam Wells
At 20:12 -0500 11/21/02, Gary Blackburn wrote: "In Mac OS X 10.1.x and earlier, the system was configure to consult the Netinfo database for all directory information...However, in Mac OS X 10.2 (Jaguar), NetInfo functions more as a legacy protocol. Instead of being a major player in the direct

Re: ImageMagick vs. NetPBM

2002-11-13 Thread Adam Wells
At 18:34 -0600 11/13/02, Puneet Kishor wrote: Thanks Adam, for a good description of NetPBM. I understand that better now. Seems very similar to ImageMagick (which is also a suite of tools). I have spent some time looking at PBMPlus at acme.com, and reading the NetPBM docs, but I don't see muc

Re: ImageMagick vs. NetPBM

2002-11-13 Thread Adam Wells
At 10:46 -0600 11/13/02, Puneet Kishor wrote: There has been a lot of discussion here re (Image|Perl)Magick. I have not installed it on my iBook but have installed and used it on my Windoze box and found it to be very fun. However, I recently came across NetPBM. While it might be old news for s

Re: mac X+ perl where is the web folder

2002-08-30 Thread Adam Wells
At 22:30 -0500 8/29/02, Puneet Kishor wrote: >If you have Apache 2 that means you (or someone else on that >machine) installed it. Apache 2 does not come with OS X. If you >installed it you probably know where you installed it. Actually, Apache 2 does come with Jaguar Server 10.2. However, it'

Re: looking for backup solution...

2002-07-12 Thread Adam Wells
At 11:38 -0700 7/12/02, Randal L. Schwartz wrote: > find2perl /Dir -eval '-f and -s "$_/..namedfork/rsrc"' -print | perl Wow, that's cool. I had never heard of find2perl. I learn something new every day on this list. I ran both the find command and the find2perl command against /Applicatio

Re: looking for backup solution...

2002-07-12 Thread Adam Wells
At 7:44 -0400 7/12/02, Erik Price wrote: >BUT -- this is a little off topic, but could someone point me to a >resource describing which kinds of files need the special treatment? >I run OS X only but I have heard that there are still some apps that >use the dichotomous file structure. This way

Re: Accessing AFP remote volumes?

2002-05-01 Thread Adam Wells
instead of directly calling "mount_afp" if you can. Someday, the functionality of mount_afp may be folded into mount, and mount_afp may go away. If you're using "mount -t afp", you won't have to change all your scripts when that happens. adam -- -- Adam Wells <[EMAIL PROTECTED]> Mac OS X Server QA Apple Computer

Re: A Solution: Apache SSL Hangs after Reboot

2002-04-01 Thread Adam Wells
At 21:12 -0600 4/1/02, Chris Devers wrote: >Thanks, but I read it twice & now three times, and I still don't get it. >Why does setting up SSL mode boots of Apache get easier when you boot into >single user mode, as opposed to just doing "sudo pico /etc/hostconfig" and >then rebooting without the e

Re: What causes loginwindow.app to start Startup Assistant?

2002-01-14 Thread Adam Wells
At 3:59 +0900 1/14/02, Dan Kogai wrote: > Then I switched startup volume to backup disk. MacOSX boots >smoothly and... Startup Assistant appears. You can ssh to the >machine with the same account and same key, every file is there. >It's just Startup Assistant; Until you create a new accoun

Re: Output text to printer

2002-01-04 Thread Adam Wells
At 17:44 -0600 1/4/02, Bill Stephenson wrote: >I did get as far as a print error when I tried to run something like this >from the terminal: > >Print -Mtxt /test.txt I got an error too when I tried this: [bh2065:~] adam% Print test.txt Converting TEXT file to postscript... [ 1 pages * 1 copy ] l

Re: BOM.pm -- what is it for?

2001-12-19 Thread Adam Wells
At 16:08 -0600 12/19/01, Chris Devers wrote: >Good observation. I have one naked .bom file in there and 36 .pkg folders, >all of which contain a .bom file. Can't tell what any of them are though, >since /usr/bin/strings insists they aren't object files & thus won't read >them. They're clearly not

Re: formatting money, was Re: Making Money

2001-12-06 Thread Adam Wells
At 10:41 -0600 12/6/01, Chris Devers wrote: >After that you start going into niches ("Perl for System Administration", >"Perl for Bioinformatics") or esoterica ("Mastering Regular Expressions", >"Object Oriented Perl") and it's all good to know if you want to go that >far with it, but I'd start wi