Re: Search Replace Issue

2006-12-24 Thread Parv
in message [EMAIL PROTECTED], wrote Josh Paetzel thusly... On Saturday 23 December 2006 21:29, Jack Stone wrote: Appreciate a tip on how to search replace hundreds of *.htm files: From this: lia href=http://www.domain.com/tales/wouf.html To this: lia href=tales/wouf.html

Re: Search Replace Issue

2006-12-24 Thread DeepTech
OK, specifically, sed -e 's/http\:\/\/www\.domain\.htm\///g' *.htm *.htm The sed command processes files with some regexp stuff, this command removes the http://www.domain.htm/ from htms. NOTE: not sure if u have to use a '\' before that ':' ___

Message (Your message dated Sun, 24 Dec 2006 14:57:03...)

2006-12-24 Thread L-Soft list server at LISTS.WAYNE.EDU (1.8d)
Your message dated Sun, 24 Dec 2006 14:57:03 +0300 with subject Returned mail: Data format error has been submitted to the moderator of the HARVEYPROJ list: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list

Re: looking for advice on NAS

2006-12-24 Thread Derek Ragona
You can do an implementation of NAS using FreeBSD with samba this works pretty well. If you want a simpler implementation you can use FreeNAS, http://www.freenas.org/ With drive prices so low, and RAID easily available, you can do a mirrored or mirrored stripped RAID array for redundancy.

Re: portversion vs. pkg_version

2006-12-24 Thread Sherry Zhang
Mr. Lee: imho, portversion(uses the INDEX file to look up port versions) is like the desktop search(searh an index file), and the pkg_version( queries the port versions directly) is like the find command(search the entire disk);) use portversion instead, it's efficient cause it use port

Re: [ot] can I have an account on your host? (so that I can edit wikipedia)

2006-12-24 Thread Sherry Zhang
hi,张�|武 imho. maybe you can use https instead if you can stand for the slow speed. but you'd better not do that for your safety:) btw, use tor to browse the wikipedia, there are several ways on how to edit wikipedia inside the great firewall. the great firewall is great! Sherry Zhang On

Problems with UBUNTU mounting NFS share from FreeBSD

2006-12-24 Thread stan
I've got a 4.11-STABLE FreeBSD machine that I'd like to provide NFS services to some UBUNTU 6.10 machines. I've put the following in /etc/exports: /usr /usr/local/www/data/pictures -alldirs-maproot=0 all When I try to mount this, I get: [EMAIL PROTECTED]:~# mount black:/usr /tmp/mnt

Re: portversion vs. pkg_version

