Re: A possibly odd upgrade question

2011-05-04 Thread Jerry
On Wed, 04 May 2011 22:51:05 +0100 Chris Whitehouse cwhi...@onetel.com articulated: I second Jerry, portmanager is indeed a very effective tool, it's simple and thorough and probably has as good a chance of fixing ports issues as anything. Or used to, I've been trying out tinderbox so haven't

OT: Security question (openssl vs openssh)

2011-05-03 Thread Mark Moellering
Everyone, I am looking into setting up a webserver to hold some very sensitive information. I am trying to figure out which is more secure, forcing any web connections to be done using an ssh tunnel or forcing ssl. I have not been able to figure out if one is definitively much more secure

Re: OT: Security question (openssl vs openssh)

2011-05-03 Thread Maxim Khitrov
On Tue, May 3, 2011 at 10:22 AM, Mark Moellering m...@msen.com wrote: Everyone, I am looking into setting up a webserver to hold some very sensitive information.  I am trying to figure out which is more secure, forcing any web connections to be done using an ssh tunnel or forcing ssl. I have

Re: OT: Security question (openssl vs openssh)

2011-05-03 Thread Jon Radel
On 5/3/11 10:22 AM, Mark Moellering wrote: Everyone, I am looking into setting up a webserver to hold some very sensitive information. I am trying to figure out which is more secure, forcing any web connections to be done using an ssh tunnel or forcing ssl. I have not been able to figure out

Re: OT: Security question (openssl vs openssh)

2011-05-03 Thread Bill Campbell
On Tue, May 03, 2011, Mark Moellering wrote: Everyone, I am looking into setting up a webserver to hold some very sensitive information. I am trying to figure out which is more secure, forcing any web connections to be done using an ssh tunnel or forcing ssl. I have not been able to

freebsd zfs question

2011-05-01 Thread Michael D. Norwick
: tank state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://www.sun.com/msg/ZFS-8000-8A scrub: none

Re: Question : Developing/Making FreeBSD derivative.

2011-04-12 Thread Ruben de Groot
On Sun, Apr 10, 2011 at 09:44:22PM -0700, Stefan N typed: Hi All, My name is Stefan and I am newbie with FreeBSD but I'm interested to learn more about FreeBSD . I am keen to know and learn more on the process to make a new BSD's derivative/fork from FreeBSD ? There is a

Question : Developing/Making FreeBSD derivative.

2011-04-11 Thread Stefan N
Hi All, My name is Stefan and I am newbie with FreeBSD but I'm interested to learn more about FreeBSD . I am keen to know and learn more on the process to make a new BSD's derivative/fork from FreeBSD ? How is the method for customizing/remastering FreeBSD ? The most interesting part is

Re: Question : Developing/Making FreeBSD derivative.

2011-04-11 Thread Christer Solskogen
On Mon, Apr 11, 2011 at 6:44 AM, Stefan N stefanbsd...@yahoo.com wrote: My name is Stefan and I am newbie with FreeBSD but I'm interested to learn more about FreeBSD . I am keen to know and learn more on  the process to make a new BSD's derivative/fork  from FreeBSD ? You change the source

Re: Question : Developing/Making FreeBSD derivative.

2011-04-11 Thread Patrick Lamaiziere
Le Sun, 10 Apr 2011 21:44:22 -0700 (PDT), Stefan N stefanbsd...@yahoo.com a écrit : How is the method for customizing/remastering FreeBSD ? The most interesting part is that if we could make the new fork of FreeBSD with its own uname. If I could make my own BSD derivative and used StefanBSD

RE: Question : Developing/Making FreeBSD derivative.

2011-04-11 Thread Traiano Welcome
/article.html Regards, Traiano From: owner-freebsd-questi...@freebsd.org [owner-freebsd-questi...@freebsd.org] on behalf of Stefan N [stefanbsd...@yahoo.com] Sent: Monday, April 11, 2011 6:44 AM To: freebsd-questions@FreeBSD.org Subject: Question

Re: Question : Developing/Making FreeBSD derivative.

2011-04-11 Thread Stefan N
: freebsd-questions@freebsd.org Sent: Mon, April 11, 2011 7:51:50 PM Subject: Re: Question : Developing/Making FreeBSD derivative. On Mon, Apr 11, 2011 at 6:44 AM, Stefan N stefanbsd...@yahoo.com wrote: My name is Stefan and I am newbie with FreeBSD but I'm interested to learn more about FreeBSD

Re: Question : Developing/Making FreeBSD derivative.

