OT: WebDav won't allow put...

2006-04-14 Thread Jerry LeVan
Hi, I decided I want to muck around with webdav on my Mac 10.4.6 client Apache 1.3x stock install. I enabled the loading of the mod_dav module in the httpd.conf and added: DAVLockDB /Library/WebServer/DAVlock Directory /Library/WebServer/Documents/webdav DAV On AuthType basic AuthName

Re: OT: WebDav won't allow put...

2006-04-14 Thread Jerry LeVan
kl. 14.16 skrev Jerry LeVan: Hi, I decided I want to muck around with webdav on my Mac 10.4.6 client Apache 1.3x stock install. I enabled the loading of the mod_dav module in the httpd.conf and added: DAVLockDB /Library/WebServer/DAVlock Directory /Library/WebServer/Documents/webdav DAV

Re: Authentication woes...

2005-08-28 Thread Jerry LeVan
authentication authority is : ;ShadowHash;HASHLIST:SALTED-SHA1 I think mucking around with the SMB login stuff caused the traditional unix style authentication to break. It does not look like fixing qpopper is in the near future ;( Jerry On Aug 27, 2005, at 8:42 PM, Jerry LeVan wrote: Hi, I just

Re: Authentication woes...

2005-08-28 Thread Jerry LeVan
For what it is worth the answer to the question below is located here: On 28/08/05, Jerry LeVan [EMAIL PROTECTED] wrote: I think that I somehow need to use the Directory Services to answer the question (programatically) : Is foo the password of user faz? http://developer.apple.com

Authentication woes...

2005-08-27 Thread Jerry LeVan
Hi, I just added a PC to my home network and was playing with trying to access directories on my Mac OS X system and suddenly my pop server quit working (qpopper). It had been working fine for at least a year! Not a single user could connect to the server via telnet ( I can connect ok but

Re: GD installation issue

2005-01-04 Thread Jerry LeVan
Hmm, I guess the source I used must have been a bit dated. I copied the files config.guess and config.sub but I still had to copy /usr/bin/glibtool over the generated libtool in order to get a link. Jerry On Jan 4, 2005, at 12:27 PM, Sherm Pendley wrote: On Jan 4, 2005, at 7:37 AM, Jan Eden wrote:

Re: Forking Signals

2004-08-19 Thread Jerry LeVan
See http://homepage.mac.com/levanj/LinkSys and grab linksys.pl. It has a trap handler prints a message to a log file closes the log file and then exits. (it does some other interesting stuff if you have a linksys router :) Jerry On Aug 19, 2004, at 3:49 PM, wren argetlahm wrote: I have a perl

Re: pSync/Panther how?

2004-08-03 Thread Jerry LeVan
I am running Deju Vu which runs psync under the hood, works fine for me... Jerry On Aug 3, 2004, at 4:06 PM, Ingo Weiss wrote: Hi all, I would like to use pSync for backups. I used it in Jaguar, but it seems that it's not compatible with Panther currenlty. The Author recommended to install a

Re: Interface advice needed

2004-06-15 Thread Jerry LeVan
Well, there is the Perl/Tk toolkit that can provide a gui. The only drawback is that it requires the (free) X11 server to be running. Another slicker choice would be Aqua Tcl/Tk. It comes with a native gui interface. but it requires downloading the (free) Aqua Tcl/Tk system. Cocoa has a

Re: Perl droplet how?

2004-06-06 Thread Jerry LeVan
Try Drop Script or Platypus. Jerry On Jun 6, 2004, at 3:06 PM, Ingo Weiss wrote: Hi all, how can i make a Perl droplet (A Perl script that processes files or folders dropped onto it) fast and easily? Thanks for any help! Ingo

Re: Converting PDF to JPEG

2004-05-17 Thread Jerry LeVan
Hmmm, what am I doing wrong... [macjerry:~/Desktop]$ sips -s format pdf FixedColor.jpg --out FixedColor.pdf /Users/jerry/Desktop/FixedColor.jpg Error: Not a valid format value /Users/jerry/Desktop/FixedColor.pdf [macjerry:~/Desktop]$ sips -s format pdf FixedColor.jpg --out FixedColor.pdf

Re: Converting PDF to JPEG

2004-05-17 Thread Jerry LeVan
I have been browsing some Python code from the Image package. It appears that they offer a variety of scaling algorithms. Seems like I remember that one of the examples produced thumbnails and you could control sharpness, brightness, contrast and color However I don't think Python does PDF so I

Re: Converting PDF to JPEG

2004-05-15 Thread Jerry LeVan
Seems like Graphic Converter might fill the bill... Jerry On May 15, 2004, at 11:35 AM, Rich Morin wrote: Background: I'm using grap(1) and pic(1) to generate some graphs and diagrams. Using groff(1) and ps2pdf(1), I'm getting nice-looking results on paper and in PDF viewers such as Preview.

Re: Converting PDF to JPEG

2004-05-15 Thread Jerry LeVan
-0400 5/15/04, Jerry LeVan wrote: Seems like Graphic Converter might fill the bill... Nope; it doesn't import PDFs. -r -- email: [EMAIL PROTECTED]; phone: +1 650-873-7841 http://www.cfcl.com- Canta Forda Computer Laboratory http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc

Re: Converting PDF to JPEG

2004-05-15 Thread Jerry LeVan
in or the script errored with a can't find window 1 message Jerry On May 15, 2004, at 2:51 PM, Rich Morin wrote: At 2:25 PM -0400 5/15/04, Jerry LeVan wrote: Seems like Graphic Converter might fill the bill... Nope; it doesn't import PDFs. -r -- email: [EMAIL PROTECTED]; phone: +1 650-873-7841 http

Re: backing up using DejaVu

2004-05-03 Thread Jerry LeVan
On May 2, 2004, at 9:50 PM, Joseph Alotta wrote: Jerry, On May 1, 2004, at 2:58 PM, Jerry LeVan wrote: You might try one more time, the first time takes the longest, subsequent invocations just looks at differences... I can't think of any reason why the program is chewing cpu after the task

Re: backing up using DejaVu

2004-05-03 Thread Jerry LeVan
kind of like watching it work while I do other things. If my powerbook were to sleep in the middle of it, would it break something or would it just pick up where it left off? Joe. On May 3, 2004, at 6:54 AM, Jerry LeVan wrote: I can't think of any reason why not :), If you examine the source

Re: backing up using DejaVu

2004-05-03 Thread Jerry LeVan
psync -d / /Volumes/backup and it worked real nice. I kind of like watching it work while I do other things. If my powerbook were to sleep in the middle of it, would it break something or would it just pick up where it left off? Joe. On May 3, 2004, at 6:54 AM, Jerry LeVan wrote: I can't think

Re: backing up using DejaVu

2004-05-01 Thread Jerry LeVan
You might try one more time, the first time takes the longest, subsequent invocations just looks at differences... I can't think of any reason why the program is chewing cpu after the task is finished. It works by calling psync ( a perl program to do the copying and adjusting permissions). I

Re: backing up system

2004-04-30 Thread Jerry LeVan
I use DejaVu for periodic backing up of important folders. It runs as a preference panel, uses cron and psync. If you want to use cron and let your system go to sleep then you might want to take a look some of the stuff I have at http://homepage.mac.com/levanj/Cocoa. It turns out you have to

Re: backing up system

2004-04-30 Thread Jerry LeVan
any many PM events as you want. Jerry On Apr 30, 2004, at 4:57 PM, Sherm Pendley wrote: On Apr 30, 2004, at 4:36 PM, Jerry LeVan wrote: If you want to use cron and let your system go to sleep then you might want to take a look some of the stuff I have at http://homepage.mac.com/levanj/Cocoa

Documentation Install Problem with perl/tk

2004-04-25 Thread Jerry LeVan
This morning I installed the latest version of perl/tk (804.27). After the install I noticed a folder named man in my root directory. The man folder contained a man1 and a man3 folder. Each of these folders contains files with names like Tk//grid.3pm. The contents look like nroff stuff. ( Note

Re: Documentation Install Problem with perl/tk

2004-04-25 Thread Jerry LeVan
On Apr 25, 2004, at 3:06 PM, Sherm Pendley wrote: On Apr 24, 2004, at 11:13 PM, Jerry LeVan wrote: The man folder contained a man1 and a man3 folder. Each of these folders contains files with names like Tk//grid.3pm. The contents look like nroff stuff. ( Note the : is the native mac file path

Re: Simple perl script send email

2004-04-25 Thread Jerry LeVan
My daily.local file looks like: /usr/bin/mail -s Crontab jerry DOC Cron ran at `date` `/usr/local/bin/dailyWakeup` DOC No need for perl if you have Postfix set up :) Cron runs the daily.local file if it exists in periodic daily I requeue a wakeup request for the next morning... see

Re: Preview.app opening multiple files

2004-03-23 Thread Jerry LeVan
You could use an applescript... This seems to work tell application Finder open {Macintosh HD:Users:jerry:Pictures:ElephantHead.jpg, ¬ Macintosh HD:Users:jerry:Pictures:PB.jpg} end tell --Jerry On Mar 23, 2004, at 6:35 PM, Chris Devers wrote: On Tue, 23 Mar 2004, Joseph

OT: Looked at system.log lately?

2004-03-23 Thread Jerry LeVan
Hi, I upgraded to 10.3.3 and it appears to tickled a USB problem, system.log is growing at about 250K a day. The same error message over and over and over... The diagonostic disk shows no errors. Apple has asked for a profile and copy of a system log. It sounds like I am not the only one with

Re: Urgent: Turning a script into a droplet

2004-03-16 Thread Jerry LeVan
Do a search for DropScript on Google. --Jerry On Mar 16, 2004, at 12:06 AM, Rick Measham wrote: Need some quick help ... how do I turn a perl script into a droplet (and when I do, do the dropped files appear in @ARGV still?) Cheers! Rick Senior Developer PrintSupply - Print Procurement Supply

Re: Affrus PLUS Perl/TK

2004-03-11 Thread Jerry LeVan
Last version of Tk I tried built out of the box. Jerry PS - any Perl/TK users out there? Do we have an FAQ for this yet? I use TK with perl on Solaris alot, but haven't yet turned my attention to running this under OS X. Installation instructions/pitfalls might be a nice thread, if not

Re: Perl/TK (Was: ANNOUNCE: Affrus 1.0 - a Perl Debugger

2004-03-11 Thread Jerry LeVan
Works fine on my stock Panther Perl...Tk-804.025_beta13 Jerry Bohdan Any quick way to install for use? A web-site or page on this? It installs according to the INSTALL.darwin in the distro. You *cannot* use the Panther Perl with it. You have to build your own. My configure line (which works

Re: Affrus PLUS Perl/TK

2004-03-11 Thread Jerry LeVan
Yes :) Jerry On Mar 11, 2004, at 6:09 PM, Bohdan Peter Rekshynskyj wrote: On Mar 11, 2004, at 18:05, Jerry LeVan wrote: Last version of Tk I tried built out of the box. Do you mean you downloaded this from CPAN or somewhere? Thanks! BPR PS - Mark - Affrus support TK extensions? Could I

Re: Perl/TK (Was: ANNOUNCE: Affrus 1.0 - a Perl Debugger

2004-03-11 Thread Jerry LeVan
wrote: On Mar 11, 2004, at 18:15, Jerry LeVan wrote: Works fine on my stock Panther Perl...Tk-804.025_beta13 So - you downloaded this from CPAN and just used the Darwin install then? No kludges or anything? BPR Jerry Bohdan Any quick way to install for use? A web-site or page

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

Perls of taking a vacation...

2003-12-22 Thread Jerry LeVan
After programming every day for about 25 years I retired a year ago and quit programming for a year. I recently bought a soldering station that displays temp in Centigrade so yesterday I saddled up again and ran into the wall with this code for a bit... #!/usr/bin/perl if ( scalar @ARGV ==0){

Re: Problems installing Tk

2003-11-17 Thread Jerry LeVan
Are you running the X server? It pretty well compiled out the box for me. Failed 5 or 6 tests. There is another problem with Tk on Panther is the the standard file open/close dialogs bus error. I have not seen a fix to this problem. --Jerry On Nov 17, 2003, at 4:17 PM, John Delacour wrote:

Re: Problems installing Tk

2003-11-17 Thread Jerry LeVan
Configure is generally found in the Perl source distribution. The version of Perl that comes with Panther builds Tk ok. Your probably need to do something like ./Configure if the perl source directory is not in your PATH. --Jerry On Nov 17, 2003, at 6:14 PM, John Delacour wrote: At 9:17

Re: safe system()?

2003-03-28 Thread Jerry LeVan
Let's say that I want to use a command (e.g., md5) on a file. No problem; just use: system(md5 $file); Except that the file name could contain all manner of white space characters, shell wildcard characters, etc. Is there a module that deals with this sort of thing (e.g., wrapping

Re: DYLD_ALLOW_MULTISYMS

2002-12-16 Thread Jerry LeVan
OK, I know I had this working once before. Trying to install Tk. I've got the DYLD_ALLOW_MULTISYMS environment variable set but I'm still getting the note about duplicate definitions of _LangExit in Tk.bundle and the other one (Event, I think). This is under 10.2.2. Am I correct that you

Re: Process table information

2002-12-03 Thread Jerry LeVan
Well, If we were running linux we could look in /proc. Possible solutions: 1) Get the source for darwin and study the code for the ps command. 2) Study the header files to find the format for the proc table, examine the kernel symbol table to get the start address of the proc table.

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

2002-12-03 Thread Jerry LeVan
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! System and System/Library seem to have suffered

Re: mod_ssl and libdbm

2002-11-19 Thread Jerry LeVan
David [macjerry:/usr/lib]$ otool -vM libSystem.dylib | grep module_name | grep db module_name = ndbm.So module_name = db.So module_name = aliasdb.o module_name = printerdb.o Looks like something is there :) Regrettably I don't understand shared library syntax. Ie how to specify

