Re: Building and running new package versions not yet in ports?

2010-08-13 Thread Matthew Seaman
On 13/08/2010 07:44, Thomas Mueller wrote: > What do I do if I want to build and run a package where version in > ports collection is not up-to-date, and I want to build and run the > current release version of that package, like Abiword 2.8.6 for > instance, when version in ports is behind? Or may

Re: Telnet => servname ai_socktype error

2010-08-13 Thread Ashish SHUKLA
jaymax writes: [...] > % telnet 0 smtp > 0: servname not supported for ai_socktype What according to you 0 is ? -- Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0 freebsd.org!ashish | http://people.freebsd.org/~ashish/ “There was truth and there was untrut

Re: Grepping a list of words

2010-08-13 Thread Jack L. Stone
At 10:56 AM 8.12.2010 -0700, Chip Camden wrote: >Quoth Anonymous on Thursday, 12 August 2010: >> Oliver Fromme writes: >> >> > John Levine wrote: >> > > > > % egrep 'word1|word2|word3|...|wordn' filename.txt >> > > >> > > > Thanks for the replies. This suggestion won't do the job as the list

Re: Grepping a list of words

2010-08-13 Thread Jonathan McKeown
On Friday 13 August 2010 15:47:38 Jack L. Stone wrote: > The only thing it didn't do for me was the next step. My final objective > was to really determine the words in the "word.file" that were not in the > "main.file." I figured finding matches would be easy and then could then > run a sort|uniq

Re: Grepping a list of words

2010-08-13 Thread Jack L. Stone
At 04:01 PM 8.13.2010 +0200, Jonathan McKeown wrote: >On Friday 13 August 2010 15:47:38 Jack L. Stone wrote: > >> The only thing it didn't do for me was the next step. My final objective >> was to really determine the words in the "word.file" that were not in the >> "main.file." I figured finding m

Re: Building and running new package versions not yet in ports?

2010-08-13 Thread Chip Camden
Quoth Matthew Seaman on Friday, 13 August 2010: > On 13/08/2010 07:44, Thomas Mueller wrote: > > What do I do if I want to build and run a package where version in > > ports collection is not up-to-date, and I want to build and run the > > current release version of that package, like Abiword 2.8.6

awk problem

2010-08-13 Thread Len Conrad
I readfile or pipe this text, in any line order: rm90.steampick.info fgce172.lanejive.info smailer1.service.govdelivery.com fl49.orangetalon.info pollux.carespecial.info into a program to remove subdomains down to domain.tld : awk 'FS="." { print $(NF-1)"."$NF }' and get the first line doubled

Documentation on how to build 32bit applications on amd64?

2010-08-13 Thread Yuri
I need to build 32 bit apps the same way as they would be built on i386. When I run 64-bit gcc I get this: gcc -m32 -o m m.c /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc /usr/bin/ld:

Re: awk problem

2010-08-13 Thread Anonymous
"Len Conrad" writes: > awk 'FS="." { print $(NF-1)"."$NF }' > > rm90.steampick.info.rm90.steampick.info > lanejive.info > govdelivery.com > orangetalon.info > carespecial.info Hmm, I can't reproduce it on /head. What FreeBSD version you're using? Can you try with lang/nawk port? nawk is from the

Re: Documentation on how to build 32bit applications on amd64?

2010-08-13 Thread Anonymous
Yuri writes: > I need to build 32 bit apps the same way as they would be built on i386. > > When I run 64-bit gcc I get this: > gcc -m32 -o m m.c > /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching > for -lgcc > /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching

Re: Documentation on how to build 32bit applications on amd64?

2010-08-13 Thread Dan Nelson
In the last episode (Aug 13), Yuri said: > I need to build 32 bit apps the same way as they would be built on i386. > > When I run 64-bit gcc I get this: > gcc -m32 -o m m.c > /usr/bin/ld: skipping incompatible /usr/lib/libgcc.a when searching for -lgcc > /usr/bin/ld: skipping incompatible /usr/l

Re: awk problem

2010-08-13 Thread Randal L. Schwartz
> "Len" == Len Conrad writes: Len> I readfile or pipe this text, in any line order: Len> rm90.steampick.info Len> fgce172.lanejive.info Len> smailer1.service.govdelivery.com Len> fl49.orangetalon.info Len> pollux.carespecial.info Len> into a program to remove subdomains down to domain.tld :