2011-04-11 Thread Stefan N
Subject: Re: Question : Developing/Making FreeBSD derivative. Le Sun, 10 Apr 2011 21:44:22 -0700 (PDT), Stefan N stefanbsd...@yahoo.com a écrit : How is the method for customizing/remastering FreeBSD ? The most interesting part is that if we could make the new fork of FreeBSD with its own uname

Re: Question : Developing/Making FreeBSD derivative.

2011-04-11 Thread Jerry McAllister
On Mon, Apr 11, 2011 at 06:56:53AM -0700, Stefan N wrote: Hi Christer, As there are many parts of the source code(from bin,cddl,contrib..usr.sbin), which part(s) of source code do I need to modify? That is a strange question. I guess the answer is 'Yes' It depends on what you want

Re: Question : Developing/Making FreeBSD derivative.

2011-04-11 Thread Daniel Staal
in the more general question: Why? What's the purpose of your derivative? Why should people use yours over FreeBSD? Not that there aren't possible good reasons. ;) But answering that will probably tell you what you need to do to create your derivative. Daniel T. Staal

Re: Question : Developing/Making FreeBSD derivative.

2011-04-11 Thread Alexander Lardner
...@yahoo.com] Sent: Monday, April 11, 2011 6:44 AM To: freebsd-questions@FreeBSD.org Subject: Question : Developing/Making FreeBSD derivative. Hi All, My name is Stefan and I am newbie with FreeBSD but I'm interested to learn more about FreeBSD . I am keen to know and learn more on the process

shell programming question: help with expr command

2011-04-09 Thread Dino Vliet
Hi folks, I'm having trouble with a little shell script. Can somebody explain me why I get 3 times expr: syntax  error in my console after I run this little script? #! /usr/local/bin/bash # testscript var1=trees.J48 #other value will be rules.Jrip, rules.DecisionTable len=${#var1} ind=`expr

Re: shell programming question: help with expr command

2011-04-09 Thread Polytropon
On Sat, 9 Apr 2011 06:31:28 -0700 (PDT), Dino Vliet dino_vl...@yahoo.com wrote: Hi folks, I'm having trouble with a little shell script. Can somebody explain me why I get 3 times expr: syntax  error in my console after I run this little script? #! /usr/local/bin/bash # testscript

Re: shell programming question: help with expr command

2011-04-09 Thread Devin Teske
On Apr 9, 2011, at 6:31 AM, Dino Vliet dino_vl...@yahoo.com wrote: Hi folks, I'm having trouble with a little shell script. Can somebody explain me why I get 3 times expr: syntax error in my console after I run this little script? #! /usr/local/bin/bash # testscript var1=trees.J48

Re: Tinderbox question...

2011-04-02 Thread Chris Rees
On 2 April 2011 09:26, Ivan Klymenko fi...@ukr.net wrote: Hi, folks! For example, i built in my tinderbox port audio/clementine-player... It depends on qt4 -* ports... For example, the file qt-everywhere-opensource-src-4.7.2.tar.gz must be downloaded (if not mistaken) for more than five

Re: Tinderbox question...

2011-04-02 Thread Ivan Klymenko
В Sat, 2 Apr 2011 09:28:58 +0100 Chris Rees utis...@gmail.com пишет: On 2 April 2011 09:26, Ivan Klymenko fi...@ukr.net wrote: Hi, folks! For example, i built in my tinderbox port audio/clementine-player... It depends on qt4 -* ports... For example, the file

Tinderbox question...

2011-04-02 Thread Ivan Klymenko
Hi, folks! For example, i built in my tinderbox port audio/clementine-player... It depends on qt4 -* ports... For example, the file qt-everywhere-opensource-src-4.7.2.tar.gz must be downloaded (if not mistaken) for more than five times! Why? File size ~208655K = 5*208655K=1043275K !!! When

Re: Tinderbox question...

2011-04-02 Thread Ion-Mihai Tetcu
On Sat, 2 Apr 2011 09:28:58 +0100 Chris Rees utis...@gmail.com wrote: On 2 April 2011 09:26, Ivan Klymenko fi...@ukr.net wrote: Hi, folks! For example, i built in my tinderbox port audio/clementine-player... It depends on qt4 -* ports... For example, the file

Re: emacs backspace question

2011-03-25 Thread Matthew Morgan
On 03/24/2011 05:55 PM, Nerius Landys wrote: I've read a lot on the internet regarding the use of the backspace key in emacs, but the proposed solutions don't seem to be working for me. I just installed FreeBSD 8.1 in Virtualbox and installed emacs 23.2.1 by means of the package installer.

Re: emacs backspace question