Perl Tk problem revisited

2002-10-09 Thread Jerry LeVan
Hi, A couple of days ago I complained about getOpenFile always returning an empty string. I also asserted that the widget demo worked. Regrettably I was wrong on both assertions, on my system, MacOSX 10.2.1, Perl 5.8.0, Tk 800.024, the failure only occurs on the first invocation of either call.

Perk Tk Wierdness with getOpen File

2002-10-07 Thread Jerry LeVan
Hi, For some strange reason the following fragment seems to not work... # Get the CSV file name my $types=[['All Files', '*', ]]; if(scalar ARGV 0) { $infile = $ARGV[0]; } else { $infile = $mw-getOpenFile(-filetypes=$types); print -$infile-\n; } In the above if the getOpenFile

Re: Perk Tk Wierdness with getOpen File

2002-10-07 Thread Jerry LeVan
Whoops, the url show be http://homepage.mac.com/levanj/Perl --Jerry Hi, For some strange reason the following fragment seems to not work... # Get the CSV file name my $types=[['All Files', '*', ]]; if(scalar ARGV 0) { $infile = $ARGV[0]; } else { $infile =

Re: Expat 1.95.5 problems...

2002-10-06 Thread Jerry LeVan
Evidently configure did something funky to me! It added a --traditional-cpp flag to the CC define. I was able to Do the build after I deleted the flag. Thanks for the heads up. --Jerry I took it out On 10/6/02 1:43 PM, Jerry LeVan [EMAIL PROTECTED] wrote: Any one built the version