2006-12-24 Thread RW
On Sun, 24 Dec 2006 13:42:39 +0800 Edward G.J. Lee [EMAIL PROTECTED] wrote: Hi all, What's the difference between `portversion' and `pkg_version -I'? Probably not much. pkg_version is part of the base-system, portversion is one of the portupgrade package tools. Since portversion was

Re: Problems with UBUNTU mounting NFS share from FreeBSD

2006-12-24 Thread Bill Moran
stan [EMAIL PROTECTED] wrote: I've got a 4.11-STABLE FreeBSD machine that I'd like to provide NFS services to some UBUNTU 6.10 machines. I've put the following in /etc/exports: /usr /usr/local/www/data/pictures -alldirs-maproot=0 all When I try to mount this, I get: [EMAIL

Re: Search Replace Issue

2006-12-24 Thread Jack Stone
From: Parv [EMAIL PROTECTED] To: Josh Paetzel [EMAIL PROTECTED] CC: Jack Stone [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: Re: Search Replace Issue Date: Sun, 24 Dec 2006 02:56:32 -0500 in message [EMAIL PROTECTED], wrote Josh Paetzel thusly... On Saturday 23 December 2006

Re: portversion vs. pkg_version

2006-12-24 Thread Edward G.J. Lee
Thanks, Sherry, On Sun, Dec 24, 2006, Sherry Zhang wrote: Mr. Lee: imho, portversion(uses the INDEX file to look up port versions) is like the desktop search(searh an index file), and the pkg_version( queries the port versions directly) is like the find command(search the entire disk);)

Re: portversion vs. pkg_version

2006-12-24 Thread Edward G.J. Lee
On Sun, Dec 24, 2006, RW wrote: Personally, I don't like to get version information from the INDEX file, I'd rather get an accurate answer, than a fast one. Another reason I don't like portversion is that it's forever asking me to run pkgdb. Aside from being a pain, it makes portversion

Re: where are /usr/local/etc/rc.d init scripts run from?

2006-12-24 Thread Michael P. Soulier
On 12/23/06, Kevin Brunelle [EMAIL PROTECTED] wrote: I was unintentionally confusing in my answer. Sorry about that. If your startup script is in the old style, it will be handled by /etc/rc.d/localpkg when that is called during the boot process. That is ONLY if it's the old style. I should

Re: portversion vs. pkg_version

2006-12-24 Thread ajm
On Sun, Dec 24, 2006 at 11:21:54PM +0800, Edward G.J. Lee wrote: On Sun, Dec 24, 2006, RW wrote: Personally, I don't like to get version information from the INDEX file, I'd rather get an accurate answer, than a fast one. Another reason I don't like portversion is that it's forever asking

error when doing make installworld

2006-12-24 Thread Dino Vliet
Hi peeps, I have tried to update my src with cvsup and got stuck because of an error while doing make installworld. My system is an amd64 machine running freebsd 6.1 and I have performed the steps without problems: -make buildworld -make buildkernel kernconf=mykkernel -make installkernel

Re: Possibility for FreeBSD 4.11 Extended Support

2006-12-24 Thread dick hoogendijk
On Sat, 2006-12-23 at 07:45, Robert Watson wrote: It's interesting that so far I've actually not yet seen even one person e-mail security-team since the EoL announcement to say, If I volunteer my time or pay for your time to support 4.11 for security patches, can we extend the

Re: error when doing make installworld

2006-12-24 Thread Beech Rintoul
On Sunday 24 December 2006 07:46, Dino Vliet wrote: Hi peeps, I have tried to update my src with cvsup and got stuck because of an error while doing make installworld. My system is an amd64 machine running freebsd 6.1 and I have performed the steps without problems: -make buildworld -make

Re: error when doing make installworld

2006-12-24 Thread Dino Vliet
Hi Beech, many thanks for your clear help. I will try that in a few moments However, I wanted to ask you something else becuase of your quote: Doing a make installworld before finding out if the new kernel will boot will bite you big time at some point Unquote How am I able to find out if

Re: error when doing make installworld

2006-12-24 Thread N.J. Mann
On Sunday, 24 December, 2006 at 08:46:15 -0800, Dino Vliet wrote: Hi peeps, I have tried to update my src with cvsup and got stuck because of an error while doing make installworld. My system is an amd64 machine running freebsd 6.1 and I have performed the steps without problems: -make

Re: error when doing make installworld

2006-12-24 Thread Beech Rintoul
On Sunday 24 December 2006 09:00, Dino Vliet wrote: Hi Beech, many thanks for your clear help. I will try that in a few moments However, I wanted to ask you something else becuase of your quote: Doing a make installworld before finding out if the new kernel will boot will bite you

hardware acceleration for ATI Radeon 9600 ?

2006-12-24 Thread deeptech71
Last official ATI video card support for FreeBSD was the 9400 series drivers. I've heard about some reverse engineered drivers from Linux. Is there any way to get hardware acceleration for ATI Radeon 9600 series? I want to run OpenGL applications, and not with software rendering.

Re: FF 2.0 hogging the cpu in FreeBSD 6.2-PRELEASE

2006-12-24 Thread Garrett Cooper
Christian Walther wrote: On 23/12/06, Michael P. Soulier [EMAIL PROTECTED] wrote: [...] Firefox is a pig on every platform. Plus, more sites are using javascript for AJAX these days, pushing more and more load onto the client. I agree. It's painfull to see that you browse a website and it

Re: FF 2.0 hogging the cpu in FreeBSD 6.2-PRELEASE

2006-12-24 Thread Garrett Cooper
Abdullah Al-Marrie wrote: On 12/23/06, Christian Walther [EMAIL PROTECTED] wrote: On 23/12/06, Michael P. Soulier [EMAIL PROTECTED] wrote: [...] Firefox is a pig on every platform. Plus, more sites are using javascript for AJAX these days, pushing more and more load onto the client. I

Re: uncalled for reboot

2006-12-24 Thread Garrett Cooper
Rico Secada wrote: On Sat, 23 Dec 2006 14:38:43 -0700 Z. Wade Hampton [EMAIL PROTECTED] wrote: Thanks Bill. I'll keep that in mind. I think I have the problem figured out. *base=/var/db was set in the supfile. After changing it to /usr, the problem went away. You can be 99.9%

Re: hardware acceleration for ATI Radeon 9600 ?

2006-12-24 Thread Andrew Pantyukhin
On 12/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Last official ATI video card support for FreeBSD was the 9400 series drivers. I've heard about some reverse engineered drivers from Linux. Is there any way to get hardware acceleration for ATI Radeon 9600 series? I want to run OpenGL

Re: Search Replace Issue

2006-12-24 Thread Garrett Cooper
Jack Stone wrote: Appreciate a tip on how to search replace hundreds of *.htm files: From this: lia href=http://www.domain.com/tales/wouf.html To this: lia href=tales/wouf.html In other words, I just want the relative path and remove all the extra: http://www.domain.htm/ portions of the

Re: Search Replace Issue

2006-12-24 Thread Garrett Cooper
Jack Stone wrote: From: Parv [EMAIL PROTECTED] To: Josh Paetzel [EMAIL PROTECTED] CC: Jack Stone [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: Re: Search Replace Issue Date: Sun, 24 Dec 2006 02:56:32 -0500 in message [EMAIL PROTECTED], wrote Josh Paetzel thusly... On Saturday

[Fwd: Re: Search Replace Issue]

2006-12-24 Thread Mike Jeays
---BeginMessage--- On Sun, 2006-12-24 at 12:13 -0800, Garrett Cooper wrote: Jack Stone wrote: From: Parv [EMAIL PROTECTED] To: Josh Paetzel [EMAIL PROTECTED] CC: Jack Stone [EMAIL PROTECTED], freebsd-questions@freebsd.org Subject: Re: Search Replace Issue Date: Sun, 24 Dec 2006

Re: hardware acceleration for ATI Radeon 9600 ?

2006-12-24 Thread deeptech71
Andrew Pantyukhin wrote: On 12/24/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Last official ATI video card support for FreeBSD was the 9400 series drivers. I've heard about some reverse engineered drivers from Linux. Is there any way to get hardware acceleration for ATI Radeon 9600 series? I

Re: Search Replace Issue

2006-12-24 Thread perryh
From this: lia href=http://www.domain.com/tales/wouf.html To this: lia href=tales/wouf.html In other words, I just want the relative path and remove all the extra: http://www.domain.htm/ portions of the lines. ... cat file.html | sed -e s|http://www.domain.com||g file.tmp.html

Re: error when doing make installworld

2006-12-24 Thread Beech Rintoul
On Sunday 24 December 2006 16:42, Dino Vliet wrote: --- Beech Rintoul [EMAIL PROTECTED] wrote: On Sunday 24 December 2006 09:00, Dino Vliet wrote: Hi Beech, many thanks for your clear help. I will try that in a few moments However, I wanted to ask you something else

Re: Search Replace Issue

2006-12-24 Thread Parv
in message [EMAIL PROTECTED], wrote Garrett Cooper thusly... cat file.html | sed -e s|http://www.domain.com||g ... Not really a need for cat(1), just use input redirection ... sed -e '...' file - Parv -- ___ freebsd-questions@freebsd.org

OT: sed usage (was Re: Search Replace Issue)

2006-12-24 Thread Parv
in message [EMAIL PROTECTED], wrote DeepTech thusly... sed -e 's/http\:\/\/www\.domain\.htm\///g' *.htm *.htm That will most likely destroy the original file(s). Depending on your shell, you will get redirection error from the shell if there happen to be more than one file matching the