2011-03-25 Thread Matthew Morgan
On 03/25/2011 08:47 AM, Matthew Morgan wrote: On 03/24/2011 05:55 PM, Nerius Landys wrote: I've read a lot on the internet regarding the use of the backspace key in emacs, but the proposed solutions don't seem to be working for me. I just installed FreeBSD 8.1 in Virtualbox and installed

Re: emacs backspace question

2011-03-25 Thread Nerius Landys
Hmm...I can't figure out how to get xxd to report the keycodes, and google isn't really turning anything up.  Can you tell me how it's done? It's been a while since I've tinkered with xxd. Let's see: 1. Run xxd from command prompt. 2. Type Delete. 3. Type Enter. 4. Type Ctrl+D. You'll see some

Re: emacs backspace question

2011-03-25 Thread Frédéric Perrin
Nerius Landys nlan...@gmail.com writes: cons25 is the native FreeBSD console (like when you're physically at the computer console) and xterm is of course xterm. (Side note: Why in the heck on my 9.0-CURRENT system the system console says the TERM is xterm?)

emacs backspace question

2011-03-24 Thread Matthew Morgan
I've read a lot on the internet regarding the use of the backspace key in emacs, but the proposed solutions don't seem to be working for me. I just installed FreeBSD 8.1 in Virtualbox and installed emacs 23.2.1 by means of the package installer. Everything in emacs works great except the

Re: emacs backspace question

2011-03-24 Thread Nerius Landys
I've read a lot on the internet regarding the use of the backspace key in emacs, but the proposed solutions don't seem to be working for me. I just installed FreeBSD 8.1 in Virtualbox and installed emacs 23.2.1 by means of the package installer.  Everything in emacs works great except the

Re: Quick question about sound drivers (esp. snd_hda)

2011-03-12 Thread Bruce Cran
On Fri, 11 Mar 2011 15:29:44 -0500 Brian Waters brianmwat...@gmail.com wrote: It seems to me that under /dev, you can have the following sound-related device files: dspX dspX.Y (among others) I'm having some trouble getting my sound to work (Dell Inspiron E1705/Inspiron 9400 with

Re: Quick question about sound drivers (esp. snd_hda)

2011-03-12 Thread Chris Rees
On 12 March 2011 08:34, Bruce Cran br...@cran.org.uk wrote: On Fri, 11 Mar 2011 15:29:44 -0500 Brian Waters brianmwat...@gmail.com wrote: It seems to me that under /dev, you can have the following sound-related device files: dspX dspX.Y (among others) I'm having some trouble getting my

Quick question about sound drivers (esp. snd_hda)

2011-03-11 Thread Brian Waters
It seems to me that under /dev, you can have the following sound-related device files: dspX dspX.Y (among others) I'm having some trouble getting my sound to work (Dell Inspiron E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the manpages for snd and snd_hda (which is the

Re: Quick question about sound drivers (esp. snd_hda)

2011-03-11 Thread Frank Shute
On Fri, Mar 11, 2011 at 03:29:44PM -0500, Brian Waters wrote: It seems to me that under /dev, you can have the following sound-related device files: dspX dspX.Y (among others) I'm having some trouble getting my sound to work (Dell Inspiron E1705/Inspiron 9400 with Sigmatel STAC9220

Re: Quick question about sound drivers (esp. snd_hda)

2011-03-11 Thread Brian Waters
Yeah, I have tried all the basic stuff. At this point, I've basically accepted that solving the problem on my machine is going to involve a whole bunch of technical stuff that I don't have the patience for - reading the HDA spec and the codec datasheet, reading the driver code, and making changes

Re: Quick question about sound drivers (esp. snd_hda)

2011-03-11 Thread Erich Dollansky
Hi, On Saturday 12 March 2011 04:29:44 Brian Waters wrote: It seems to me that under /dev, you can have the following sound-related device files: dspX dspX.Y (among others) this is what you see after your driver is loaded. You might have to tell an application which one to use. I'm

Re: Quick question about sound drivers (esp. snd_hda)

2011-03-11 Thread Bernt Hansson
2011-03-11 21:29, Brian Waters: It seems to me that under /dev, you can have the following sound-related device files: dspX dspX.Y (among others) I'm having some trouble getting my sound to work (Dell Inspiron E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the manpages for snd

Re: Question about nethack and setgid

2011-03-03 Thread David Demelier
On 03/03/2011 02:49, Robert Bonomi wrote: Date: Wed, 02 Mar 2011 23:51:45 +0100 From: David Demelierdemelier.da...@gmail.com To: freebsd-questions@freebsd.org Subject: Question about nethack and setgid Hello, I don't understand how nethack can store the score in /usr/local/lib/nethack/logfile

Question about nethack and setgid

2011-03-02 Thread David Demelier
Hello, I don't understand how nethack can store the score in /usr/local/lib/nethack/logfile. the real binary is here /usr/local/lib/nethack/nethack And the mode is -rwxr-sr-x 1 games games 1793635 25 Jan 2011 /usr/local/lib/nethack/nethack So that means people in games group will run

Re: Question about nethack and setgid

2011-03-02 Thread Brandon Gooch
On Wed, Mar 2, 2011 at 4:51 PM, David Demelier demelier.da...@gmail.com wrote: Hello, I don't understand how nethack can store the score in /usr/local/lib/nethack/logfile. the real binary is here /usr/local/lib/nethack/nethack And the mode is -rwxr-sr-x  1 games  games  1793635 25 Jan

Re: Question about nethack and setgid

2011-03-02 Thread Robert Bonomi
Date: Wed, 02 Mar 2011 23:51:45 +0100 From: David Demelier demelier.da...@gmail.com To: freebsd-questions@freebsd.org Subject: Question about nethack and setgid Hello, I don't understand how nethack can store the score in /usr/local/lib/nethack/logfile. the real binary is here /usr

BSD Magazine inquiry, question

2011-02-21 Thread Jason Helfman
Hi, I was wondering if anyone has a hardcopy of BSD Magazine listed here: http://bsdmag.org/magazine/1021-bsd-as-a-desktop I wrote an article for the magazine, and would very much like to get a hardcopy of it. I am willing to purchase it. Thanks so much! Jason Helfman -- Jason Helfman

I have a question?

2011-02-13 Thread Dieter
Can you use windows programs in freebsd? ___ 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: I have a question?

2011-02-13 Thread Jack L.
If you install wine, yes. On Sun, Feb 13, 2011 at 5:35 PM, Dieter dschoen...@frontier.com wrote: Can you use windows programs in freebsd? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To

Re: I have a question?

2011-02-13 Thread Outback Dingo
On Mon, Feb 14, 2011 at 12:09 AM, Jack L. xxjack1...@gmail.com wrote: If you install wine, yes. Uhmm good luck with that, I think maybe we should ask him to define programs On Sun, Feb 13, 2011 at 5:35 PM, Dieter dschoen...@frontier.com wrote: Can you use windows programs in freebsd?

Re: I have a question?

2011-02-13 Thread Jack L.
On Sun, Feb 13, 2011 at 9:13 PM, Outback Dingo outbackdi...@gmail.com wrote: On Mon, Feb 14, 2011 at 12:09 AM, Jack L. xxjack1...@gmail.com wrote: If you install wine, yes. If all else fails, you can always install virtualbox and install windows to run windows apps on freebsd. That works great

Re: I have a question?

2011-02-13 Thread perryh
Jack L. xxjack1...@gmail.com wrote: On Sun, Feb 13, 2011 at 5:35 PM, Dieter dschoen...@frontier.com wrote: Can you use windows programs in freebsd? If you install wine, yes. _and_ if the windows programs you want to run _work_ in wine. Wine intends to become a complete win32

Re: [Probably a bit OT] A question about mail systems [SOLVED]

2011-01-17 Thread Maciej Milewski
On Saturday 15 of January 2011 22:45:23, Rolf Nielsen wrote: Thanks for the input I received from you guys. I've got things running in a way I'm quite happy with now. And with your input and a little further digging on my part, it turned out to be pretty simple. I kept sendmail, set up

Re: [Probably a bit OT] A question about mail systems [SOLVED]

2011-01-17 Thread Rolf Nielsen
2011-01-17 11:04, Maciej Milewski skrev: ... I find using ~/.forward for this a bit of an ugly hack, but as long as I'm the only one using this computer, I can live with it, though I would prefer to have it in /etc/mail/aliases instead, but that just gives me warnings about deliver

Re: [Probably a bit OT] A question about mail systems [SOLVED]

2011-01-15 Thread Rolf Nielsen
2011-01-08 13:26, Rolf Nielsen skrev: Hello, I have several e-mail addresses, and to make it easier to read them all, I use fetchmail to get the messages from the servers and deliver them to one local account. And I have a POP3 server running so I can read that local account's mail from e.g.

Re: awk question: replacing %d%s by %d %s

2011-01-13 Thread Robert Bonomi
Date: Thu, 13 Jan 2011 06:28:19 +0100 From: Polytropon free...@edvax.de Subject: awk question: replacing %d%s by %d %s I'm aware that this is not an awk question list, but I'm confident there are many awk gurus here who can surely help me with such a stupid problem. I also know that I

Re: awk question: replacing %d%s by %d %s

2011-01-13 Thread Polytropon
On Thu, 13 Jan 2011 18:22:18 -0600 (CST), Robert Bonomi bon...@mail.r-bonomi.com wrote: True. But sub(nr,[a-z], ); does the trick. (tested on Freebsd 7.2) Explamation: is a 'replacement side' magic incantation to the regex library that means 'that which was matched by the

Re: awk question: replacing %d%s by %d %s

2011-01-13 Thread Wayne Sierke
On Fri, 2011-01-14 at 07:17 +0100, Polytropon wrote: On Thu, 13 Jan 2011 18:22:18 -0600 (CST), Robert Bonomi bon...@mail.r-bonomi.com wrote: True. But sub(nr,[a-z], ); does the trick. (tested on Freebsd 7.2) Explamation: is a 'replacement side' magic incantation to the

Re: awk question: replacing %d%s by %d %s

2011-01-13 Thread Polytropon
On Fri, 14 Jan 2011 17:53:04 +1030, Wayne Sierke w...@au.dyndns.ws wrote: I suspect it is a transcription error by Robert in his email. From man awk: sub(r, t, s) substitutes t for the first occurrence of the regular expression r in the string s. If s

awk question: replacing %d%s by %d %s

2011-01-12 Thread Polytropon
I'm aware that this is not an awk question list, but I'm confident there are many awk gurus here who can surely help me with such a stupid problem. I also know that I get more and more stupid myself for NOT being able to solve this, even after... some nearly infinite time. :-) I have strings