Re: A man page viewer...

2002-10-02 Thread Jerry LeVan
ManThor... a cocoa manpage viewer. That got Jagwired and doesn't work anymore. This little perlman viewer is a perfect replacement, and I can use it on my Linux box at work as well. Many thanks, Puneet. On Monday, September 30, 2002, at 03:26 PM, Jerry LeVan wrote: Hi, I dusted off

Re: OT: MacAngst

2002-09-30 Thread Jerry LeVan
The behavior you described is typical unix gotcha, if you name a program test then issuing the command test nothing will apparently happen because the command test is generally built into the shell. test.pl is ok and ./test is ok but unadorned test won't... --Jerry At 13:34 -0400 9/30/02,

A man page viewer...

2002-09-30 Thread Jerry LeVan
Hi, I dusted off my old man page viewer and it seems to work in Jaguar. The program is cgi that displays man pages in a not unpleasing format. The cgi collects a set of parameters and feeds them to the man command. I try to do a reasonable job of preventing evil input, please let me know if you

Re: Slightly OT - Tk on Mac OS X

2002-09-28 Thread Jerry LeVan
Installation instructions : http://www.lehigh.edu/~sol0/Macintosh/X/ptk/ Books: Learning Perl TK -- Check O'Reilly's site Mastering Perl/Tk -- Same publisher. Much can be gleaned from the demos included in the source distribution. There is a Perl/Tk mailing list located at Stanford

