Re: how to get rid of a character, 0x80?

2009-09-08 Thread Mark Stapper
Gary Kline wrote: anybody know why getchar() doesn't see 0x80 == 0200? if getchar() is limited to 7-bit characters, what then? % od -c file shows me that every character fits into 8 bits, so getwchar() is the next thing. but doesn't getwchar grab wide-chars

Re: me in ipfw rules - does it include aliases?

2009-09-08 Thread Nikos Vassiliadis
Tom Worster wrote: the ipfw man page says: me matches any IP address configured on an interface in the system. which suggests that if i code my rules using me then when i add an alias ip address to an interface with ifconfig, these me rules will immediately work for the newly added address

Re: Is there such thing as a 'soft checksum' tool?

2009-09-08 Thread perryh
Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: On Monday 07 September 2009 05:09:53 Michael David Crawford wrote: M I'm looking for a pseudo-checksum tool for use with M cataloging images. One way you could approach it might be to use a blur filter ... Small differences

policy-violation found in sent message

2009-09-08 Thread System Anti-Virus Administrator
Attention: freebsd-questions@freebsd.org A policy-violation was found in an Email message you sent. This Email scanner intercepted it and stopped the entire message reaching its destination. The policy-violation was reported to be: SCR files not allowed per Company security policy Please

Re: Freebsd Built-in vacation program does not auto reply

2009-09-08 Thread lyd mc
Hi Andre, I use CFLAGS=-O2. Best regards, Alyd --- On Tue, 9/8/09, Andre Albsmeier andre.albsme...@siemens.com wrote: From: Andre Albsmeier andre.albsme...@siemens.com Subject: Re: Freebsd Built-in vacation program does not auto reply To: lyd mc alydi...@yahoo.com Cc: Andre Albsmeier

Re: Is there such thing as a 'soft checksum' tool?

2009-09-08 Thread Michaël Grünewald
per...@pluto.rain.com wrote: Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net wrote: However, thinking about this inquiry and JPEG in the same sentence has given me an idea that might help the OP: JPEG is a lossy compression, with the degree of loss related to the chosen image quality,

Re: how to get rid of a character, 0x80?

2009-09-08 Thread Bertram Scharpf
Hi, Am Dienstag, 08. Sep 2009, 08:00:27 +0200 schrieb Mark Stapper: Gary Kline wrote: anybody know why getchar() doesn't see 0x80 == 0200? Presumably, you want to read a capital C with cedille? (0x80 128 Ç) \x80 is a nonbreakable space in iso8859-1/-15. (And a Euro sign in

Re: is there a way of usinf greo to find 3 or 4 blank lines?