Re: awk question: replacing %d%s by %d %s

2011-01-12 Thread Polytropon
On Thu, 13 Jan 2011 01:00:17 -0500, Tom Limoncelli t...@whatexit.org wrote: $ awk data.txt experiment.txt '{ num = $1 ; sub(/[^0-9]+$/, , num) ; lets = $1 ; sub(/^[0-9]+/, , lets); print num lets }' ; diff -cw control.txt experiment.txt $ # The above puts a space at the end of the first 3

Re: awk question: replacing %d%s by %d %s

2011-01-12 Thread Tom Limoncelli
On Thu, Jan 13, 2011 at 12:28 AM, Polytropon free...@edvax.de wrote: I have strings of the form either number(s) or number(s)letter. I catch them with ... where nr is the name of the string. What I need is a simple space between number(s) and letter, so for example 12a would get 12 a, 6d

[Probably a bit OT] A question about mail systems

2011-01-08 Thread Rolf Nielsen
Hello, I have several e-mail addresses, and to make it easier to read them all, I use fetchmail to get the messages from the servers and deliver them to one local account. And I have a POP3 server running so I can read that local account's mail from e.g. thunderbird or even from my cell

Re: [Probably a bit OT] A question about mail systems

2011-01-08 Thread Jamie Paul Griffin
My advice would be to set up postfix with Dovecot imap. Both are well documented and, I find, they work well together. Both are fairly straight forward to set-up as from your post I understand that it's mainly to manage your own email which would require a basic configuration with some added