Re: Perl/Tk on OS X

2002-09-26 Thread Jerry LeVan
I have built Perl/Tk for: MacOS X 10.1.5 and Perl 5.6.1 and MacOS X 10.2.1 and Perl 5.8.0 I followed the instructions found at: http://www.lehigh.edu/~sol0/Macintosh/X/ptk/ Could you be a bit more specific as to how your build failed? (Be careful, *don't* try the dyld replacement trick

Re: Perl/Tk on OS X

2002-09-26 Thread Jerry LeVan
Are you sure that you are exporting DYLD_ALLOW_MULTISYMS? --Jerry Whoops! Spoke too soon. This is weird. Built fine, the demos run well. However if I try and create event the simplest perl/tk script, I get dyld errors and it fails: dyld: perl multiple definitions of symbol _LangExit

Re: Still no joy in Mudville.

2002-09-23 Thread Jerry LeVan
I've struck out. I'm still getting the following undefined symbols from Perl 5.8: dyld: perl Undefined symbols: _Perl_sv_2pv _perl_get_sv Trace/BPT trap Also discovered the following when attempting to run another program: dyld: perl Undefined symbols: _Perl_safefree

Re: Locale setting errors - LC_ALL, LANG

2002-09-20 Thread Jerry LeVan
Hi, I undef'ed the locale stuff in hints.sh and have not noticed any evil to this point. # Locales aren't feeling well. #LC_ALL=C; export LC_ALL; #LANG=C; export LANG; d_setlocale=undef; ==Jerry This was _really_ annoying me to the point of burning effigies of camels, so with a view to