Re: awk problem

2010-08-13 Thread Len Conrad
-- Original Message -- From: Anonymous Date: Fri, 13 Aug 2010 20:13:20 +0400 >"Len Conrad" writes: > >> awk 'FS="." { print $(NF-1)"."$NF }' >> >> rm90.steampick.info.rm90.steampick.info >> lanejive.info >> govdelivery.com >> orangetalon.info >> carespeci

Re: awk problem

2010-08-13 Thread Anonymous
mer...@stonehenge.com (Randal L. Schwartz) writes: > Len> awk 'FS="." { print $(NF-1)"."$NF }' > > Len> rm90.steampick.info.rm90.steampick.info > Len> lanejive.info > Len> govdelivery.com > Len> orangetalon.info > Len> carespecial.info > > Yes, that would be the expected behavior. > > You need to

Re: awk problem

2010-08-13 Thread Mark Tinguely
Len Conrad wrote: I readfile or pipe this text, in any line order: rm90.steampick.info fgce172.lanejive.info smailer1.service.govdelivery.com fl49.orangetalon.info pollux.carespecial.info into a program to remove subdomains down to domain.tld : awk 'FS="." { print $(NF-1)"."$NF }' and get the

Re: awk problem

2010-08-13 Thread Len Conrad
-- Original Message -- From: Mark Tinguely Date: Fri, 13 Aug 2010 11:14:03 -0500 >Len Conrad wrote: >> I readfile or pipe this text, in any line order: >> >> rm90.steampick.info >> fgce172.lanejive.info >> smailer1.service.govdelivery.com >> fl49.orangetal

Re: UPS question

2010-08-13 Thread David Brodbeck
On Thu, August 12, 2010 8:14 pm, Al Plant wrote: >> #3. Thats why setting the bios "not" to self boot would work. (Stopping >> the bios from turning the server on after an outage.) Someone would have >> to check the power status manually before throwing the switch manually >> to make it come up aft

Re: Documentation on how to build 32bit applications on amd64?

2010-08-13 Thread Yuri
On 08/13/2010 09:24, Dan Nelson wrote: Try adding -B/usr/lib32 to your first gcc line. The specs file should be modified to add this automatically when you pass -m32, imho. Thank you Dan, this flag worked. But I found a strange discrepancy between 32bit and 64bit. When I compile the progr

Re: Documentation on how to build 32bit applications on amd64?

2010-08-13 Thread Anonymous
Yuri writes: > --- output of 64 bit executable (gcc -o m m.c) --- > match: off=0 so=3 eo=4 > match: off=4 so=3 eo=4 > > --- output of 32 bit executable built on 64 bit system with flags (gcc > -B/usr/lib32 -m32 -o m m.c) --- > match: off=0 so=3 eo=0 I guess machine-dependent headers are involved

Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Antonio Vieiro
Hi all, Now that OpenSolaris is dead [1] I was wondering what the status of Java is in FreeBSD. I'm currently using OpenJDK16 from ports. Is OpenJDK free from Oracle hands or not? Would it be possible it dissappearing from the ports because of licensing/patent issues? If so, what are the ope

Re: Documentation on how to build 32bit applications on amd64?

2010-08-13 Thread Yuri
On 08/13/2010 10:58, Anonymous wrote: I guess machine-dependent headers are involved. $ cc -m32 -B/usr/lib32 a.c $ ./a.out match: off=0 so=3 eo=0 $ ln -s /usr/src/sys/i386/include machine $ cc -m32 -B/usr/lib32 -isystem. a.c $ ./a.out match: off=0 so=3 eo=4 match: off=4 s

Re: Telnet => servname ai_socktype error

2010-08-13 Thread jaymax
telnet 0 smtp is the same as telnet localhost 25 or telnet localhost smtp Ashish SHUKLA-6 wrote: > > jaymax writes: > > [...] > > >> % telnet 0 smtp >> 0: servname not supported for ai_socktype > > What according to you 0 is ? > > -- > Ashish SHUKLA | GPG: F682 CDCC 39DC 0F