Re: [Probably a bit OT] A question about mail systems

2011-01-08 Thread Jerry
On Sat, 08 Jan 2011 13:26:22 +0100 Rolf Nielsen listrea...@lazlarlyricon.com articulated: Moreover, I'd like to use maildir instead of a single file mailbox, so I'd like to switch from sendmail to e.g. postfix. The problem is that my knowledge about e-mail configuration is somewhat limited.

Re: [Probably a bit OT] A question about mail systems

2011-01-08 Thread Matthew Seaman
On 08/01/2011 12:26, Rolf Nielsen wrote: So here's what I want to do. 1. Have fetchmail get the messages. Should not be a problem. 2. Have an MTA (is that the right name, I always confuse them) deliver them locally to a maildir. While you can use an MTA it's not actually necessary in this

Re: [Probably a bit OT] A question about mail systems

2011-01-08 Thread Andrea Venturoli
On 01/08/11 13:26, Rolf Nielsen wrote: 1. Have fetchmail get the messages. 2. Have an MTA (is that the right name, I always confuse them) deliver them locally to a maildir. 3. Have either a POP3 or an IMAP server from which I can retrieve the messages to whichever client I choose. I'm using

Re: [Probably a bit OT] A question about mail systems

2011-01-08 Thread Rolf Nielsen
2011-01-08 16:01, Matthew Seaman skrev: On 08/01/2011 12:26, Rolf Nielsen wrote: So here's what I want to do. 1. Have fetchmail get the messages. Should not be a problem. 2. Have an MTA (is that the right name, I always confuse them) deliver them locally to a maildir. While you can use