NetScape Strangeness (just a little off topic...)

2002-07-28 Thread Jerry LeVan
Hi, I recently abandoned IE 5.x for MacOS X because it would not play nice with BankOne's online banking. Netscape is much better behaved. I recently noticed that I can't set a bookmark to get to the Perl documentation. My IE book mark looked something like:

A couple of more tools...

2002-05-28 Thread Jerry LeVan
Greetings, I have pretty much cleaned out my perl closet ( getting ready to abandon an account that I have had for at least a decade). I have uploaded to http://homepage.mac.com/levanj A little eye candy and a couple of tools I have found handy. There are a couple of perl

Ouch! bitten by zombies

2002-05-25 Thread Jerry LeVan
Grrr, I was raised in a Sys V /Linux environment and in my perl programs that are multithreaded I have been using: SIG{CHLD} = 'IGNORE' ; To deal with the problem of zombies. Much to my chagrin, yesterday I found out that Darwin/MacOS X does not work that way. I found out via a simple

How to get the current IP from a Linksys Router

2002-05-12 Thread Jerry LeVan
change the admin password below From the default ³admin² in the curl command. #!/usr/bin/perl # # fetch the current ip address from the linksys router... # Jerry LeVan ([EMAIL PROTECTED]) # Mac OS X 10.1.4 # May 12,2002 # my ($pattern,$thePage,$theAddress,$wan,$ip,$theip); #define the pattern we