Re: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread nux
Antonio Vieiro writes: Hi all, Now that OpenSolaris is dead [1] I was wondering what the status of Java is in FreeBSD. But there is hope: http://www.h-online.com/open/news/item/Illumos-launched-as-OpenSolaris-deriv ative-1050151.html I'm currently using OpenJDK16 from ports. Is OpenJDK

Re: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Roland Smith
On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote: > Hi all, > > Now that OpenSolaris is dead [1] I was wondering what the status of Java > is in FreeBSD. > [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html IMO the "status" of Java is "best to avoid it". Just ask Go

Re: AHCI driver

2010-08-13 Thread David DEMELIER
2010/8/10 Victor Ophof : > > >> -Oorspronkelijk bericht- >> Van: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- >> questi...@freebsd.org] Namens Roland Smith >> Verzonden: dinsdag 10 augustus 2010 15:14 >> Aan: Victor Ophof >> CC: freebsd-questions@freebsd.org; d...@nagual.nl >>

Re: Grepping a list of words

2010-08-13 Thread John Levine
>> Since I will have a need to run this check frequently, any suggestions for >> a better approach are welcome. > >sort -u and comm(1)? sort is O(N log N) while grep is O(N) Which is faster depends on the constant factors in each, but as the data sets get bigger, the log N term will dominate. Th

apsfilter - hpijs dependence

2010-08-13 Thread Chuck Bacon
In all FreeBSD-8.* so far, apsfilter can't be installed because of a dependenct on hpijs, apparently through foomatic. Is there a fix? I have no HP printer, so... a workaround? I find cups to be opaque, at my level at least :-( Thanks for previous help and present hope! c

Re: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Antonio Vieiro
On 13/08/2010 20:57, Roland Smith wrote: On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote: I'm currently using OpenJDK16 from ports. Is OpenJDK free from Oracle hands or not? Depends what you mean by free. It's under the GPLv2, so I think you should be good wrt copyrights. I

Re: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Kurt Buff
On Fri, Aug 13, 2010 at 11:57, Roland Smith wrote: > On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote: >> Hi all, >> >> Now that OpenSolaris is dead [1] I was wondering what the status of Java >> is in FreeBSD. >> [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html > >

Re: Page fault in kernel when using CD, BSD 7.2

2010-08-13 Thread Chris Whitehouse
Mark Terribile wrote: AMI BIOS. The NB heatsink is barely warm (fan cooled), the not necessarily a good sign, you would get this if the heat from the cpu is not getting transferred to the heatsink. Remove, clean, apply new heat transfer compound, make sure the heatsink is actually seating pro

Re: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Roland Smith
On Fri, Aug 13, 2010 at 12:58:01PM -0700, Kurt Buff wrote: > On Fri, Aug 13, 2010 at 11:57, Roland Smith wrote: > > On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote: > >> Hi all, > >> > >> Now that OpenSolaris is dead [1] I was wondering what the status of Java > >> is in FreeBSD. >

Re: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Gary Kline
On Fri, Aug 13, 2010 at 08:57:08PM +0200, Roland Smith wrote: > On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote: > > Hi all, > > > > Now that OpenSolaris is dead [1] I was wondering what the status of Java > > is in FreeBSD. > > [1] http://sstallion.blogspot.com/2010/08/opensolaris

RE: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Mikhail
> -Original Message- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@freebsd.org] On Behalf Of Roland Smith > Sent: Saturday, August 14, 2010 12:50 AM > To: Kurt Buff > Cc: FreeBSD Questions > Subject: Re: Status of Java in FreeBSD? (OpenSolaris is dead) > >

Re: Documentation on how to build 32bit applications on amd64?

2010-08-13 Thread Dan Nelson
In the last episode (Aug 13), Yuri said: > On 08/13/2010 09:24, Dan Nelson wrote: > > Try adding -B/usr/lib32 to your first gcc line. The specs file should > > be modified to add this automatically when you pass -m32, imho. > > Thank you Dan, this flag worked. > > But I found a strange discrepan

Favorite terminal software?

2010-08-13 Thread Ed Flecko
In the past, I've used TeraTerm Pro with SSH (since it's free and seems to work just fine), but I wanted to see if anyone had any other recommendations for terminal software they like. I'd like it to be free, but if you've got something you really like that costs a few bucks, I'm O.K. with that to