Re: [Probably a bit OT] A question about mail systems

2011-01-08 Thread Jerry
On Sat, 08 Jan 2011 15:01:49 + Matthew Seaman m.sea...@infracaninophile.co.uk articulated: dovecot works very well serving Maildir via IMAP. As mentioned elsethread, dovecot v2 isn't really stable yet. Also lacks some of the add-ons like managesieve. For a quiet life, stick to

Re: [Probably a bit OT] A question about mail systems

2011-01-08 Thread RW
On Sat, 08 Jan 2011 16:55:17 +0100 Rolf Nielsen listrea...@lazlarlyricon.com wrote: Thanks to all who've replied so far. Matthew's ideas strike me as the most interesting ones, and I will certainly explore them and see if I can get it working. I guess I should have explained in my original

Re: a perl question

2011-01-06 Thread Matthew Seaman
On 05/01/2011 22:15, RW wrote: Personally I find that using cat makes things simpler and less error prone when reusing pipelines in shell history. For example it's easier to edit cat file | foo into cat file | bar | foo or cat file? | foo than editing

Re: a perl question

2011-01-05 Thread Ian Smith
In freebsd-questions Digest, Vol 344, Issue 4, Message: 14 On Tue, 4 Jan 2011 23:24:01 -0700 Chad Perrin per...@apotheon.com wrote: On Tue, Jan 04, 2011 at 09:33:03AM -0800, Randal L. Schwartz wrote: Patrick == Patrick Bihan-Faou patrick.bihan-f...@teambox.fr writes: Patrick cat

Re: a perl question

2011-01-05 Thread Chip Camden
Quoth Chad Perrin on Tuesday, 04 January 2011: On Tue, Jan 04, 2011 at 09:33:03AM -0800, Randal L. Schwartz wrote: Patrick == Patrick Bihan-Faou patrick.bihan-f...@teambox.fr writes: Patrick cat asdf.txt | grep -v XYZ | grep -v bla And yet, you still have the Useless Use of Cat.

Re: a perl question

2011-01-05 Thread Chip Camden
Quoth Ian Smith on Thursday, 06 January 2011: In freebsd-questions Digest, Vol 344, Issue 4, Message: 14 On Tue, 4 Jan 2011 23:24:01 -0700 Chad Perrin per...@apotheon.com wrote: On Tue, Jan 04, 2011 at 09:33:03AM -0800, Randal L. Schwartz wrote: Patrick == Patrick Bihan-Faou

Re: a perl question

2011-01-05 Thread Chad Perrin
On Thu, Jan 06, 2011 at 12:07:13AM +1100, Ian Smith wrote: Do you know of any 'less useless' or more economical way to do such as: % cat /boot/boot1 /boot/boot2 | diff - /boot/boot % Actually, that looks like a useful use of cat, whose original purpose it is to concatenate the contents

Re: Bot? / pf question

2011-01-05 Thread Mark Moellering
On 05-Jan-11 1:44 PM, Kevin Wilcox wrote: On 5 January 2011 13:25, David Brodbeckg...@gull.us wrote: On Wed, Jan 5, 2011 at 8:15 AM, Kevin Wilcoxkevin.wil...@gmail.com wrote: To really see what your machine is doing, consider taking a look at the network flows. pfflowd, netflowd, ipaudit

Re: Bot? / pf question

2011-01-05 Thread Ryan Coleman
Yes and no. You want to leave ftp open, too, just in case for port upgrading/downloading, plus you would want to do monitoring across the wire (Nagios or something, maybe?). You could, though, do a dual-NIC setup and have one be a private network LAN for the servers if you aren't already

Re: Bot? / pf question

2011-01-05 Thread Adam Vande More
On Wed, Jan 5, 2011 at 1:48 PM, Mark Moellering m...@msen.com wrote: That's an excellent point. A span port from the upstream switch/router Since I am going to be setting up a mail server sometime next week and have to keep things like this in mind; would it make sense to run pf and block

Re: a perl question

2011-01-05 Thread RW
On Wed, 5 Jan 2011 08:05:14 -0800 Chip Camden sterl...@camdensoftware.com wrote: Quoth Chad Perrin on Tuesday, 04 January 2011: The weirdest thing about most useless uses of cat is that not using cat would actually be a little clearer and involve fewer keystrokes -- as in this case.

Re: a perl question

2011-01-05 Thread Chad Perrin
On Wed, Jan 05, 2011 at 10:15:38PM +, RW wrote: For example it's easier to edit cat file | foo into cat file | bar | foo or cat file? | foo than editing foo file into bar file | foo or cat file? | foo In this case, example was:

Re: a perl question

2011-01-05 Thread RW
On Wed, 5 Jan 2011 15:13:02 -0700 Chad Perrin per...@apotheon.com wrote: In this case, example was: cat file | foo arg . . . where it could have been: foo arg file That's just kind of absurd. I mean, that sort of usage (foo arg file) is exactly the purpose for which grep

Re: randomising tracks: scripting question

2011-01-04 Thread Peter Vereshagin
You know St. Peter won't call my name, freebsd-questions! 2011/01/03 20:23:38 -0800 Joseph Olatt j...@eskimo.com = To Frank Shute : JO On Sun, Dec 26, 2010 at 05:09:30PM +, Frank Shute wrote: JO JO I generally play my tracks of an album like so: JO JO for track in $(cat

a perl question

2011-01-04 Thread S Mathias
this question? what is SOMEPERLMAGIC? are there any perl gurus, that have a little spare time? Thank you! :\ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd

Re: a perl question

2011-01-04 Thread Peter Vereshagin
You know St. Peter won't call my name, freebsd-questions! 2011/01/04 02:32:00 -0800 S Mathias smathias1...@yahoo.com = To freebsd-questions@freebsd.org : $ perl -Mstrict -nwe 'print unless m/bla|XYZ/;' asdf.txt 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627) --

Re: a perl question

2011-01-04 Thread krad
importantthing another important thing yet another thing hello! how can i sovle this question? what is SOMEPERLMAGIC? are there any perl gurus, that have a little spare time? Thank you! :\ ___ freebsd-questions@freebsd.org mailing list http

Re: a perl question

2011-01-04 Thread Jonathan McKeown
On Tuesday 04 January 2011 12:32:00 S Mathias wrote: cat asdf.txt bla-bla bla-bla bla[XYZ] importantthing another important thing [/XYZ] bla-bla bla-bla [XYZ] yet another thing hello! [/XYZ] bla-bla etc. $ SOMEPERLMAGIC asdf.txt output.txt $ cat output.txt importantthing

Re: a perl question

2011-01-04 Thread Patrick Bihan-Faou
output.txt importantthing another important thing yet another thing hello! how can i sovle this question? what is SOMEPERLMAGIC? are there any perl gurus, that have a little spare time? Thank you! :\ ___ freebsd-questions@freebsd.org mailing list

Re: a perl question

2011-01-04 Thread Randal L. Schwartz
Patrick == Patrick Bihan-Faou patrick.bihan-f...@teambox.fr writes: Patrick cat asdf.txt | grep -v XYZ | grep -v bla And yet, you still have the Useless Use of Cat. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com

Re: a perl question

2011-01-04 Thread Devin Teske
On Jan 4, 2011, at 9:33 AM, Randal L. Schwartz wrote: Patrick == Patrick Bihan-Faou patrick.bihan-f...@teambox.fr writes: Patrick cat asdf.txt | grep -v XYZ | grep -v bla And yet, you still have the Useless Use of Cat. I know I'm joining the party late, but... what about: grep -Ev

Re: a perl question

2011-01-04 Thread RW
On Tue, 4 Jan 2011 10:01:47 -0800 Devin Teske dte...@vicor.com wrote: On Jan 4, 2011, at 9:33 AM, Randal L. Schwartz wrote: Patrick == Patrick Bihan-Faou patrick.bihan-f...@teambox.fr writes: Patrick cat asdf.txt | grep -v XYZ | grep -v bla And yet, you still have the Useless

Re: a perl question

2011-01-04 Thread Devin Teske
On Tue, 2011-01-04 at 22:12 +, RW wrote: On Tue, 4 Jan 2011 10:01:47 -0800 Devin Teske dte...@vicor.com wrote: On Jan 4, 2011, at 9:33 AM, Randal L. Schwartz wrote: Patrick == Patrick Bihan-Faou patrick.bihan-f...@teambox.fr writes: Patrick cat asdf.txt | grep -v XYZ |

Re: a perl question

2011-01-04 Thread Randal L. Schwartz
RW == RW rwmailli...@googlemail.com writes: RW It's odd that people seem to be taking bla-bla so literally, when it's RW clearly a place holder for arbitary text. That's the problem when you provide an example instead of a rule. But oddly enough, once you figure out the actual rule,

Re: a perl question

2011-01-04 Thread Chad Perrin
On Tue, Jan 04, 2011 at 09:33:03AM -0800, Randal L. Schwartz wrote: Patrick == Patrick Bihan-Faou patrick.bihan-f...@teambox.fr writes: Patrick cat asdf.txt | grep -v XYZ | grep -v bla And yet, you still have the Useless Use of Cat. The weirdest thing about most useless uses of cat is

