Re: How to divide up?
On Sun, Jul 20, 2008 at 05:03:15AM +0300, Giorgos Keramidas wrote: On Sun, 20 Jul 2008 03:44:07 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: Now, if you want to merely hack something quick and dirty, a short Perl script can probably do regexp substitution similar to # # WARNING: THIS HAS NOT BEEN TESTED :P # my $foo = STDIN; $foo = s:([^]+[^]*/[^]+):$1\n:ge; print $foo; but you shouldn't trust the output of such a quick hack too much. As I wrote in reply to the personal email, this was untested and a bit wrong in places, but now I've tried something like: $ echo 'helloworld/hellohellonext world/hello' | \ perl -e '$foo = STDIN; $foo =~ s:([^]+[^]*/[^]+):$1\n:g; print $foo;' and it does seem to sort of work. The output is: helloworld/hello hellonext world/hello Maybe that's good enough? They say `the perfect is the enemy of good enough', so if this works for your data set, it's probably ok to use it :-) Have fun, Giorgos Fun?! welll, but yes, anything that can save me from hand-editing ~~70 files will be a riot;) gary -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fetchmail: Error message in maillog [SOLVED]
Hello, fetchmail: connection to localhost:smtp [::1/25] failed: Connection refused. Just for the record. The problem is solved with these few lines in the /usr/local/etc/postfix/main.cf # inet_interfaces = 192.168.1.6, 127.0.0.1, [::1] smtp_bind_address = 0.0.0.0 smtp_bind_address6 = :: inet_protocols = all # Have fun, -vlado Vladimir Botka ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What price at the license of FreeBSD 7?
Mike Jeays a écrit : On July 19, 2008 04:21:03 pm Gonzalo Nemmi wrote: On Saturday 19 July 2008 15:40:53 Kris Kennaway wrote: ... or the equivalent in your local currency. Yes really :) Kris ROFL to death ! Sorry .. couldn't help it ... You made me spit my pepsi all over my desktop ! Thanks!! How many Zimbabwe dollars, I wonder? This seems to give the finest measurement for approximations to zero... Your comments are useless and stigmatizes people who suffers (Zimbabwe). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to divide up?
At 2008-07-20T02:45:51+02:00, Roland Smith wrote: Insert a newline in front of every : gsed -e s//\n/g infile outfile Note that this requires GNU sed. It won't work with BSD sed. It is possible with native `sed' if the newline character in the replacement string is properly escaped: two backslashes, followed by Ctrl-V, and then the newline. [/home/raghu]% which sed /usr/bin/sed [/home/raghu]% echo 'helloworld/hellohellonext world/hello' | sed 's//\\ /g' helloworld /hello hellonext world /hello However, this doesn't do what the OP wanted: world, etc., must appear on separate lines. Here is a second approximation: [/home/raghu]% cat foo.sed s//\ /g s//\ /g [/home/raghu]% cat foo.html hihelloworld/hellobetween hells...hellonext world/hello/hi [/home/raghu]% sed -f foo.sed foo.html | sed '/^$/d' hi hello world /hello between hells... hello next world /hello /hi Perhaps the pipe to remove blank lines can be incorporated into `foo.sed', but I don't know how. Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What price at the license of FreeBSD 7?
How many Zimbabwe dollars, I wonder? This seems to give the finest measurement for approximations to zero... I think this is a bit uncalled for, it might have been in a candid manner, but there are alot of locations in the world using FreeBSD quite effectively where most people live on less then a dollar a day Id also like to note your so called US dollar isnt fairing so well. Pretty soon might it also be worth 0.00. I do think we should try not to insult the ecomonics of other countries ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to divide up?
At 2008-07-19T17:23:48-07:00, Gary Kline wrote: Is there an easyy way of splitting yp these tags into one-per-line? I'm not obcessive [[?, :)]], but for what I've got in mind, the tags and stuff would look better to my eyes? the outcome of this will go ino a special database, not html . is there some clever perl one-liner ... I suggest that instead of such ad hoc solutions, you checkout the port `www/tidy'. It provides a reasonable pretty printer for HTML. However, it doesn't print every tag on a separate line. I think its behaviour in this respect is close to the style guidelines in the FreeBSD Documentation Project Primer [10.1.4.2, Separating tags]. Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to divide up?
On Sunday 20 July 2008 08:37, Gary Kline wrote: On Sun, Jul 20, 2008 at 05:03:15AM +0300, Giorgos Keramidas wrote: On Sun, 20 Jul 2008 03:44:07 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote: Now, if you want to merely hack something quick and dirty, a short Perl script can probably do regexp substitution similar to # # WARNING: THIS HAS NOT BEEN TESTED :P # my $foo = STDIN; $foo = s:([^]+[^]*/[^]+):$1\n:ge; print $foo; but you shouldn't trust the output of such a quick hack too much. As I wrote in reply to the personal email, this was untested and a bit wrong in places, but now I've tried something like: $ echo 'helloworld/hellohellonext world/hello' | \ perl -e '$foo = STDIN; $foo =~ s:([^]+[^]*/[^]+):$1\n:g; print $foo;' and it does seem to sort of work. The output is: helloworld/hello hellonext world/hello Maybe that's good enough? They say `the perfect is the enemy of good enough', so if this works for your data set, it's probably ok to use it :-) Have fun, Giorgos Fun?! welll, but yes, anything that can save me from hand-editing ~~70 files will be a riot;) I haven't tried it, but I suspect if the simple approach fails, HTML::Tidy may well have an option which would help. It can be installed from CPAN or ports, where it is textproc/p5-HTML-Tidy. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to divide up?
On Sat, Jul 19, 2008 at 10:23:09PM -0700, Walt Pawley wrote: At 5:23 PM -0700 7/19/08, Gary Kline wrote: Guys, Is there an easyy way of splitting yp these tags into one-per-line? I'm not obcessive [[?, :)]], but for what I've got in mind, the tags and stuff would look better to my eyes? the outcome of this will go ino a special database, not html . is there some clever perl one-liner that would help me turn CENTERFONT face=Times size=3FONT color=#66RealizationBR into CENTER FONT face=Times size=3 FONT color=#66 Realization BR I've been using this ... #!/usr/bin/perl # Process HTML data on STDIN into one tag per line form on STDOUT while () { s/\r/\n/gs; s//\n/gs; s//\n/gs; s/\n\s*/\n/gs; s/^\s*//; print $_ } ... for quite some time under the name tag1. It's come in very handy. thanks much, walt --- and everyone else whose ideas helped my shoulder. i have your tag1 in my ~/bin file on my www server it works as adveertised. a note here to rollland smith: i was originally thinking of [[ i tried using ]] tr = tr to \n. Among other things. your idea of using gsed gave me the idea of putting the \n aftter the followed bt a \n. of course this addded in *annnoying* newlines. BUT ``grep -v ^$ axes newlines, so using grit.php, here cut down to spare spamming or wasting resources is the before after: // old, after tidy: # t grit.php CENTERFONT face=Times size=3FONT color=#66Grit BRBR Patience wears the granite face of wisdom,BR discovering the truth of humility and joy.BR Hope and faith stand in its silence.BR /FONT/FONT/CENTER using roland's gsed and a pipe that axes \n's: // fixed, MUCH easier to read: # gsed -e s//\n/g grit.php| grep -v ^$ CENTER FONT face=Times size=3 FONT color=#66 Grit BR BR Patience wears the granite face of wisdom,BR discovering the truth of humility and joy.BR Hope and faith stand in its silence.BR /FONT /FONT /CENTER I've been meeaning to get around to this for years, and thr time is now. this is just a tiny example of the superiority of the unix smalll-is-beautiful model. [ blah**3] gary -- Walter M. Pawley [EMAIL PROTECTED] Wump Research Company 676 River Bend Road, Roseburg, OR 97470 541-672-8975 -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What price at the license of FreeBSD 7?
OutBackDingo [EMAIL PROTECTED] wrote: How many Zimbabwe dollars, I wonder? This seems to give the finest measurement for approximations to zero... I think this is a bit uncalled for, it might have been in a candid manner, but there are alot of locations in the world using FreeBSD quite effectively where most people live on less then a dollar a day Id also like to note your so called US dollar isnt fairing so well. Pretty soon might it also be worth 0.00. I do think we should try not to insult the ecomonics of other countries Your reply is full of fallacies, false assumptions and one or two non sequiturs. But anyway, this is thread is veering way off topic, so let's close it. Thanks. -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What price at the license of FreeBSD 7?
ROFL, right, whatever..!!! On Sun, 2008-07-20 at 04:40 -0400, Sahil Tandon wrote: full of fallacies, false assumptions and one or two non sequiturs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What price at the license of FreeBSD 7?
Let's see, ... that would be approximately $149*10^12 Zimbabwe. 10^3 - one thousand 10^6 - one million 10^9 - one billion 10^12 - one trillion 10^100 - one mugabe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to divide up?
On Sun, Jul 20, 2008 at 01:20:31PM +0530, N. Raghavendra wrote: At 2008-07-19T17:23:48-07:00, Gary Kline wrote: Is there an easyy way of splitting yp these tags into one-per-line? I'm not obsessive [[?, :)]], but for what I've got in mind, the tags and stuff would look better to my eyes? the outcome of this will go ino a special database, not html . is there some clever perl one-liner ... I suggest that instead of such ad hoc solutions, you checkout the port `www/tidy'. It provides a reasonable pretty printer for HTML. However, it doesn't print every tag on a separate line. I think its behaviour in this respect is close to the style guidelines in the FreeBSD Documentation Project Primer [10.1.4.2, Separating tags]. Raghavendra. Thanks, but I've very recently become acquainted with tidy and have begun using it on my main index.php--thought.org's www page. This page was an almost unreadable rat's net of by-hand coded html. (as i move toward another mark-up standard.)using your script, or mine, based on Roland smith's, will be a great help. I knew there were ways of embedding \n's in scripts and signatures, c, but until your posting, i had forgoooten exactly how. thank you for the refresher! I'll check the FBSD Docs for `Separating Tags'; that level of obscurity is beyond amazing, :-) -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to divide up?
At 2008-07-20T02:55:25-07:00, Gary Kline wrote: Thanks, but I've very recently become acquainted with tidy and have begun using it on my main index.php--thought.org's www page. This page was an almost unreadable rat's net of by-hand coded html. (as i move toward another mark-up standard.) using your script, or mine, based on Roland smith's, will be a great help. I knew there were ways of embedding \n's in scripts and signatures, c, but until your posting, i had forgoooten exactly how. thank you for the refresher! You are welcome. I'll check the FBSD Docs for `Separating Tags'; that level of obscurity is beyond amazing, :-) Just in case the obscurity refers to the location of the document, here is its URL: http://www.freebsd.org/doc/en/books/fdp-primer/writing-style.html Raghavendra. -- N. Raghavendra [EMAIL PROTECTED] | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to divide up?
Gary Kline wrote: On Sun, Jul 20, 2008 at 01:20:31PM +0530, N. Raghavendra wrote: At 2008-07-19T17:23:48-07:00, Gary Kline wrote: Is there an easyy way of splitting yp these tags into one-per-line? I'm not obsessive [[?, :)]], but for what I've got in mind, the tags and stuff would look better to my eyes? the outcome of this will go ino a special database, not html . is there some clever perl one-liner ... I suggest that instead of such ad hoc solutions, you checkout the port `www/tidy'. It provides a reasonable pretty printer for HTML. However, it doesn't print every tag on a separate line. I think its behaviour in this respect is close to the style guidelines in the FreeBSD Documentation Project Primer [10.1.4.2, Separating tags]. Raghavendra. Thanks, but I've very recently become acquainted with tidy and have begun using it on my main index.php--thought.org's www page. This page was an almost unreadable rat's net of by-hand coded html. (as i move toward another mark-up standard.)using your script, or mine, based on Roland smith's, will be a great help. I knew there were ways of embedding \n's in scripts and signatures, c, but until your posting, i had forgoooten exactly how. thank you for the refresher! I'll check the FBSD Docs for `Separating Tags'; that level of obscurity is beyond amazing, :-) Alternatively, if your aim is to simplify the HTML, you could switch to using CSS. You'ld change: CENTERFONT face=Times size=3FONT color=#66RealizationBR ... /FONT/FONT/CENTER To something like: span class=fooRealizationbr / /span ('span' here is just a handy all-purpose tag for identifying a chunk of stuff: the same mechanism can be applied to any HTML tag.) Add this in the head/head section of the HTML: link rel=stylesheet href=style.css type=text/css / and have a file style.css in you web root containing (inter alia) .foo { text-align: center; font-family: Times New Roman; font-size: medium; color: #66; } See http://www.w3.org/TR/CSS21/cover.html for the full story. User of CSS has a number of advantages. First off, it abstracts the definition of the style into one place. Suppose you decide that medium sized pale blue text is passé and want it written in 24pt white sans-serif on a black background? Instead of having to grep through all of your HTML files, now you just have to edit one file. The other advantage is more subtle. You divide, conceptually, deciding what a piece of text's /function/ is from deciding what it should /look like/. So if the bit of text is, say, an aphorism that you're quoting, you can just declare it to be class=aphorism in the HTML markup when writing that page, and then define a .aphorism { } section in your stylesheet, later on when it won't interrupt your train of thought. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Fwd: how to simulate a user's crontab?
I use templates for most of the things I write, so I don't end up making the same stupid off-by-one mistakes for things like handling command-line arguments. My template for a production shell script is below. You raise a lot of interesting ideas Karl. I too am always looking to 'systematize' work, not only because I need efficiency, but because I hate having to learn things twice... Nothing bugs me more than knowing that I need to figure out how to do something I figured out 6 months or a year ago. Actually, I highly recommend a Mac program called Yojimbo, that is a kind of general purpose memory tool. You can throw all sorts of information into it, and find it very easily when you need it. Fantastic program and I don't know of anything like it on other platforms. Anyway, I'm definitely going to throw your entire email, particularly the template, into Yojimbo as saved knowledge. I am working on an important script right now, and I'm going to put your template to immediate use. I'll also take a look at the korn shell. I've used bash for many years, but I'm not in love with it. I'm certainly open to a better shell. Great post. Thanks! -- John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rtorrent refuses to open bittorrent file
On Sun, 20 Jul 2008 01:20:05 -0300 luizbcampos [EMAIL PROTECTED] wrote: As I am a new user to rtorrent I would like to know how to set it up properly. After I had configured .rc.rtorrent when I type --anyfile.torrent -- I got the answer that rtorrent is unable to open such a file... hey, what happens if you type /the/full/path/to/anyfile.torrent ? _ {Beto|Norberto|Numard} Meijome All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What price at the license of FreeBSD 7?
On Sat, Jul 19, 2008 at 10:18:13PM +0400, [EMAIL PROTECTED] wrote: What price at the license of FreeBSD 7? it's important for me. I must know. Regardless of how far Off Topic some seem to want to go, the reply by Kris is correct. FreeBSD is free. The only cost is media to burn your own boot CD. You can download it all freely from the www.freebsd.org website.The handbook on that site will tell you how. Read it carefully first. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Having trouble installing joomla from ports
Hi, I've installed the joomla CMS program from the ports tree. Then, following the instructions from joomla's website, started the installation process. The first step in the process is to test for system requirements. It says I'm failing the Zlib compression support requirement. What is it looking for? I have php5-zlib installed from ports. What Zlib package does it want to have? Any help is greatly appreciated. Thanks, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any advice for learning debugging threading and stack corruption problems for c/c++?
On Wednesday 16 July 2008 13:41:46 Edward Sutton wrote: I have had a very hard time trying to debug which has hindered my work on some projects. In particular I have had trouble properly grasping how to work with debugging multi threaded applications, memory errors, and stack corruption. I know that it is not a five minute learning process to absorb such knowledge, but I have not yet found helpful references. I have had best luck trying to logically guess a location close to the problem, then setting a break and walking through the code. Once I hit a segfault, I run through the code with a breakpoint bringing me to just before the problem, but do not always understand how to go further. Strange things I see look like bad pointer addresses or the problems being caused within another thread. Since moving to FreeBSD7, I have been unable to use valgrind (which did not seem to help much on multi threaded apps) and I have not found a way to test binaries in the work directories and have had to install it to test it. At present, either gdb alone or kdbg seem to be the only ways I have been able to get even partially reliable responses from gdb because other interfaces disregard breakpoints and interrupts to execution. Are such difficulties common? On another similar topic, is there a good place to start learning about limitations to system internals, such as kern.ipc.shmmax and why I may 'not' want to set it to excessively high values or how other values relate to changing it? How can I tell what cap is occurring, whether it be a system limit or something controlled within the app such as with pthread_attr_setstacksize() and how are 'proper' values determined? The books advanced programming in the unix environment and programming with posix threads help me learn the unix world a bit better, but without debugging knowledge I find it hard to get anywhere with writing more than my high school level of programs and very difficult to get anywhere on the projects of others once threads and/or dynamic memory is involved. Any suggested course for further study from here? Thanks again, Edward Sutton, III Debugging threaded applications is an exercise in frustration and downright irritation. There aren't many easy methods. It seems that you're already familiar with gdb so brush up on how to attach to specific threads within the application and such. Usually, it seems that problems with multi-threaded programming come from two threads trying to access the same structure, or object, at the same time. Look through your code and make sure you're not doing something like this. For example, one thread is trying to read from the same file another is trying to read from thus getting file pointers confused. Please note that this scenario only causes problems if the file was opened in one thread and then the file handle was passed to two others (probably not the best way to do things but . . .). Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What price at the license of FreeBSD 7?
On Sun, Jul 20, 2008 at 02:55:22PM +0700, OutBackDingo wrote: How many Zimbabwe dollars, I wonder? This seems to give the finest measurement for approximations to zero... I think this is a bit uncalled for, it might have been in a candid manner, but there are alot of locations in the world using FreeBSD quite effectively where most people live on less then a dollar a day Id also like to note your so called US dollar isnt fairing so well. Pretty soon might it also be worth 0.00. I do think we should try not to insult the ecomonics of other countries The US Dollar hasn't really been worth anything since 1975 at the latest. People just haven't figured that out yet. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] They always say that when life gives you lemons you should make lemonade. I always wonder -- isn't the lemonade going to suck if life doesn't give you any sugar? pgpkAZ6Kh19MJ.pgp Description: PGP signature
Re: What price at the license of FreeBSD 7?
On Sun, Jul 20, 2008 at 09:49:30AM -0400, Jerry McAllister wrote: On Sat, Jul 19, 2008 at 10:18:13PM +0400, [EMAIL PROTECTED] wrote: What price at the license of FreeBSD 7? it's important for me. I must know. Regardless of how far Off Topic some seem to want to go, the reply by Kris is correct. FreeBSD is free. The only cost is media to burn your own boot CD. You can download it all freely from the www.freebsd.org website.The handbook on that site will tell you how. Read it carefully first. . . . and you don't necessarily need a boot CD to install FreeBSD, so even that cost is optional. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Edmund Burke: Your representative owes you, not his industry only, but his judgement; and he betrays, instead of serving you, if he sacrifices it to your opinion. pgp3zjDF1Wfq1.pgp Description: PGP signature
lo0 not in ioctl( SIOCGIFCONF )
Hi, I was searching why ports/net/p5-Net-Interface was not working as expected and found some reasons. Most of them I can answer by implementing some test code as attached, but now I'm wondering why em0 is shown twice and lo0 is not included. The same situation on another machine .. --- BEGIN ifconfig -a (waldorf) em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:15:17:10:84:6c inet 10.62.10.3 netmask 0xff00 broadcast 10.62.10.255 media: Ethernet autoselect (100baseTX full-duplex) status: active em1: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:15:17:10:84:6d media: Ethernet autoselect status: no carrier lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 --- END ifconfig -a (waldorf) ./netif em0 em0 em1 --- BEGIN ifconfig -a (STINGRAY) ifconfig -a fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:a0:c9:ce:c8:64 inet 10.62.10.12 netmask 0xff00 broadcast 10.62.10.255 media: Ethernet autoselect (100baseTX full-duplex) status: active fxp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:a0:c9:ce:db:83 media: Ethernet autoselect (100baseTX full-duplex) status: active pflog0: flags=141UP,RUNNING,PROMISC metric 0 mtu 33204 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 vlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:a0:c9:ce:db:83 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 7 parent interface: fxp1 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1492 inet 87.149.231.190 -- 217.0.119.167 netmask 0x Opened by PID 27503 --- END ifconfig -a (STINGRAY) ./netif32 fxp0 fxp0 fxp1 Why aren't lo0, vlan0 and tun0 not included? What can I do to get these entries (portable way, please). Best regards, Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What price at the license of FreeBSD 7?
On Sun, 20 Jul 2008 08:40:20 -0600 Chad Perrin [EMAIL PROTECTED] wrote: The US Dollar hasn't really been worth anything since 1975 at the latest. People just haven't figured that out yet. In that case, would you be so kind as to forward all of those worthless US Dollars to me. I will be more than glad to relieve you of the burden of domiciling them. Interestingly enough, the price of oil is still tied to the US Dollar. -- Gerard [EMAIL PROTECTED] Small change can often be found under seat cushions. signature.asc Description: PGP signature
lo0 not in ioctl( SIOCGIFCONF )
Hi (resend because attachment forgotten ...), I was searching why ports/net/p5-Net-Interface was not working as expected and found some reasons. Most of them I can answer by implementing some test code as attached, but now I'm wondering why em0 is shown twice and lo0 is not included. The same situation on another machine .. --- BEGIN ifconfig -a (waldorf) em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:15:17:10:84:6c inet 10.62.10.3 netmask 0xff00 broadcast 10.62.10.255 media: Ethernet autoselect (100baseTX full-duplex) status: active em1: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 ether 00:15:17:10:84:6d media: Ethernet autoselect status: no carrier lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 --- END ifconfig -a (waldorf) ./netif em0 em0 em1 --- BEGIN ifconfig -a (STINGRAY) ifconfig -a fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:a0:c9:ce:c8:64 inet 10.62.10.12 netmask 0xff00 broadcast 10.62.10.255 media: Ethernet autoselect (100baseTX full-duplex) status: active fxp1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=8VLAN_MTU ether 00:a0:c9:ce:db:83 media: Ethernet autoselect (100baseTX full-duplex) status: active pflog0: flags=141UP,RUNNING,PROMISC metric 0 mtu 33204 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 vlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:a0:c9:ce:db:83 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 7 parent interface: fxp1 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST metric 0 mtu 1492 inet 87.149.231.190 -- 217.0.119.167 netmask 0x Opened by PID 27503 --- END ifconfig -a (STINGRAY) ./netif32 fxp0 fxp0 fxp1 Why aren't lo0, vlan0 and tun0 not included? What can I do to get these entries (portable way, please). Best regards, Jens ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What price at the license of FreeBSD 7?
On Jul 20, 2008, at 1:24 AM, Gaye Abdoulaye Walsimou wrote: Mike Jeays a écrit : On July 19, 2008 04:21:03 pm Gonzalo Nemmi wrote: On Saturday 19 July 2008 15:40:53 Kris Kennaway wrote: ... or the equivalent in your local currency. Yes really :) Kris ROFL to death ! Sorry .. couldn't help it ... You made me spit my pepsi all over my desktop ! Thanks!! How many Zimbabwe dollars, I wonder? This seems to give the finest measurement for approximations to zero... Your comments are useless and stigmatizes people who suffers (Zimbabwe). Stigmatizes people in Zimbabwe? Huh? If anything it draws sympathy for them --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
py-qt install error
Hello list, I'm running 7.0-RELEASE, i386, and KDE 3.5.8 from ports. Trying to install /usr/ports/x11-toolkits/py-qt gives this error: ... -- Creating pyqtconfig.py... /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = c++|' -e 's|LINK = c++|LINK = c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qt/Makefile /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = c++|' -e 's|LINK = c++|LINK = c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtcanvas/Makefile /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = c++|' -e 's|LINK = c++|LINK = c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtnetwork/Makefile /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = c++|' -e 's|LINK = c++|LINK = c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qttable/Makefile /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = c++|' -e 's|LINK = c++|LINK = c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtxml/Makefile /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = c++|' -e 's|LINK = c++|LINK = c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtui/Makefile /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = c++|' -e 's|LINK = c++|LINK = c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtsql/Makefile /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = c++|' -e 's|LINK = c++|LINK = c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtext/Makefile /usr/bin/sed -i.bak -e 's|mkspecs/freebsd-g++| share/qt/mkspecs/freebsd-g++|' -e 's|CC = cc|CC = cc|' -e 's|CXX = c++|CXX = c++|' -e 's|LINK = c++|LINK = c++|' /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtgl/Makefile sed: /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.17.4/qtgl/Makefile: No such file or directory *** Error code 1 Stop in /usr/ports/x11-toolkits/py-qt. *** Error code 1 Stop in /usr/ports/x11-toolkits/py-qt. *** Error code 1 Any ideas? Ports tree is up to date. Regards, Ghirai. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't ping
Can someone tell what is going on here. All of a sudden I can't ping. When I try a get this message: ping: sendto: Permission denied All internet functions seem to be working fine...just can't ping. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't ping
check your firewall rules On Sun, 20 Jul 2008, Rem P Roberti wrote: Can someone tell what is going on here. All of a sudden I can't ping. When I try a get this message: ping: sendto: Permission denied All internet functions seem to be working fine...just can't ping. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't ping
In [EMAIL PROTECTED], Rem P Roberti wrote: Can someone tell what is going on here. All of a sudden I can't ping. When I try a get this message: ping: sendto: Permission denied All internet functions seem to be working fine...just can't ping. Firewall blocking ICMP protocol. HTH -- ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgpXtPJZCsrCW.pgp Description: PGP signature
Re: Can't ping
Rem P Roberti [EMAIL PROTECTED] wrote: [...] ping: sendto: Permission denied Did you (or another admin) change firewall rules? Also, please do a simple google or list archive search before posting to the list. Searching for the error you paste above results in several links that might've helped you troubleshoot this problem. [...] -- Sahil Tandon [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't ping
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wojciech Puchar wrote: check your firewall rules On Sun, 20 Jul 2008, Rem P Roberti wrote: Can someone tell what is going on here. All of a sudden I can't ping. When I try a get this message: ping: sendto: Permission denied All internet functions seem to be working fine...just can't ping. You folks are all probably dead on, exactly right, but I recall once, about 18 months ago, that my permissions on one machine went haywire, and it lost the setuid bit in the permissions. On some machines, this'd sure enough hurt things. Maybe this here (below) could help? TCSH-april:chuck:~:#103-15:18ls -l `which ping` - -r-sr-xr-x 1 root wheel 23868 Jun 15 21:09 /sbin/ping* If those good suggestions regarding the firewall turn out not to work, maybe this could be experimented with? -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkiDzjEACgkQz62J6PPcoOmSAgCfTcM1RMXpEu3jKL3Nrov2zY4F neIAn0YLUss8E1joGGXQvgW2+MivEXKn =C+x+ -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD source code
Dear sir/madam.. I am a student studying computers and would like to build unix operating systems later on so i was browsing through your website for the source code but could not find it so it would be very very nice if you could give me the url of the page where i can get the source code.. Yours, KMB ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD source code
On Sun, Jul 20, 2008 at 10:38 PM, Madana [EMAIL PROTECTED] wrote: Dear sir/madam.. I am a student studying computers and would like to build unix operating systems later on so i was browsing through your website for the source code but could not find it so it would be very very nice if you could give me the url of the page where i can get the source code.. Yours, KMB http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html ...or you might find the CVSweb interface here handy: http://www.freebsd.org/cgi/cvsweb.cgi/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD source code
Madana wrote: Dear sir/madam.. I am a student studying computers and would like to build unix operating systems later on so i was browsing through your website for the source code but could not find it so it would be very very nice if you could give me the url of the page where i can get the source code.. Yours, KMB ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Source code is available on the CD's which you can download the ISO images of on the mirror network. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html It's also available via CVS from one of the CVS mirrors: http://www.freebsd.org/doc/en/books/handbook/cvsup.html#CVSUP-MIRRORS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD source code
On Mon, 21 Jul 2008 12:08 pm, Madana wrote: Dear sir/madam.. I am a student studying computers and would like to build unix operating systems later on so i was browsing through your website for the source code but could not find it so it would be very very nice if you could give me the url of the page where i can get the source code.. Yours, KMB Simplest is to do an installation say from CDs written from ISOs. Options during installation install full source code for kernel and basic utilities. ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.0/* The same sources are available separately as: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.0-RELEASE/src/* install.sh in the same directory will unpack these. Malcolm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What price at the license of FreeBSD 7?
On Sun, Jul 20, 2008 at 7:37 PM, Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote: [snip] Your comments are useless and stigmatizes people who suffers (Zimbabwe). Stigmatizes people in Zimbabwe? Huh? If anything it draws sympathy for them Two or so years ago, I used to tell a fellow from ZM whom I got to know online, that they (Zimbabweans) needed to topple Mugabe (yes, I mean it) as he was messing them up big style. The inflation rate then was not as bad as it is now, besides the fact that the citizens are limited to what amount they can withdraw from their bank accounts. I feel Zimbabwe is worth talking about in every forum, as it's a classic case about how humans can be subjected to suffering by a despot! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Oh My God! They killed init! You Bastards! --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]