RE: Favorite terminal software?

2010-08-13 Thread Mikhail
> -Original Message- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@freebsd.org] On Behalf Of Ed Flecko > Sent: Saturday, August 14, 2010 2:14 AM > To: freebsd-questions@freebsd.org > Subject: Favorite terminal software? > > In the past, I've used TeraTerm P

Re: Favorite terminal software?

2010-08-13 Thread Bill Campbell
On Fri, Aug 13, 2010, Ed Flecko wrote: >In the past, I've used TeraTerm Pro with SSH (since it's free and >seems to work just fine), but I wanted to see if anyone had any other >recommendations for terminal software they like. > >I'd like it to be free, but if you've got something you really like >

Re: Documentation on how to build 32bit applications on amd64?

2010-08-13 Thread Yuri
On 08/13/2010 14:44, Dan Nelson wrote: I think Anonymous is right, and that it's due to the /usr/include headers on amd64 not being 32-bit-mode aware. So you end up with some structure members being sized for 64-bit machines instead of 32-bit. I bet struct regex_t on your cross-compiled program

Re: ts_to_ct flood on 8.1-STABLE

2010-08-13 Thread b. f.
>Since installing 8.1-RC2 and now on up-to-date RELENG_8 I am frequently >getting kern.crit messages like > >ts_to_ct(1281661818.743348859) = [2010-08-13 01:10:18] > >and have been unable so far to determine their origin or purpose. I saw >no such messages while running 7.x or earlier releases. Th

5900 RPM drives

2010-08-13 Thread Ryan Coleman
Can anyone give me any reasons to buy these over 7200RPMs for a RAID? I may need to pinch pennies if I have to finance my next servers out of pocket. Stupid idea, I know, but I really want to know if there's a reason to skimp. -- Ryan ___ freebsd-ques

Re: 5900 RPM drives

2010-08-13 Thread Svein Skogen (Listmail account)
On 14.08.2010 03:52, Ryan Coleman wrote: > Can anyone give me any reasons to buy these over 7200RPMs for a RAID? I may > need to pinch pennies if I have to finance my next servers out of pocket. > Stupid idea, I know, but I really want to know if there's a reason to skimp. They're a little slowe

Re: Telnet => servname ai_socktype error

2010-08-13 Thread Ashish SHUKLA
jaymax writes: > telnet 0 smtp > is the same as > telnet localhost 25 > or > telnet localhost smtp #v+ % getent hosts 0 0.0.0.0 0 % telnet 0 25 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. 220 chateau.d.if ESMTP ^] telnet> quit Connection closed. #v- I wasn't expectin

Re: 5900 RPM drives

2010-08-13 Thread Ryan Coleman
I was actually looking at the Seagate Barracuda model... I'm upgrading my RAID 5 of 8x1TB to something larger. $135 each: http://www.newegg.com/Product/Product.aspx?Item=N82E16822148487 On Aug 13, 2010, at 10:28 PM, TJ Varghese wrote: > > > On Sat, Aug 14, 2010 at 9:52 AM, Ryan Coleman wrot

test

2010-08-13 Thread PR
___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: 5900 RPM drives

2010-08-13 Thread TJ Varghese
On Sat, Aug 14, 2010 at 9:52 AM, Ryan Coleman wrote: > Can anyone give me any reasons to buy these over 7200RPMs for a RAID? I may > need to pinch pennies if I have to finance my next servers out of pocket. > Stupid idea, I know, but I really want to know if there's a reason to skimp. > > Specifi

Re: test

2010-08-13 Thread Svein Skogen (Listmail account)
On 14.08.2010 05:23, PR wrote: > > epic fail. ;) //Svein -- +---+--- /"\ |Svein Skogen | sv...@d80.iso100.no \ / |Solberg Østli 9| PGP Key: 0xE5E76831 X|2020 Skedsmokorset | sv...@jernhuset.no / \ |Norway

Re: Telnet => servname ai_socktype error

2010-08-13 Thread jaymax
TY Dan, I ran the tcpdump on the lo0 interface, ran telnet as shown below, interestingly only the "telnet localhost 25" produced an output (which I cannot fully decipher, except for the acknowledgment "hand shake" and the checksum, but can't figure out the "drop" or closure event Oddly, "telnet