Re: randomising tracks: scripting question

2011-01-03 Thread Joseph Olatt
On Sun, Dec 26, 2010 at 05:09:30PM +, Frank Shute wrote: I generally play my tracks of an album like so: for track in $(cat trombone_shorty-backatown.m3u); do mplayer $track done They then play in the correct order. How would I go about randomising the order of play using sh

csup and build question

2011-01-01 Thread Chip Camden
At the risk of confirming my reputation for asking stupid questions: If a csup only pulls files in /usr/src/sys, is it safe to assume that the only rebuilding steps required are to rebuild and install the kernel? Or is it possible that world could require a rebuild to take advantage of some of

Re: csup and build question

2011-01-01 Thread Polytropon
On Sat, 1 Jan 2011 10:38:22 -0800, Chip Camden sterl...@camdensoftware.com wrote: At the risk of confirming my reputation for asking stupid questions: If a csup only pulls files in /usr/src/sys, is it safe to assume that the only rebuilding steps required are to rebuild and install the

Re: csup and build question

2011-01-01 Thread Chip Camden
, as other files, located at a higher level, may be important (such as /usr/src/Makefile). That wasn't my question. I always do a full csup, but sometimes it only pulls files in /usr/src/sys (because those are the only ones that have changed since my last csup/build). In that case, is a buildworld

Re: csup and build question

2011-01-01 Thread Polytropon
be in sync, this means you should update the full /usr/src tree, not just its sys/ subtree, as other files, located at a higher level, may be important (such as /usr/src/Makefile). That wasn't my question. I always do a full csup, but sometimes it only pulls files in /usr/src/sys (because

Re: csup and build question

2011-01-01 Thread Bruce Cran
On Sat, 1 Jan 2011 20:44:01 +0100 Polytropon free...@edvax.de wrote: If programs or other components of the world do have to be in sync with kernel or system files (sys/*.h), then I conclude that world also has to be compiled. In this regards, it means a change of the kernel, and if the

Re: csup and build question

2011-01-01 Thread perryh
Bruce Cran br...@cran.org.uk wrote: On Sat, 1 Jan 2011 20:44:01 +0100 Polytropon free...@edvax.de wrote: If programs or other components of the world do have to be in sync with kernel or system files (sys/*.h), then I conclude that world also has to be compiled. In this regards, it means

Re: csup and build question

2011-01-01 Thread Chip Camden
Quoth per...@pluto.rain.com on Saturday, 01 January 2011: Bruce Cran br...@cran.org.uk wrote: On Sat, 1 Jan 2011 20:44:01 +0100 Polytropon free...@edvax.de wrote: If programs or other components of the world do have to be in sync with kernel or system files (sys/*.h), then I conclude

randomising tracks: scripting question

2010-12-26 Thread Frank Shute
I generally play my tracks of an album like so: for track in $(cat trombone_shorty-backatown.m3u); do mplayer $track done They then play in the correct order. How would I go about randomising the order of play using sh (preferably) or perl? Sorry for the OT posting but I thought a brainteaser

Re: randomising tracks: scripting question

2010-12-26 Thread Chip Camden
Quoth Frank Shute on Sunday, 26 December 2010: I generally play my tracks of an album like so: for track in $(cat trombone_shorty-backatown.m3u); do mplayer $track done They then play in the correct order. How would I go about randomising the order of play using sh (preferably) or

Re: randomising tracks: scripting question

2010-12-26 Thread RW
On Sun, 26 Dec 2010 09:40:43 -0800 Chip Camden sterl...@camdensoftware.com wrote: Quoth Frank Shute on Sunday, 26 December 2010: I generally play my tracks of an album like so: for track in $(cat trombone_shorty-backatown.m3u); do mplayer $track done They then play in the correct

Re: randomising tracks: scripting question

2010-12-26 Thread Mark Caudill
How would I go about randomising the order of play using sh (preferably) or perl? I fiddled around for a minute without luck but I think between the built-in $RANDOM, tail and head you should be able to get a randomize going. I'd recommend putting a script together that just pulls a random

Re: randomising tracks: scripting question

2010-12-26 Thread Frank Shute
On Sun, Dec 26, 2010 at 06:01:45PM +, RW wrote: On Sun, 26 Dec 2010 09:40:43 -0800 Chip Camden sterl...@camdensoftware.com wrote: Quoth Frank Shute on Sunday, 26 December 2010: I generally play my tracks of an album like so: for track in $(cat trombone_shorty-backatown.m3u);

<    2   3   4   5   6   7   8   9   10   11   >