2009-09-08 Thread Mark Willson
Gary Kline wrote: On Mon, Sep 07, 2009 at 08:06:51AM +0100, Mark Willson wrote: The following version should do what you want: BEGIN { ncnt = 0 prev = BOF } /^ *$/ { ncnt++; if (ncnt 3) { print Emphasis at NR : prev; prev = -multiple-

Re: Freebsd Built-in vacation program does not auto reply

2009-09-08 Thread Andre Albsmeier
On Fri, 04-Sep-2009 at 20:43:21 +0200, Andre Albsmeier wrote: On Thu, 16-Apr-2009 at 18:00:26 +, lyd mc wrote: Hi guys, Why Freebsd built-in vacation program (/usr/bin/vacation) does not auto reply? I am using fresh installed Freebsd7.0 and 7.1. here is my configs. Did you

Re: how to get rid of a character, 0x80?

2009-09-08 Thread Jon Radel
Mark Stapper wrote: besides.. 0x80!=0200 it's 0200 octal which is 128 decimal... Might be why it doesn't work for you. Don't mess with his head. ;-) 0200 = 0x80 = 128 200 octal = 80 hex = 128 decimal -- --Jon Radel j...@radel.com smime.p7s Description: S/MIME Cryptographic Signature

Re: difficult-to-phrase question...

2009-09-08 Thread RW
On Mon, 7 Sep 2009 18:34:15 -0700 Gary Kline kl...@thought.org wrote: On Tue, Sep 08, 2009 at 01:56:12AM +0100, RW wrote: Wouldn't you be better-off just turning-off session management, and using autostart instead sounds like a good idea; how do i accomplish this? The

Re: What invokes cricket on FreeBSD

2009-09-08 Thread stan
On Fri, Sep 04, 2009 at 05:04:19PM +0200, Mel Flynn wrote: On Friday 04 September 2009 16:28:07 stan wrote: On Thu, Sep 03, 2009 at 11:41:28PM +0200, Mel Flynn wrote: On Thursday 03 September 2009 22:23:47 stan wrote: On Thu, Sep 03, 2009 at 10:10:13PM +0200, Mel Flynn wrote: On

Re: how to get rid of a character, 0x80?

2009-09-08 Thread Jim White
On Tue, Sep 8, 2009 at 7:43 AM, Jon Radel j...@radel.com wrote: Mark Stapper wrote: besides.. 0x80!=0200 it's 0200 octal which is 128 decimal... Might be why it doesn't work for you. Don't mess with his head. ;-) 0200 = 0x80 = 128 200 octal = 80 hex = 128 decimal -- --Jon Radel

Re: me in ipfw rules - does it include aliases?

2009-09-08 Thread Nikos Vassiliadis
Tom Worster wrote: thanks, nikos. You're welcome. i'm interested in your other comment about the risks of using me. All I am saying is that you have to take care of attacks which use me addresses. Packets with source address a me address coming from a network interface, AKA spoofed

Re: me in ipfw rules - does it include aliases?

2009-09-08 Thread Tom Worster
On 9/8/09 2:58 AM, Nikos Vassiliadis nvass9...@gmx.com wrote: Tom Worster wrote: the ipfw man page says: me matches any IP address configured on an interface in the system. which suggests that if i code my rules using me then when i add an alias ip address to an interface with

GEOM: the secondary GPT table is corrupt

2009-09-08 Thread Tom Worster
i'm using gmirror on a server box here at home without understanding how geom works in any detail. i probably followed the handbook chapter 19.4 but it was a while ago. i'm wondering if there's a way to clear these warnings in boot logs: ad4: 715404MB SAMSUNG HD753LJ 1AA01107 at ata2-master

Invitation to help test the BSD News Network...

2009-09-08 Thread Mikel King
Although I have received a very good response, I am still looking for a handful of beta testers as well as some volunteers to help tweak the installation. If you are interested in helping build the BSD News Network then contact me directly off list. Regards, Mikel King CEO, Olivent

Re: how to get rid of a character, 0x80?

2009-09-08 Thread Gary Kline
On Tue, Sep 08, 2009 at 08:02:06AM -0500, Jim White wrote: On Tue, Sep 8, 2009 at 7:43 AM, Jon Radel j...@radel.com wrote: Mark Stapper wrote: besides.. 0x80!=0200 it's 0200 octal which is 128 decimal... Might be why it doesn't work for you. Don't mess with his head. ;-)

Re: ath(4) Atheros AR9285 support

2009-09-08 Thread herbs
I had serious problems using the port hal in combination with an Atheros WiFi card. Maybe disable hal and try again? Cheers herb langhans On Tue, Sep 08, 2009 at 05:23:10PM +0400, Sergey Vinogradov wrote: Hi, Just wanted to know, if there will be any Atheros AR9285 support in ath(4) driver

Re: Inconsistency in root partition size

2009-09-08 Thread Mel Flynn
On Tuesday 08 September 2009 04:14:55 jaymax wrote: restore -tf /disk03/dump/root2.dump rootrestore-0.lst To my surprise rootrestore-0.lst contains a whole listings of ./usr/ files ex. 2926 ./usr/include/bsnmp/snmpmod.h 2927 ./usr/include/bsnmp/snmp_atm.h Now

Re: Reverse Proxy /Proxy Pass

2009-09-08 Thread Agus
2009/9/5 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net: On Saturday 05 September 2009 09:55:54 Agus wrote: 2009/9/3 Mel Flynn mel.flynn+fbsd.questi...@mailing.thruhere.net: On Friday 04 September 2009 01:20:46 Agus wrote: What server, application do u know/recommend me for using as

Re: ath(4) Atheros AR9285 support

2009-09-08 Thread Sergey Vinogradov
herbs wrote: I had serious problems using the port hal in combination with an Atheros WiFi card. Maybe disable hal and try again? Cheers herb langhans On Tue, Sep 08, 2009 at 05:23:10PM +0400, Sergey Vinogradov wrote: Hi, Just wanted to know, if there will be any Atheros AR9285 support

setquota + geli

2009-09-08 Thread Stefan Miklosovic
hi, I would like to set some quotas with setquota on crypted disk with geli, but if I want to do so - /etc/fstab /dev/ad0s2f.eli /home ufs rw,noatime,userquota,groupquota 2 2 /etc/rc.conf enable_quotas=YES I can edit quotas by edquota, but with setquota

Using mdconfig for swap space

2009-09-08 Thread Peter Steele
Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: mdconfig -a -t swap -f /var/swap0 -s 4g swapon -a /dev/md0 to add 4G to the system swap space backed by the file

Re: Using mdconfig for swap space

2009-09-08 Thread Chuck Swiger
Hi, Peter-- On Sep 8, 2009, at 2:51 PM, Peter Steele wrote: Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: mdconfig -a -t swap -f /var/swap0 -s 4g swapon -a

Re: Using mdconfig for swap space

2009-09-08 Thread Adam Vande More
On Tue, Sep 8, 2009 at 4:51 PM, Peter Steele pste...@maxiscale.com wrote: Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: mdconfig -a -t swap -f /var/swap0 -s

Re: Using mdconfig for swap space

2009-09-08 Thread Jerry McAllister
On Tue, Sep 08, 2009 at 04:51:20PM -0500, Peter Steele wrote: Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: Unless I am missing something basic here, it

Re: Using mdconfig for swap space

2009-09-08 Thread RW
On Tue, 8 Sep 2009 16:51:20 -0500 Peter Steele pste...@maxiscale.com wrote: Are there any advantages to using mdconfig and creating a virtual disk for swap space as opposed to having a designated swap partition? For example, I could do something like this: mdconfig -a -t swap -f /var/swap0

Re: Inconsistency in root partition size

2009-09-08 Thread jaymax
Mel Flynn-2 wrote: This is exactly what I figured. Some files are hiding behind a mount point. The got there most likely, cause you did make installworld without /usr mounted, which would happen if you have the FreeBSD source tree on a different location, reboot into single user

metadata is incorrect - freebsd-update

2009-09-08 Thread Eitan Adler
When I try to update to 8.0-BETA3 using freebsd-update I get a gunzip problem like: metadata iscorrupt I tried to remove /var/db/freebsd-update/files/* but I get the same error message Is this a client side problem or a server problem? If the former how do I fix it?