Re: [vox-tech] count pixels

2007-02-21 Thread Jim Angstadt
--- Wade Pinkston [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I need to process some images and count the number of pixes of a given color. A little background. I want to take pix of leaves against a mat background. The leaves are then subjected

Re: [vox-tech] Firefox Returns To Top, Ebay

2004-08-09 Thread Jim Angstadt
--- Bill Kendrick [EMAIL PROTECTED] wrote: On Mon, Aug 09, 2004 at 05:10:15PM -0700, Jim Angstadt wrote: With FF he is returned to the *top* of the first page. With IE he is returned to the *current* item of interest. I could not replicate this with a quick Google search using Moz

Re: [vox-tech] Firefox Returns To Top, Ebay

2004-08-09 Thread Jim Angstadt
--- Rod Roark [EMAIL PROTECTED] wrote: On Monday 09 August 2004 05:10 pm, Jim Angstadt wrote: ... On my RH 9 box, with FF 0.7, I get the same behavior as his FF 0.9 on Win98. Using Mozill 1.2 on RH 9, has the same effect. Mozilla 1.6 too. Though it's something peculiar to eBay

Re: [vox-tech] Firefox Returns To Top, Ebay

2004-08-09 Thread Jim Angstadt
--- Ken Herron [EMAIL PROTECTED] wrote: snip I tried this just now with mozilla (a copy I compiled from source over the weekend) and it worked fine. After clicking on an individual auction and clicking back, mozilla returned to the auction list page and positioned the view to the

Re: [vox-tech] Firefox Returns To Top, Ebay

2004-08-09 Thread Jim Angstadt
--- mrp [EMAIL PROTECTED] wrote: [...] Hmm... I don't know if mine does this right now, but let me suggest a different usage mode that may make thing much faster. I know you said that opening the link in a new tab isn't any better, but I wonder why? When I'm sorting through a long

Re: [vox-tech] Perl help requested

2004-02-10 Thread Jim Angstadt
--- Richard Crawford [EMAIL PROTECTED] wrote: Peter Jay Salzman said: On Tue 10 Feb 04, 9:56 AM, Richard Crawford [EMAIL PROTECTED] said: I'm trying to write a Perl application that will go through a directory and give the amount of space used by each directory, including each

Re: [vox-tech] spam to defeat bayesian filtering?

2003-12-18 Thread Jim Angstadt
--- Peter Jay Salzman [EMAIL PROTECTED] wrote: snip has anybody thought about these types of spams in relation to bayesian filters? or perhaps read an article written by someone who's given the matter some thought? snip Paul Graham has numerous articles on spam in general and bayesian

Re: [vox-tech] spam to defeat bayesian filtering?

2003-12-18 Thread Jim Angstadt
--- Peter Jay Salzman [EMAIL PROTECTED] wrote: On Thu 18 Dec 03, 9:27 AM, Jim Angstadt [EMAIL PROTECTED] said: --- Peter Jay Salzman [EMAIL PROTECTED] wrote: snip has anybody thought about these types of spams in relation to bayesian filters? or perhaps read an article

Re: [vox-tech] Getting https with perl

2003-07-02 Thread Jim Angstadt
--- Ken Herron [EMAIL PROTECTED] wrote: --On Tuesday, July 01, 2003 16:41:08 -0700 Jim Angstadt [EMAIL PROTECTED] wrote: snip my $response = $ua-request($req) or die ...; print $response-content; Hi Ken, Thanks for the help. It worked just as you, and the manual, said: my

[vox-tech] Getting https with perl

2003-07-01 Thread Jim Angstadt
Hi All, I'm trying to get https pages with perl. A previous msg [1] led me to install Crypt-SSLeay and OpenSSL, which went good. Now I've got code that looks bad and works poorly. my $ua = LWP::UserAgent-new( timeout = 20, ) || die Cannot create new LWP UserAgent: $! \n; my $req

[vox-tech] Freshen glibc

2003-06-25 Thread Jim Angstadt
Hi All, I'm updating Red Hat 9.0 on my test box at home with rh errata[1]. From the rh glibc page[2], it looks like I only need 2 rpms: glibc-2.3.2-27.9.i686.rpm glibc-common-2.3.2-27.9.i386.rpm # rpm -Fvh --test glibc-2.3.2-27.9.i686.rpm warning: glibc-2.3.2-27.9.i686.rpm: V3 DSA

Re: [vox-tech] Freshen glibc

2003-06-25 Thread Jim Angstadt
Hi Samuel and Mark, Thank you both. The Freshen went just as you said it would. I rebooted, did a little testing, and all seems fine. That went much easier than expected. Thanks, Jim __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

Re: [vox-tech] Redhat 8.0 shutdown does not power off.

2003-06-09 Thread Jim Angstadt
--- Mike Simons [EMAIL PROTECTED] Jim Angstadt wrote: snip If you really want to get it fixed I would suggest: - Upgrading the kernel to the latest stable version (2.4.20), verifying it happens there... more snip Hi Mike, I like that approach but want to defer it until I can spend

Re: [vox-tech] Redhat 8.0 shutdown does not power off.

2003-06-06 Thread Jim Angstadt
--- Mike Simons [EMAIL PROTECTED] wrote: On Wed, Jun 04, 2003 at 04:57:42PM -0700, Jim Angstadt wrote: --- Mike Simons [EMAIL PROTECTED] wrote: - using magic sysrq you can trigger the power off kernel function to see if the kernel method works correctly on a given box

Re: [vox-tech] Redhat 8.0 shutdown does not power off.

2003-06-06 Thread Jim Angstadt
--- Mike Simons [EMAIL PROTECTED] snip - Run shutdown -h now, three times and report if it still gets stuck? Did s-u-o to get a know starting point, then: 1. hung after ...TERM..., phy pwr off, phy pwr on 2. clean to power down, reboot 3. clean to power down, off 4. clean to power down, off

Re: [vox-tech] Redhat 8.0 shutdown does not power off.

2003-06-06 Thread Jim Angstadt
--- Mike Simons [EMAIL PROTECTED] Jim Angstadt wrote: --- Mike Simons many snips Did s-u-o to get a know starting point, then: 1. hung after ...TERM..., phy pwr off, phy pwr on 2. clean to power down, reboot 3. clean to power down, off 4. clean to power down, off 5. hung after

Re: [vox-tech] Redhat 8.0 shutdown does not power off.

2003-06-05 Thread Jim Angstadt
--- Mike Simons [EMAIL PROTECTED] wrote: snip - Could you briefly explain which machines are mounting what with NFS? My RH 9.0 box exports 4 trees. The RH 8.0 and 7.2 boxes mount the 4 trees. - /etc/exports from RH 9.0 box /data

Re: [vox-tech] Redhat 8.0 shutdown does not power off.

2003-06-05 Thread Jim Angstadt
--- Mike Simons [EMAIL PROTECTED] wrote: On Wed, Jun 04, 2003 at 02:43:12PM -0700, Jim Angstadt wrote: --- Mike Simons [EMAIL PROTECTED] wrote: On Wed, Jun 04, 2003 at 02:05:21PM -0700, Jim Angstadt wrote: msimons wrote: I still think that the reason your machine does

[vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt
Hi All, Until recently I was able to 'poweroff' a Red Hat 8.0 box. Now the poweroff results in a reboot. That is, it looks like it is shutting down normally, processes are stopped, and the screen goes black. But then the computer starts up, does the bios thing, and begins to load the os. The

Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt
--- Mike Simons [EMAIL PROTECTED] wrote: On Tue, Jun 03, 2003 at 10:15:51AM -0700, Jim Angstadt wrote: Until recently I was able to 'poweroff' a Red Hat 8.0 box. Now the poweroff results in a reboot. [...] As processes are shut down, the machine hangs after issuing the message

Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt
--- Peter Jay [EMAIL PROTECTED]: On Tue 03 Jun 03, 11:21 AM, Jim AnAngstadt jijimajimayahoo.com said: The only kernel changes were months ago as I [1] tried to get gnome-pilot working. There was a procedure I followed that somehow enabled USUSB in the kernel. I

Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt
--- Jim AnAngstadtjijimajimayahoo.com wrote: --- Peter Jay SaSaSalzmanpididiracrorgwrote On Tue 03 Jun 03, 11:21 AM, Jim AnAnAngstadt jijijimajimayahooom said: I apologize for the garbled msg. Apparently yahoo gets the hickups from spell check. Please let me clarify: I ran telinit with a 6

Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt
--- Rob Rogers [EMAIL PROTECTED] wrote: On Tue, Jun 03, 2003 at 12:32:57PM -0700, Jim Angstadt wrote: --- Jim Angstadt [EMAIL PROTECTED] wrote: --- Mark K. Kim [EMAIL PROTECTED] wrote: On Tue, 3 Jun 2003, Jim Angstadt wrote: snip Any chance this is an e-machines box? Some

Re: [vox-tech] Unwanted ReBoot

2003-06-04 Thread Jim Angstadt
--- Peter Jay Salzman [EMAIL PROTECTED] wrote: On Tue 03 Jun 03, 1:26 PM, Jim Angstadt [EMAIL PROTECTED] said: --- Rob Rogers [EMAIL PROTECTED] wrote: On Tue, Jun 03, 2003 at 12:32:57PM -0700, Angstadt wrote: --- Jim Angstadt [EMAIL PROTECTED] wrote: --- Mark K. Kim

[vox-tech] Padding Variables in bash

2003-04-12 Thread Jim Angstadt
Hi All, perl has a nice way of padding variables to line up columns: print \t$a, ' 'x($block - length($a)), \tb: $b \n; Is there something similar in bash? This hurts my eyes: # --- space_over()# echo $1 spaces { i=$1 while (( $i

Re: [vox-tech] SSH On Home Network

2003-03-11 Thread Jim Angstadt
--- Jeff Newmiller [EMAIL PROTECTED] wrote: On Mon, 10 Mar 2003, Jim Angstadt wrote: --- Mike Simons [EMAIL PROTECTED] wrote: Jim, Thanks for the output. Two observations: - You are using the wrong IP address when ssh'ing from the rh7.2 box to the rh8.0

[vox-tech] Static IP Addresses On Home LAN

2003-03-11 Thread Jim Angstadt
Hi All, This is a followup to the thread on ssh on home network, but really is a new topic. I've been reading the Red Hat 8.0 docs on interface config [1], which describes two approaches for ip addresses. With the fixed address approach, the ifcfg-eth0 [2] file looks like this: DEVICE=eth0

Re: [vox-tech] Static IP Addresses On Home LAN

2003-03-11 Thread Jim Angstadt
--- Mike Simons [EMAIL PROTECTED] wrote: snip Using DHCP is better. It centralizes the configurations of your network settings in one place, so that it is easy to change and see conflicts. Having it set to DHCP allows you to move your machine onto other networks and not need to fiddle

[vox-tech] SSH On Home Network

2003-03-10 Thread Jim Angstadt
Hi All, I've added a Red Hat 8.0 box to my home network. It does not accept ssh or ping from the other boxes - rh7.2 and win98 - on my home network. I want my linux boxes to serve ssh to the other boxes on my network. On the rh8.0 box, when I run: netstat -at | grep ssh it shows LISTEN.

Re: [vox-tech] SSH On Home Network

2003-03-10 Thread Jim Angstadt
, then look into firewall rules and limits from filters. I can ssh to other boxes from my rh8.0 box. Could you give me a starting point for this, please. I'm totally ignorant on firewalls and filters. -ME Jim Angstadt said: I've added a Red Hat 8.0 box to my home network. It does

Re: [vox-tech] SSH On Home Network

2003-03-10 Thread Jim Angstadt
Hi Mike, Here is the output you requested. Thanks for the directions. Jim --- Mike Simons [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2003 at 02:28:44PM -0800, Jim Angstadt wrote: Immediately after failed ssh attempts, I did not find any error messages in /var/log/messages. Below

Re: [vox-tech] SSH On Home Network

2003-03-10 Thread Jim Angstadt
--- ME [EMAIL PROTECTED] wrote: Jim Angstadt said: [likely need works with filters] Could you give me a starting point for this, please. Mike Simmons has asked for the output from two commands in a response to this. This should help you along this path. In addition to his request

Re: [vox-tech] SSH On Home Network

2003-03-10 Thread Jim Angstadt
--- Nino Brown [EMAIL PROTECTED] wrote: On Mon, 10 Mar 2003, Jim Angstadt wrote: Could you give me a starting point for this, please. I'm totally ignorant on firewalls and filters. When you installed 8.0, did you include firewalling? Hi Nino, During install I selected medium security

Re: [vox-tech] SSH On Home Network

2003-03-10 Thread Jim Angstadt
--- Nino Brown [EMAIL PROTECTED] wrote: On Mon, 10 Mar 2003, Jim Angstadt wrote: snip I'm not sure if 8.0's firewall runs ipchains or iptables. You can check by typing lsmod | grep ipchains. If you see a line there, then you can disable the firewall by typing ipchains -F

Re: [vox-tech] SSH On Home Network

2003-03-10 Thread Jim Angstadt
--- ME [EMAIL PROTECTED] wrote: Jim Angstadt said: --- ME [EMAIL PROTECTED] wrote: Jim Angstadt said: snip Could you try this: # iptables -t filter -D INPUT 1 -p tcp -s 192.168.0.0/24 -d 192.168.0.3\ --destination-port 22 -j ACCEPT I get Illegal option '-s' with this command. Jim

Re: [vox-tech] SSH On Home Network

2003-03-10 Thread Jim Angstadt
hold off with flushing for now. [btw, sorry Nino for not seeing the -F option.] So let me know how this goes... TTFN, Mike On Mon, Mar 10, 2003 at 02:28:44PM -0800, Jim Angstadt wrote: Chain INPUT (policy ACCEPT 8045 packets, 9116K bytes) pkts bytes target prot opt

[vox-tech] Using Convert to Resize Images

2003-02-19 Thread Jim Angstadt
Hi All, For the past few months I've been using convert, inside a perl script, to resize all jpg images in a dir, using this syntax: `convert -geometry $geo $from $to`; According to the man page, this uses a default quality of 75, on a scale of 0(worst)..100(best). Generally I have been

Re: [vox-tech] cgi-bin in user home dirs

2003-02-11 Thread Jim Angstadt
--- Jeff Newmiller [EMAIL PROTECTED] wrote: On Mon, 10 Feb 2003, Jim Angstadt wrote: --- Tim Riley [EMAIL PROTECTED] wrote: Jim Angstadt wrote: --- Tim Riley [EMAIL PROTECTED] wrote: Jim Angstadt wrote: snip Thanks for the help. I added both items to httpd.conf

Re: [vox-tech] cgi-bin in user home dirs

2003-02-11 Thread Jim Angstadt
--- Tim Riley [EMAIL PROTECTED] wrote: Jim Angstadt wrote: snip Try http://localhost/cgi-ja/test.cgi. Apache should map cgi-ja to /home/ja/cgi-bin because of the ScriptAlias entry. It Works! Tim, thanks for hanging in there with me. I really appreciate the solution. Now I can go forward

Re: [vox-tech] cgi-bin in user home dirs

2003-02-11 Thread Jim Angstadt
--- Ken Bloom [EMAIL PROTECTED] wrote: From: Jim Angstadt [EMAIL PROTECTED] --- Tim Riley [EMAIL PROTECTED] wrote: Jim Angstadt wrote: snip Tim wasn't quite sure what he was trying to do, and he said that. He gave you instructions to access http://localhost/cgi-ja/ as a cgi-bin

[vox-tech] cgi-bin in user home dirs

2003-02-10 Thread Jim Angstadt
Hi All, I'm trying to allow user accounts to have their own cgi-bin directory on a RH 7.2, apache box at my home. For testing, I have file test.cgi. (See below for file and permissions.) When the file is placed in /var/www/cgi-bin it works. Meaning, when I open a browser and key in

Re: [vox-tech] cgi-bin in user home dirs

2003-02-10 Thread Jim Angstadt
--- Tim Riley [EMAIL PROTECTED] wrote: Jim Angstadt wrote: Hi All, I'm trying to allow user accounts to have their own cgi-bin directory on a RH 7.2, apache box at my home. For testing, I have file test.cgi. (See below for file and permissions.) When the file is placed

Re: [vox-tech] cgi-bin in user home dirs

2003-02-10 Thread Jim Angstadt
--- Tim Riley [EMAIL PROTECTED] wrote: Jim Angstadt wrote: --- Tim Riley [EMAIL PROTECTED] wrote: Jim Angstadt wrote: snip Thanks for the help. I added both items to httpd.conf and then restarted httpd. Then I keyed http://localhost/~ja/cgi-ja/test.cgi into the browser location

[vox-tech] Error Message From find

2003-01-16 Thread Jim Angstadt
Hi All, Sometimes find will work; other times not. Below is a script where find runs good, I cd to a subordinate dir, run the same find command, and get an error message. This is repeatable on my Red Hat 7.2 system. If I were using relative addressing, then sure, it should be a problem. But

Re: [vox-tech] Error Message From find

2003-01-16 Thread Jim Angstadt
--- Samuel Merritt [EMAIL PROTECTED] wrote: snip You need to enclose *.php in double quotes so your shell will leave it alone. snip That worked. Thanks! Jim __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

[vox-tech] PHP Files Do Not Execute

2002-12-11 Thread Jim Angstadt
Hi All, Another question from a PHP newbie. Yesterday my RH 7.2 box crashed due to UPS problems ( that's another story.) After a power up, all seemed OK. This morning I notice that some of the PHP scripts do not work. Others work fine. All were working prior to the crash. For example,

[vox-tech] PHP Include File Problem

2002-12-09 Thread Jim Angstadt
Hi All, I just started to learn PHP and need help with an include file. Below are 3 test files. The 4th line of html_header, ie. the xml declaration, creates a parse error: parse error in [snip]/html_header.php on line 4 When the line is removed, no parse error and the page displays

Re: [vox-tech] PHP Include File Problem

2002-12-09 Thread Jim Angstadt
appears to be HTML, not XML. What happens if you take that line out? -Alan Hi Alan, If I take the xml line out, then the page will display. But, since it is an xhtml page, and I want my pages to validate, I've used it, as you see it, on all my static pages. On Mon, 2002-12-09 at 17:46, Jim

Re: [vox-tech] PHP Include File Problem

2002-12-09 Thread Jim Angstadt
--- Troy Arnold [EMAIL PROTECTED] wrote: Two options: One, include your xml declaration as a quoted string: echo '?xml version=1.0?'; Or, disable php's short_open_tags ( ? ? vs. ?php ? ) Try sticking this in a .htaccess: php_flag short_open_tag off You might also be able to toggle

Re: [vox-tech] reading files into a web page

2002-02-03 Thread Jim Angstadt
--- Peter Jay Salzman [EMAIL PROTECTED] wrote: jim, just out of curiosity, in my hypothetical webpage: snip where would the perl code go? (i am a total newbie in dynamic webpage content). sorry if this question is painful, but i honestly don't know. :) Hi Pete, I was thinking more

Re: [vox-tech] reading files into a web page

2002-02-02 Thread Jim Angstadt
--- Peter Jay Salzman [EMAIL PROTECTED] wrote: snip HTML HEADTITLEBulletin Board/TITLE/HEAD BODY PRE `cat /www/pcgm/bulletins` /PRE /BODY /HTML how can i do this? i *think* php can do this, but i snip Hi Pete, Don't know PHP but Perl could do it: # - #!/perl/bin/perl.exe -w

Re: [vox-tech] dumb perl question

2002-01-12 Thread Jim Angstadt
--- Peter Jay Salzman [EMAIL PROTECTED] wrote: snip /(\d+).*/; $temperature = $+; $1 holds the \d+ matching, because it has parens. Multiple sets of parens will match $1, $2, ... based on the left to right order of the parens. If $temperature already had one or more digits \d+

Re: [vox-tech] dumb perl question

2002-01-12 Thread Jim Angstadt
--- Peter Jay Salzman [EMAIL PROTECTED] wrote: the string that i'm matching though is $_, not $temperature. $_ holds a filename, like 100.energy, and i'd like to extract the 100 from the filename and put it in $temperature. doesn't $temperature =~ s/(\d+).*/$1/; assume that

Re: [vox-tech] perl question: how to detect operating system?

2001-12-24 Thread Jim Angstadt
--- Peter Jay Salzman [EMAIL PROTECTED] wrote: in perl, how does one go about detecting what operating system the program is running under? --- #!/perl/bin/perl -w use strict; my $OS = ''; # - Thanks to the author of CGI.pl - # # FIGURE OUT THE OS WE'RE