[slightly OT] Hi BSD -

2013-04-07 Thread Ralf Mardorf
On Sun, 2013-04-07 at 18:13 -0400, Rod Person wrote:
 On 04/07/13 15:34, Lynn Steven Killingsworth wrote:
  Hi BSD -
 
  I know on my websites that more worrisome than someone caught reading
  my poetry as their own is that they have told something is mine that
  is not.
 
  I was thinking about putting the ports tar on my BSD 10 when I was
  actually successful.  I notice that apparently the talking point xorg
  refresh and the touchstone kde4 artwork seem to be not on your servers.
 
  I was wondering whether even after my service that Lord Jesus has not
  granted me access to a specially fortified server in the basement of a
  Quebec Church Shrine?
 
  Since A.W.O.L bill is against that sort of thing I wonder why Lord
  Jesus is not working with all his might to do so.
 
 
 Is this emailing tongues?

Or simply drug abuse?

Not that I read this crap myself, but it might be a help to change the
faith. This perhaps is alternative hocus-pocus for those who run into
issues when being on drugs
http://www.churchofsatan.com/Pages/DrugAbuse.html

Still a little bit on topic, since Beastie might be an acquaintance of
Lord Jesus and Mephistopheles.

Hail Beastie

___
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: Book recommendations (slightly OT)

2011-07-27 Thread Matthew Seaman
On 26/07/2011 20:57, Mark Moellering wrote:
 I want to automate some tasks, creating directories, file editing, etc. 
 I was going to pick up a book on shell scripting but wanted to ask the
 list if;
 A) I am barking up the wrong tree and should use something else.

No -- automating routine tasks is exactly what shell scripting is for.

 B) If I am headed in the right direction, what is the best book /
 resource to use?

Personally, I wouldn't spend any money on textbooks trying to teach you
shell programming.  Not because there aren't any good books available,
but because the free on-line resources are more than adequate to get you
going.

First of all, choose your shell.  On FreeBSD I'd say that it's got to be
/bin/sh for programming.  This is the POSIX compatible Bourne Shell.  If
you write your scripts to the POSIX standard then you'll be able to run
them just about anywhere eg. using bash on a Linux box.  The converse is
not true.

You could learn bash -- it is pretty much a de-facto standard nowadays
-- but bash is pretty bloated with lots of interactive usage stuff, and
there's nothing you can't do in POSIX shell that you can in bash.  Also,
bash has to be installed from ports, which might not seem like a big
deal (usually it isn't), but it tends to become really quite important
when you're dealing with systems in extremis.

Don't bother trying to use tcsh for programming -- that's not what it is
for.  tcsh is great interactively (it's what I use for my login shell),
but a pain in the bum for scripting.

Now, resources for learning how to program in /bin/sh --

 * The sh(1) man page is invaluable.  It's a really nicely written and
   concise description of what sh can do.  I'm constantly referring to
   this man page when shell scripting.

 * Code examples.  Copying from what someone else wrote really is the
   best way to get ahead.  There are many good examples that come with
   FreeBSD -- look at the periodic scripts, rc scripts (including from
   ports) and things like mergemaster(1).  For instance, if you want to
   see how to deal with command line arguments, the standard idiom is
   very clearly demonstrated in mergemaster.

 * On-line resources like http://tldp.org/LDP/abs/html/ (Yes -- this is
   all about bash, but there's a lot of overlap with sh)

 * Learn about all of those Unixy commands.  /bin/sh in many ways is
   designed as a means to glue together compiled C programs to achieve a
   desired effect.  You should be familiar with programs like test(1),
   jot(1), comm(1), xargs(1), printf(1), comm(1), sort(1).  Not to
   mention those stalwarts of shell programming sed(1) and awk(1) --
   although each of those is in itself is a programming language about
   as complex as pure shell.

Counterintuitively, given the above, the best shell scripts use built-in
shell capabilities rather than calling out to external programmes
wherever possible.  eg. Using the variable prefix / suffix selection
operators: ${progname%%*/} has much the same effect as basename(1).

All the usual programming best-practices apply in shell scripting: write
clean, well structured code divided into relatively short functions each
of which has a single specific purpose.  Avoid overuse of global
variables and magic side-effects.  Prefer clarity over cleverness.
Comment liberally, but make sure your comments add value.  Choose
conventions (eg. on variable naming and code formatting) and stick to them.

One other piece of advice -- as a matter of style, try and avoid
interactive behaviour in scripts.  If you prompt a user to type in some
value, then it makes it very hard to call your script from another
script.  Instead, pass in any values you need using the command line, or
by using environment variables.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Book recommendations (slightly OT)

2011-07-27 Thread C. P. Ghost
On Tue, Jul 26, 2011 at 9:57 PM, Mark Moellering m...@msen.com wrote:
 I want to automate some tasks, creating directories, file editing, etc.  I
 was going to pick up a book on shell scripting but wanted to ask the list
 if;
 A) I am barking up the wrong tree and should use something else.
 B) If I am headed in the right direction, what is the best book / resource
 to use?

Most automation can be done with shell scripting, but there are
situations where shell won't cut it. Then, you may want to give
Expect a try (hint: combine it with netcat a.k.a. nc and other tools).
If you don't like its TCL syntax, there's a port to Python in
misc/py-pexpect:

http://pexpect.sourceforge.net/

Good luck.

 Thanks in advance

 Mark Moellering

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
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: Book recommendations (slightly OT)

2011-07-27 Thread doug



On Tue, 26 Jul 2011, Mark Moellering wrote:

I want to automate some tasks, creating directories, file editing, etc.  I 
was going to pick up a book on shell scripting but wanted to ask the list if;

A) I am barking up the wrong tree and should use something else.
B) If I am headed in the right direction, what is the best book / resource to 
use?


Thanks in advance

Mark Moellering


I second Matthew's sh recommendation. Doing admin stuff is much much easier if 
you learn the basics of regular expressions, awk, sed and xargs. Also find. The 
daily jobs and the scripts in /etc have lots of coding examples. Of course 
mergermaster and portmaster are the king and queen of sh scripts. Google will 
yield thousands of simple examples of all the above and more.


If you are doing lexical stuff perl is hard to beat.
___
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: Book recommendations (slightly OT)

2011-07-27 Thread Chad Perrin
In the following, I cut out anything not needed as context for my
response.  Where I cut something out, you should assume that I agree with
what Matthew Seaman wrote, and have nothing in particular to add to it at
this time.  The only possible exception is the specific list of resources
he suggested for learning shell scripting, but only because I am not
personally familiar with all the recommendations and thus am not in a
position to comment on them.

On Wed, Jul 27, 2011 at 08:45:30AM +0100, Matthew Seaman wrote:
 On 26/07/2011 20:57, Mark Moellering wrote:
  I want to automate some tasks, creating directories, file editing, etc. 
  I was going to pick up a book on shell scripting but wanted to ask the
  list if;
  A) I am barking up the wrong tree and should use something else.
 
 No -- automating routine tasks is exactly what shell scripting is for.

Actually, he said automating tasks with no specific reference to
*routine* tasks, and I'd say that pretty much anything involving
computers is about automating tasks -- especially scripting/programming.
As you suggest, though, the more routine these tasks are (particularly as
system administration tasks), the more likely they are to be exactly the
right time to use shell scripting.


 
 First of all, choose your shell.  On FreeBSD I'd say that it's got to be
 /bin/sh for programming.  This is the POSIX compatible Bourne Shell.  If
 you write your scripts to the POSIX standard then you'll be able to run
 them just about anywhere eg. using bash on a Linux box.  The converse is
 not true.
 
 You could learn bash -- it is pretty much a de-facto standard nowadays
 -- but bash is pretty bloated with lots of interactive usage stuff, and
 there's nothing you can't do in POSIX shell that you can in bash.  Also,
 bash has to be installed from ports, which might not seem like a big
 deal (usually it isn't), but it tends to become really quite important
 when you're dealing with systems in extremis.
 
 Don't bother trying to use tcsh for programming -- that's not what it is
 for.  tcsh is great interactively (it's what I use for my login shell),
 but a pain in the bum for scripting.

I would say that the Bourne shell (that is, /bin/sh) is the right choice
for pretty much *all* shell scripting.  If you need more than the Bourne
shell, or its POSIX compatible equivalent, you should be using a high
level programming language such as Perl or Ruby instead of an interactive
shell syntax.  More sophisticated shells are fine for interactive use,
but should not be relied upon for shell scripting in the vast majority of
cases for reasons of portability and consistency.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpODY3kSLiNG.pgp
Description: PGP signature


Re: Book recommendations (slightly OT)

2011-07-27 Thread Brandon Gooch
On Tue, Jul 26, 2011 at 2:57 PM, Mark Moellering m...@msen.com wrote:
 I want to automate some tasks, creating directories, file editing, etc.  I
 was going to pick up a book on shell scripting but wanted to ask the list
 if;
 A) I am barking up the wrong tree and should use something else.
 B) If I am headed in the right direction, what is the best book / resource
 to use?

 Thanks in advance

 Mark Moellering

You should check this out, from our friends at Apple:

http://developer.apple.com/library/mac/#documentation/OpenSource/Conceptual/ShellScripting/

I haven't gone through it, but I've perused it, and it looks like a
good place to start learning.

-Brandon
___
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


Book recommendations (slightly OT)

2011-07-26 Thread Mark Moellering
I want to automate some tasks, creating directories, file editing, etc.  
I was going to pick up a book on shell scripting but wanted to ask the 
list if;

A) I am barking up the wrong tree and should use something else.
B) If I am headed in the right direction, what is the best book / 
resource to use?


Thanks in advance

Mark Moellering
___
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: Book recommendations (slightly OT)

2011-07-26 Thread Antonio Olivares
On Tue, Jul 26, 2011 at 7:57 PM, Mark Moellering m...@msen.com wrote:
 I want to automate some tasks, creating directories, file editing, etc.  I
 was going to pick up a book on shell scripting but wanted to ask the list
 if;
 A) I am barking up the wrong tree and should use something else.
 B) If I am headed in the right direction, what is the best book / resource
 to use?

 Thanks in advance

Mark,

There are many utilities out there and programs, I would recommend visiting

http://www.freebsd.org/projects/newbies.html

In that page, several references are given, including but not limited to

the powerful handbook

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/basics.html

A nice short introduction:

http://8help.osu.edu/wks/unix_course/

Chris several posts ago recommended me visit a nice page:

http://steve-parker.org/sh/eg/directories/

You can look over several pages, there are many out there that you can
get without paying $$, and also there's another document by William
Shotts that could be of help:

http://linuxcommand.org/tlcl.php

Don't worry that it says that it is for linux, it can be used on
freebsd too!, just be careful if you don't have bash shell, /bin/bash,
change to /bin/sh and the script should work, just make sure that
commands are not linux specific :)

Regards,

Antonio
___
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: Book recommendations (slightly OT)

2011-07-26 Thread matteo filippetto
2011/7/26 Mark Moellering m...@msen.com:
 I want to automate some tasks, creating directories, file editing, etc.  I
 was going to pick up a book on shell scripting but wanted to ask the list
 if;
 A) I am barking up the wrong tree and should use something else.
 B) If I am headed in the right direction, what is the best book / resource
 to use?


Hi,

I learn a lot from this

http://tldp.org/LDP/abs/html/  it's free :-)

Best regards

-- 
Matteo Filippetto
http://op83.blogspot.com
___
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: Book recommendations (slightly OT)

2011-07-26 Thread Jerome Herman

On 26/07/2011 21:57, Mark Moellering wrote:
I want to automate some tasks, creating directories, file editing, 
etc.  I was going to pick up a book on shell scripting but wanted to 
ask the list if;

A) I am barking up the wrong tree and should use something else.
B) If I am headed in the right direction, what is the best book / 
resource to use?


Thanks in advance

Mark Moellering
___
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


The first thing to do is to define what you want to do with scripting.

Most users have now turned to bash, very easy and quite powerful, though 
it has some specifics you won't find in any other shell. Such as 
replacing certain simple commands on the shell line by its own internal 
version, which can be very frustrating. This said it is probably the 
easiest shell to learn given there are lots and lots of examples, 
tutorial and users around here.


For pure Unix/BSD/Solaris... professional administration, you have to 
learn tcsh/csh (basically the same thing, tcsh being an improved 
version).  Basically it is a bit like vi. Even if you do not like vi, 
but want to professionally maintain Unix/BSD/Solaris..., you have to 
learn it, because one day you will have to log on an old server and vi 
will be the only modern editor available. Csh/Tcsh will basically be 
installed on pretty much every computer you might find. And csh can be 
tricky at time if you only know Bash.


On the other hand if you are a user/dev just wanting to automate some of 
his daily routine, then you can go for pretty much any shell you want. I 
personally prefer zsh.


One shell that is great but you need to be aware of is ksh. The problem 
of ksh is that it is so different from every other shell that learning 
it is a bit of a trouble. It is hard to find good example, and it is 
hard to transcribe ksh scripts and logic unto an other shell.


I can only advise you to browse around, look at what every shell has to 
offer and pick one. Do not hesitate to change if you are not happy.


As far as learning a shell goes, well it is more about going for net 
tutorials and reading man pages over and over again. At first you will 
be using cat, | and  a lot. That is normal, but the only way to 
progress is to try to use them all as little as possible. (Which 
generally translates into reading the man page again).


Last thing, though it is considered to be a welcome ritual among 
admins, do backups, lots of backups, and test your scripts with another 
account that cannot destroy all your files at once. When learning to 
script you will one day make a stupid mistake, it will be a very simple 
script and a very stupid mistake. But you will be very happy you have a 
backup when the worst happens.


Classical mistakes involves making a find with exec, but forgetting to 
target real files only (such as removing all 0 bytes files from a system 
= say goodbye to /dev, links, sockets etc.) and running a script with a 
badly set var (like export deluser=FOO; rm -rf /hom/$delusr).



Good luck on your learning.
Jerome Herman
___
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


Slightly OT: Hardware For FreeNAS

2011-05-16 Thread Tim Daneliuk
Slightly OT, but since it's based on FreeBSD, I thought I'd start
here...

Can anyone recommend a good hardware platform (components) around
which to build a FreeNAS server?  The important non-functional
requirements are:

1) Quiet to the point of silent.
2) Reliable/redundant


TIA,


-- 

Tim Daneliuk
tun...@tundraware.com
___
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: slightly OT... .

2010-10-29 Thread Henry Olyer
I have some information that the problem is because the Macbook fonts are
different from the FreeBSD fonts.

Thank you!, thank you very much.



On Thu, Oct 28, 2010 at 10:33 PM, Polytropon free...@edvax.de wrote:

 On Thu, 28 Oct 2010 22:22:26 -0400, Henry Olyer henry.ol...@gmail.com
 wrote:
  I wrote some files using a MacBook and saved them as .RTF files.
 
  And discovered that I couldn't move them to FreeBSD and use AbiWord.
 
  What do I to make them work?

 You could try to use one of the tools provided in the ports
 collection:

 a) rtf2latex
then continue to remove macros to gain plain text

 b) rtf2html
same game here

 c) rtfreader

 d) rtfx
this is a tool that gives XML output - maybe usabe for
further input to AbiWord

 e) unrtf
includes processing like a) and b), and some more formats

 Which tool to use depends on how you intnd to further use the
 documents. If it's just about the text, the pure filter programs
 should be sufficient. Otherwise, try to load them in OpenOffice
 and see how you can export them from there; ^A ^C and ^V into
 a text editor should work from there, too.

 Oh the joy of nonstandard file formats. :-)



 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

___
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


slightly OT... .

2010-10-28 Thread Gary Kline


First, since abiword and OOo both work across many platforms,
this isn't a FreeBSD question, but humor me anyway.  

A [long] while ago I checked on the OOOForums list and got the
howto's of changing this into ``this'' in openoffice.  [[And
'this into `this': it's a two-fer]].  Has anybody tried this
with abiword??  Clues, tips please?  (Figure I'll ask here 
first.)

My ascii-to-markup program does the same thing, but only for 
double-quotes since the fact that the zillions of contractions
like can't, would've, and informal english like So: howzit
hangin'? gave me *many* second thoughts.

1)  Does anybody onlist have any idea howto turn 'this' into
lsquo' ?   In the HTML ampersand chars list, that's what it
is called.  Using the ampersand and ints it is #8286; --
minus the quotes, of course.  

2)  Iwould like some clues howto automate this either via
abiword OR algorithm.  It took some large N days back in
1994 when I first hacked atom to realize that I would have 
to use recursion to get the left|beginning and right|closing 
double quotes.  

3) Or should I give up and do this by eyeball?!

tia,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org

___
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: slightly OT... .

2010-10-28 Thread Gary Kline


Sorry: don't bother with this [below]; there weren't that many
embedded quotes.  By-hand worked fine.

--g


On Thu, Oct 28, 2010 at 10:12:38AM -0700, Gary Kline wrote:
   
 
   First, since abiword and OOo both work across many platforms,
   this isn't a FreeBSD question, but humor me anyway.  
 
   A [long] while ago I checked on the OOOForums list and got the
   howto's of changing this into ``this'' in openoffice.  [[And
   'this into `this': it's a two-fer]].  Has anybody tried this
   with abiword??  Clues, tips please?  (Figure I'll ask here 
   first.)
 
   My ascii-to-markup program does the same thing, but only for 
   double-quotes since the fact that the zillions of contractions
   like can't, would've, and informal english like So: howzit
   hangin'? gave me *many* second thoughts.
 
   1)  Does anybody onlist have any idea howto turn 'this' into
   lsquo' ?   In the HTML ampersand chars list, that's what it
   is called.  Using the ampersand and ints it is #8286; --
   minus the quotes, of course.  
 
   2)  Iwould like some clues howto automate this either via
   abiword OR algorithm.  It took some large N days back in
   1994 when I first hacked atom to realize that I would have 
   to use recursion to get the left|beginning and right|closing 
   double quotes.  
 
   3) Or should I give up and do this by eyeball?!
 
   tia,
 
   gary
 
 
 
 -- 
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 The 7.90a release of Jottings: http://jottings.thought.org/index.php
http://journey.thought.org
 


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org

___
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: slightly OT... .

2010-10-28 Thread Henry Olyer
I wrote some files using a MacBook and saved them as .RTF files.

And discovered that I couldn't move them to FreeBSD and use AbiWord.

What do I to make them work?



On Thu, Oct 28, 2010 at 3:06 PM, Gary Kline kl...@thought.org wrote:



Sorry: don't bother with this [below]; there weren't that many
embedded quotes.  By-hand worked fine.

--g


 On Thu, Oct 28, 2010 at 10:12:38AM -0700, Gary Kline wrote:
 
 
First, since abiword and OOo both work across many platforms,
this isn't a FreeBSD question, but humor me anyway.
 
A [long] while ago I checked on the OOOForums list and got the
howto's of changing this into ``this'' in openoffice.  [[And
'this into `this': it's a two-fer]].  Has anybody tried this
with abiword??  Clues, tips please?  (Figure I'll ask here
first.)
 
My ascii-to-markup program does the same thing, but only for
double-quotes since the fact that the zillions of contractions
like can't, would've, and informal english like So: howzit
hangin'? gave me *many* second thoughts.
 
1)  Does anybody onlist have any idea howto turn 'this' into
lsquo' ?   In the HTML ampersand chars list, that's what it
is called.  Using the ampersand and ints it is #8286; --
minus the quotes, of course.
 
2)  Iwould like some clues howto automate this either via
abiword OR algorithm.  It took some large N days back in
1994 when I first hacked atom to realize that I would have
to use recursion to get the left|beginning and
 right|closing
double quotes.
 
3) Or should I give up and do this by eyeball?!
 
tia,
 
gary
 
 
 
  --
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
 Unix
  The 7.90a release of Jottings: http://jottings.thought.org/index.php
 http://journey.thought.org
 


 --
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
 Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org

 ___
 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

___
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: slightly OT... .

2010-10-28 Thread Polytropon
On Thu, 28 Oct 2010 22:22:26 -0400, Henry Olyer henry.ol...@gmail.com wrote:
 I wrote some files using a MacBook and saved them as .RTF files.
 
 And discovered that I couldn't move them to FreeBSD and use AbiWord.
 
 What do I to make them work?

You could try to use one of the tools provided in the ports
collection:

a) rtf2latex
then continue to remove macros to gain plain text

b) rtf2html
same game here

c) rtfreader

d) rtfx
this is a tool that gives XML output - maybe usabe for
further input to AbiWord

e) unrtf
includes processing like a) and b), and some more formats

Which tool to use depends on how you intnd to further use the
documents. If it's just about the text, the pure filter programs
should be sufficient. Otherwise, try to load them in OpenOffice
and see how you can export them from there; ^A ^C and ^V into
a text editor should work from there, too.

Oh the joy of nonstandard file formats. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


slightly OT ; related to computers and language....

2008-07-16 Thread Gary Kline

people,

I'm going to start listing my million-dollar-ideas here or at
least on my virtual transfinite site.  tho i'm pretty sure others
have had ideas as i have.   all or mine have made it to online,
altho not all have survived!

my latest involves a site that would suggeeste words that are on
the tip of one's tongue.   can anybody help me with [] smile
where the [] would be close-to-skeletal?i'm usually pretty
good with google, but how to find a word that is just beyond
one's reach.  not emaciated ...  [Hm!]


gary

ps: for the brave [[or foolhardy]] , i have a couple other ideas
left.  not totally politically correct but funny. :-)


-- 
  Gary Kline  [EMAIL PROTECTED]   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: slightly OT ; related to computers and language....

2008-07-16 Thread YANSWBVCG
On Wed, Jul 16, 2008 at 05:00:34PM -0700, Gary Kline wrote:
 
   people,
 
   I'm going to start listing my million-dollar-ideas here or at
   least on my virtual transfinite site.  tho i'm pretty sure others
   have had ideas as i have.   all or mine have made it to online,
   altho not all have survived!
 
   my latest involves a site that would suggeeste words that are on
   the tip of one's tongue.   can anybody help me with [] smile
   where the [] would be close-to-skeletal?i'm usually pretty
   good with google, but how to find a word that is just beyond
   one's reach.  not emaciated ...  [Hm!]

A good resource is http://www.worldwidewords.org/index.htm 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slightly OT ; related to computers and language....

2008-07-16 Thread Gary Kline
On Wed, Jul 16, 2008 at 05:00:34PM -0700, Gary Kline wrote:
 
   people,
 
   I'm going to start listing my million-dollar-ideas here or at
   least on my virtual transfinite site.  tho i'm pretty sure others
   have had ideas as i have.   all or mine have made it to online,
   altho not all have survived!
 
   my latest involves a site that would suggeeste words that are on
   the tip of one's tongue.   can anybody help me with [] smile
   where the [] would be close-to-skeletal?i'm usually pretty
   good with google, but how to find a word that is just beyond
   one's reach.  not emaciated ...  [Hm!]


OOPS: before people get out their flame-throwers, i meant to ask
how much AI might be involved here--if any.  eg, user is
presented with a menu.  II am trying to think of a word like
_. _, _.

A spell-checker might ask if the user types in skelatal, not 
skeletal.  Winds up with N suggestion [with GCIDE definitions].


 
 
   gary
 
   ps: for the brave [[or foolhardy]] , i have a couple other ideas
   left.  not totally politically correct but funny. :-)
 
 
 -- 
   Gary Kline  [EMAIL PROTECTED]   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]

-- 
  Gary Kline  [EMAIL PROTECTED]   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: Slightly OT - steaming data server software?

2008-05-21 Thread Bob McConnell
On Sun, 2008-05-18 at 15:32 -0700, John Pettitt wrote:
 
 
 Slightly OT but since I'm going to run this on FreeBSD 7 I figured I'd

 ask here ..
 
 I have an application where data arrives in what is effectively 
 continuous stream (actually NMEA messages from an AIS receiver) and
I'd 
 like to have a server where an arbitrary number of clients can connect

 to a tcp port and receive a copy of the stream.I could probably 
 write this in perl without too much work but somebody has to have done

 something similar already - does anybody know of code that does this? 
 (and yes I know sending the messages as individual udp packets would
be 
 easier - I'm already doing that internally but it doesn't work for 
 opening up the data stream to the public).

Already been done. See http://sourceforge.net/projects/aprsd/

Bob McConnell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slightly OT - steaming data server software?

2008-05-20 Thread Tim Judd

On Sun, 2008-05-18 at 15:32 -0700, John Pettitt wrote:
 
 
 Slightly OT but since I'm going to run this on FreeBSD 7 I figured I'd 
 ask here ..
 
 I have an application where data arrives in what is effectively 
 continuous stream (actually NMEA messages from an AIS receiver) and I'd 
 like to have a server where an arbitrary number of clients can connect 
 to a tcp port and receive a copy of the stream.I could probably 
 write this in perl without too much work but somebody has to have done 
 something similar already - does anybody know of code that does this? 
 (and yes I know sending the messages as individual udp packets would be 
 easier - I'm already doing that internally but it doesn't work for 
 opening up the data stream to the public).

nc -lk port for original data | tee /var/ais/data
nc -lk port for copy data /var/ais/data

see nc manpage for details.  I may have syntax wong.

This is my initial thought on how you can do this.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Slightly OT - steaming data server software?

2008-05-18 Thread John Pettitt




Slightly OT but since I'm going to run this on FreeBSD 7 I figured I'd 
ask here ..


I have an application where data arrives in what is effectively 
continuous stream (actually NMEA messages from an AIS receiver) and I'd 
like to have a server where an arbitrary number of clients can connect 
to a tcp port and receive a copy of the stream.I could probably 
write this in perl without too much work but somebody has to have done 
something similar already - does anybody know of code that does this? 
(and yes I know sending the messages as individual udp packets would be 
easier - I'm already doing that internally but it doesn't work for 
opening up the data stream to the public).


John.
P.S. for those who are interested AIS data contains info about large 
ships at sea - you can see live SF bay data on a map here 
http://hd-sf.com/livemap.html

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


slightly OT. php5 breaks my hit-count....

2008-01-31 Thread Gary Kline
guys,

i need some help from any of you who is current with php5.
in '05 i wrote myown hit counter in php4 using the . operator
to write statements like:

$dir=countdir/; $filename= $file;

if (! (file_exists( ( $dir.$filename) )))
{
// the if fopen cannot open, echo Error and exit(1)
}

this did work.  with php5, however, i'm getting a divivde by
zero error on both lines.   thebest thing, or easiest, would be
to compilr php4.   but i'd like to know some better ways.  

anybody clue me in?

thanks in advance,

gary



-- 
  Gary Kline  [EMAIL PROTECTED]   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: slightly OT. php5 breaks my hit-count....

2008-01-31 Thread Jeremy Johnston

Hi Gary,

I just tested this exact code on php 5.2.5 and I didn't receive any error.

For further help with this you are welcome to email me privately as this 
is more of a php code problem :)


Gary Kline wrote:

guys,

i need some help from any of you who is current with php5.
in '05 i wrote myown hit counter in php4 using the . operator
to write statements like:

$dir=countdir/; $filename= $file;

if (! (file_exists( ( $dir.$filename) )))
{
// the if fopen cannot open, echo Error and exit(1)
}

this did work.  with php5, however, i'm getting a divivde by
zero error on both lines.   thebest thing, or easiest, would be
	to compilr php4.   but i'd like to know some better ways.  


anybody clue me in?

thanks in advance,

gary



  




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Slightly OT: Invoking a shell command from a Makeile

2008-01-27 Thread Ivan Rambius Ivanov
Hello,

I am developing a FreeBSD port and I would like to invoke a shell
command from it and assign its output to a variable. The command in
question is

# make -f /usr/ports/lang/fpc/Makefile -V PORTVERSION

and I have verified that it works on the command line.

I try to use it in my port's Makefile in the following way:

FPCVERSION= `make -f /usr/ports/lang/fpc/Makefile -V PORTVERSION`

but it fails with the following error

Syntax error: EOF in backquote substitution

I also tried

FPCVERSION= `make -f /usr/ports/lang/fpc/Makefile -V PORTVERSION`

but it fails on the same error. Can you please advise me how to call
this command?

Thank you in advance.

Regards
Rambius

-- 
Tangra Mega Rock: http://www.radiotangra.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slightly OT: Invoking a shell command from a Makeile

2008-01-27 Thread Alphons Fonz van Werven

Ivan Rambius Ivanov wrote:


I am developing a FreeBSD port and I would like to invoke a shell
command from it and assign its output to a variable.


If you're using GNU make (called gmake on BSD systems), you can do
VAR := $(shell command)
or, as a concrete example,
CFILES := $(shell ls *.c)

Not that I recommend using that example, it just goes to illustrate.

If you're using BSD make, I wouldn't know though. I'm just not familiar
with that. And if you wish to do it in a portable way such that it works
with BSD make, GNU make or whatever, then all I can say is good luck...

Hth,

Alphons

--
VISTA - Viruses Intruders Spyware Trojans Adware

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slightly OT: Invoking a shell command from a Makeile

2008-01-27 Thread Ivan Rambius Ivanov
Hello Alphons,

On Jan 28, 2008 1:07 AM, Alphons Fonz van Werven
[EMAIL PROTECTED] wrote:
 Ivan Rambius Ivanov wrote:

  I am developing a FreeBSD port and I would like to invoke a shell
  command from it and assign its output to a variable.

 If you're using GNU make (called gmake on BSD systems), you can do
 VAR := $(shell command)
 or, as a concrete example,
 CFILES := $(shell ls *.c)
 Not that I recommend using that example, it just goes to illustrate.

 If you're using BSD make, I wouldn't know though. I'm just not familiar
 with that. And if you wish to do it in a portable way such that it works
 with BSD make, GNU make or whatever, then all I can say is good luck...
I do use BSD make and not GNU make, but your examples gave me a hint
what I should search on google and I found the exact syntax:

FPCVERSION!=make -f ${PORTSDIR}/lang/fpc/Makefile -V PORTVERSION

The assignment is done by the bang equals sign != and I found it
explained here http://www.khmere.com/freebsd_book/html/ch01.html

Thank you for your quick response.

Regards
Rambius

-- 
Tangra Mega Rock: http://www.radiotangra.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slightly OT: Invoking a shell command from a Makeile

2008-01-27 Thread Alphons Fonz van Werven

Ivan Rambius Ivanov wrote:


I do use BSD make and not GNU make, but your examples gave me a hint
what I should search on google and I found the exact syntax:


Glad I could help, be it in a roundabout way.

Alphons

--
VISTA - Viruses Intruders Spyware Trojans Adware

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slightly OT: Invoking a shell command from a Makeile

2008-01-27 Thread Giorgos Keramidas
On 2008-01-28 00:48, Ivan Rambius Ivanov [EMAIL PROTECTED] wrote:
 Hello,
 
 I am developing a FreeBSD port and I would like to invoke a shell
 command from it and assign its output to a variable. The command in
 question is
 
 # make -f /usr/ports/lang/fpc/Makefile -V PORTVERSION
 
 and I have verified that it works on the command line.
 
 I try to use it in my port's Makefile in the following way:
 
 FPCVERSION= `make -f /usr/ports/lang/fpc/Makefile -V PORTVERSION`
 
 but it fails with the following error
 
 Syntax error: EOF in backquote substitution

Try the BSD-specific syntax which uses bang-equal assignment to grab the
output of a shell command and assign it to a make variable:

FPCVERSION!= shell cmd here

i.e. something like:

FPCVERSION!= make -f ${PORTSDIR}/lang/fpc/Makefile -V PORTVERSION

I'm curious though.  Why do you have to find the value of the
{PORTVERSION} from a Ports makefile?

Perhaps there is already a `standard' feature of the Ports which can do
something similar.  Have you asked around in freebsd-ports?

- Giorgos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slightly OT: Invoking a shell command from a Makeile

2008-01-27 Thread Ivan Rambius Ivanov
Hello Georgious,

On Jan 28, 2008 2:59 AM, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 On 2008-01-28 00:48, Ivan Rambius Ivanov [EMAIL PROTECTED] wrote:
  Hello,
 
  I am developing a FreeBSD port and I would like to invoke a shell
  command from it and assign its output to a variable. The command in
  question is
 
  # make -f /usr/ports/lang/fpc/Makefile -V PORTVERSION
 
  and I have verified that it works on the command line.
 
  I try to use it in my port's Makefile in the following way:
 
  FPCVERSION= `make -f /usr/ports/lang/fpc/Makefile -V 
  PORTVERSION`
 
  but it fails with the following error
 
  Syntax error: EOF in backquote substitution

 Try the BSD-specific syntax which uses bang-equal assignment to grab the
 output of a shell command and assign it to a make variable:

 FPCVERSION!= shell cmd here

 i.e. something like:

 FPCVERSION!= make -f ${PORTSDIR}/lang/fpc/Makefile -V PORTVERSION
Yes, I found this out after some searching in google.

 I'm curious though.  Why do you have to find the value of the
 {PORTVERSION} from a Ports makefile?

 Perhaps there is already a `standard' feature of the Ports which can do
 something similar.  Have you asked around in freebsd-ports?
The port I am developing builds and installs a software called nbc
[1], [2]. It is written in Pascal and uses the freepascal compiler [3]
coming from lang/fpc port and some other pascal libraries called units
coming from devel/fpc-fcl-base. These units are installed into
/usr/local/lib/fpc/portversion_of_fpc, where portversion of_fpc is
the version of the freepascal compiler as defined in PORTVERSION
variable in fpc's Makefile. Currently it is 2.2.0. I do not want to
hardcode that number in nbc port's Makefile - I want to extract it on
the fly from fpc port's Makefile, this is why I am doing this trick.

Regards
Rambius

[1] http://bricxcc.sourceforge.net/nbc/
[2] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116274
[3] http://www.freepascal.org/

-- 
Tangra Mega Rock: http://www.radiotangra.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slightly OT: Invoking a shell command from a Makeile

2008-01-27 Thread Giorgos Keramidas
On 2008-01-28 05:19, Ivan Rambius Ivanov [EMAIL PROTECTED] wrote:
 On Jan 28, 2008 2:59 AM, Giorgos Keramidas [EMAIL PROTECTED] wrote:
  FPCVERSION!= make -f ${PORTSDIR}/lang/fpc/Makefile -V PORTVERSION

 Yes, I found this out after some searching in google.

  I'm curious though.  Why do you have to find the value of the
  {PORTVERSION} from a Ports makefile?
 
  Perhaps there is already a `standard' feature of the Ports which can do
  something similar.  Have you asked around in freebsd-ports?

 The port I am developing builds and installs a software called nbc
 [1], [2]. It is written in Pascal and uses the freepascal compiler [3]
 coming from lang/fpc port and some other pascal libraries called units
 coming from devel/fpc-fcl-base. These units are installed into
 /usr/local/lib/fpc/portversion_of_fpc, where portversion of_fpc is
 the version of the freepascal compiler as defined in PORTVERSION
 variable in fpc's Makefile. Currently it is 2.2.0. I do not want to
 hardcode that number in nbc port's Makefile - I want to extract it on
 the fly from fpc port's Makefile, this is why I am doing this trick.

That's interesting, but the *installed* copy of devel/fpc-fcl-base may
be older than the available version in `/usr/ports'.  Many programs
install an `xxx-config' script too, which can be queried at runtime,
i.e.:

$ net-snmp-config --version
5.3.1

This runs from ${LOCALBASE} and it is *always* the same as the installed
version of the net-snmp port.

Maybe a similar script can be added to the devel/fpc-fcl-base port, if
one is not already part of it?

In a similar vein, the editors/emacs* ports support installing
extensions in multiple subdirs of ${LOCALBASE} by switching make
variables depending on the value of ${EMACS_PORT_NAME}.

It's probably more work to make devel/fpc-fcl-base tunable like this,
but it is going to be safer than assuming that the /usr/ports/lang/fpc
version is actually the same as the installed version.  This assumption
is only true until the next CVSup of the ports tree, or until portsnap
fetches a newer version of lang/fpc.

I'm *not* a ports hacker, so some of the above may be false and all of
it should be taken with a grain of salt, but I'm sure our freebsd-ports
guys can help :)  It's definitely worth asking them for the best way to
implement something like this.

- Giorgos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


recommendations wanted for best audioo wwebsite. slightly OT.

2007-12-22 Thread Gary Kline

A couple months ago I happened upon what appeared to be a 
high end website for audiophiles.   All nature of sound clips,
in various formats.  Looks like I did not bookmark the site and now
I can't locate it.   Does anybody on-list have some preferred 
audio site.This is, obviously, for when/if I get a working
sound card swapped back it!

tia, guys,

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   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: Another slightly OT q...

2007-05-09 Thread [EMAIL PROTECTED]

On 09/05/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote:



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
 Sent: Tuesday, May 08, 2007 7:19 PM
 To: [EMAIL PROTECTED]
 Cc: Gary Kline; FreeBSD Mailing List
 Subject: Re: Another slightly OT q...



   So it *was* a hoax?  Rats.  Some weeks ago on Public
   Broadcasting, a few sentences were spoken on the potential of
   fractal geometry to achieve [I'm guessing] data-compression on
   the order of what Sloot was claiming.  So far, no one has figured
   it out.  It may be a dream... .


There's some cool math out there that explains all of this but I never liked
math, but it isn't necessary to know the math to understand the issue.  Just
consider the problem for a while and you will realize that the compression
ratio of a specific data stream varies dependent on the amount of repetition
in
the input datastream.  A perfectly unrandom datastream, like a constant
series of logical 1's, carries no information, but has a compression ratio
that is infinite.  A perfectly random datastream, on the other hand,
also carries no information, but has a compression ratio that is zero.
I believe that a datastream that is 50% of the way between either extreme
carries the most information, and I believe your typical datastream is much
closer to
the perfectly unrandom side than the perfectly random side, compression is
merely the process of pushing the randomness of the stream closer to the
random side.


Actually, the more information (as such) the closer
the data stream is to perfectly random.  The relation-
ship might be asymptotic, but I am no maths major.


Thus, if the input datastream is very close to the perfectly unrandom side -
meaning it has a very high amount of repetition in it, you can get some
pretty spectacular compression ratios.  But as you move closer to unrandom,
you carry less data.  So, the better applications emit datastreams that
are less unrandom, therefore compression does not work as well on them.


I suppose this leads to the discussion about what
data and information really are.  Imagine a can.
The can is data.  Imagine tha can is full of worms.


This of course is completely ignoring the other data issue, is the
application
data efficient to begin with?  For example, you can transfer about a page of
information in ASCII that consumes about 1K of data, that same page of
information in a MS Word file consumes a hundred times that amount of
space -
Word is therefore extremely inefficient with data.


In this case, since word has to replace typesetting,
layout, and formatting software, in addition to being a
word processor the header and meta information tend
to bloat the files quite a lot.

Every few years someone comes along who makes
some mad claims about some new buzzword-enhanced
compression technology.  Obviously, if there is ever a
radical leap forward in that area the theory will have to
follow, since modern theory cannot accomodate (lossless)
compression past the point of randomness (generally less
than 16:1 even for Danielle Steele).  mp3, avi, real media
mpeg, et al are a different story entirely, sicne they are
lossy and optimised for their respective information.

-rw-r--r--  1 1705  1705  7826420 May  9 10:58
ssion_i_really_fuckin_care_about_you.rm
-rw-r--r--  1 1705  1705  7791691 May  9 10:58
ssion_i_really_fuckin_care_about_you.rm.bz2

In this case, very slightly compressible: with some data
your resulting file will be slightly larger, yet the raw datastream
(and it looks like it was filmed from a cameraphone here (though
most likely an 8mm digicam (these, I believe, compress on the fly,
so the raw datastream never touches tape))) would probably have
been many tens, if not several hundreds, of megabytes.

Remember life before the tweel?

--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Another slightly OT q...

2007-05-09 Thread Eduardo Morras
At 23:22 08/05/2007, you wrote:


 see: http://nl.wikipedia.org/wiki/Jan_Sloot

 about the  Sloot Digital Coding System. great stuff.


Danke.

that seems to be German, in Dutch Bedankt would be appropiate. i
appreciate the effort though.

I found the english wkik entry so I could understand the
piece.  Since Sloot is dead, no way of knowing.

actually there is. the Dutch wiki-article has much more detail about the case.

this Sloot guy claimed he could compress any movie into 1kb ( 1024
bytes ). he stored this 1kb movies on smartcards, which he would feed
into his magic machine to show the movies.

in The Netherlands there was press-coverage about this, and he was
able to attract investors and even a ( up to then ) reputable IT-guru
assiocated with Philips to back him. they found silicon-valley
investors who were interested.

he died / killed himself / was murdered before his hoax could be uncovered.

It's easily covered. Check usenet comp.compression faq. It's the Counting 
Theorem. For a sequence of n-bits there are 2^n possible files (f.e. there are 
256 files of 8 bits). Unfortunately there are only (2^n)-1 possible files 
lesser than the original (f.e. there are 128 files of 7 bits, 64 of 6, 32 of 5, 
16 of 4, 8 of 3, 4 of 2 and 2 of 1 bits, total, 255 files) so using an 
algorithm you can't compress all n-bits sequences.

For this case, you can easily check that using this guy algorithm, you can have 
only 2^8192 movies. Perhaps you think they are a lot, but nearly all are white 
noise movies.

There are 1-2 monthly of this claims on comp.compression. Normally they are 
beginners to Information Theory / Compression but others are simply cheaters.

sounds a lot like the perpetuum mobile stories.

In fact, it is. Information Theory uses entropy concept too and claims like 
this breaks the 2nd and 3rd principle.

But this is the
kind of leap forward that would save, oh, a few measley
$Billions.  And give millions of us faster and broader access.

HTH

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Another slightly OT q...

2007-05-09 Thread Eduardo Morras
At 19:05 08/05/2007, you wrote:

Hey Guys,

Does anybody have any websites where I can look up the latest
in compression technology?  I've got a very thin ISDL link
so pulling streams over is like looking at postage-stamp images.

Depends on what you are trying to compress. You can look these pages for 
lossless compression:

www.maximumcompression.com

prize.hutter1.net 

www.cs.fit.edu/~mmahoney/compression/text.html

datacompression.info

If you are looking for zip/deflate try www.7-zip.com , it has the best 
zip/deflate engine, you can get zip standard files smaller than based zlib 
ones. It's for windows, but there is a unix port inside the web pages.

There were whispers about fractal-compression as being the golden
goal, but I can't find much about this one.  Anybody have any
clues here?

Depends on what you want to compress. Fractal compression for text can't work, 
text has no autosimetry. For images it is being developed, but results are bad. 
You can check citeseer for . Currently for video/image wavelets are the best 
(dirac, snow, jpeg2000 and more) codecs but there is no standard codec that 
uses them (no ISO-ITU, no mpeg consortium). For text, the best compressors are 
neural nets (paq family) or ppm.

thanks up front,

gary

HTH



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Another slightly OT q...

2007-05-09 Thread Gary Kline
On Wed, May 09, 2007 at 07:50:02PM +0200, Eduardo Morras wrote:
 At 23:22 08/05/2007, you wrote:
 
 he died / killed himself / was murdered before his hoax could be uncovered.
 
 It's easily covered. Check usenet comp.compression faq. It's the Counting 
 Theorem. For a sequence of n-bits there are 2^n possible files (f.e. there 
 are 256 files of 8 bits). Unfortunately there are only (2^n)-1 possible files 
 lesser than the original (f.e. there are 128 files of 7 bits, 64 of 6, 32 of 
 5, 16 of 4, 8 of 3, 4 of 2 and 2 of 1 bits, total, 255 files) so using an 
 algorithm you can't compress all n-bits sequences.
 
 For this case, you can easily check that using this guy algorithm, you can 
 have only 2^8192 movies. Perhaps you think they are a lot, but nearly all are 
 white noise movies.
 
 There are 1-2 monthly of this claims on comp.compression. Normally they are 
 beginners to Information Theory / Compression but others are simply cheaters.
 
 sounds a lot like the perpetuum mobile stories.
 
 In fact, it is. Information Theory uses entropy concept too and claims like 
 this breaks the 2nd and 3rd principle.
 

Thanks for these tidbits of insight!  I figured there were some 
laws or principles that told what the upper bound could be.  I've
always been pretty good at math, but since Life is bounded, 
I'll take your word for it :-)

gary

PS:  I'll check out the URL's in your last email.  They'll 
 probably be overkill, but for reference


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Another slightly OT q...

2007-05-08 Thread Gary Kline

Hey Guys,

Does anybody have any websites where I can look up the latest
in compression technology?  I've got a very thin ISDL link
so pulling streams over is like looking at postage-stamp images.

There were whispers about fractal-compression as being the golden
goal, but I can't find much about this one.  Anybody have any
clues here?

thanks up front,

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Another slightly OT q...

2007-05-08 Thread usleepless

On 5/8/07, Gary Kline [EMAIL PROTECTED] wrote:


Hey Guys,

Does anybody have any websites where I can look up the latest
in compression technology?  I've got a very thin ISDL link
so pulling streams over is like looking at postage-stamp images.

There were whispers about fractal-compression as being the golden
goal, but I can't find much about this one.  Anybody have any
clues here?

thanks up front,

gary


see: http://nl.wikipedia.org/wiki/Jan_Sloot

about the  Sloot Digital Coding System. great stuff.

regards,

usleep
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Another slightly OT q...

2007-05-08 Thread Gary Kline
On Tue, May 08, 2007 at 09:16:11PM +0200, [EMAIL PROTECTED] wrote:
 On 5/8/07, Gary Kline [EMAIL PROTECTED] wrote:
 
  Hey Guys,
 
  Does anybody have any websites where I can look up the latest
  in compression technology?  I've got a very thin ISDL link
  so pulling streams over is like looking at postage-stamp images.
 
  There were whispers about fractal-compression as being the golden
  goal, but I can't find much about this one.  Anybody have any
  clues here?
 
  thanks up front,
 
  gary
 
 see: http://nl.wikipedia.org/wiki/Jan_Sloot
 
 about the  Sloot Digital Coding System. great stuff.
 

Danke.  I found the english wkik entry so I could understand the
piece.  Since Sloot is dead, no way of knowing.  But this is the
kind of leap forward that would save, oh, a few measley
$Billions.  And give millions of us faster and broader access.

cheers!

gary




 regards,
 
 usleep

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Another slightly OT q...

2007-05-08 Thread usleepless

Gary,

On 5/8/07, Gary Kline [EMAIL PROTECTED] wrote:

On Tue, May 08, 2007 at 09:16:11PM +0200, [EMAIL PROTECTED] wrote:
 On 5/8/07, Gary Kline [EMAIL PROTECTED] wrote:
 
Hey Guys,
 
Does anybody have any websites where I can look up the latest
in compression technology?  I've got a very thin ISDL link
so pulling streams over is like looking at postage-stamp images.
 
There were whispers about fractal-compression as being the golden
goal, but I can't find much about this one.  Anybody have any
clues here?
 
thanks up front,
 
gary

 see: http://nl.wikipedia.org/wiki/Jan_Sloot

 about the  Sloot Digital Coding System. great stuff.


Danke.


that seems to be German, in Dutch Bedankt would be appropiate. i
appreciate the effort though.


I found the english wkik entry so I could understand the
piece.  Since Sloot is dead, no way of knowing.


actually there is. the Dutch wiki-article has much more detail about the case.

this Sloot guy claimed he could compress any movie into 1kb ( 1024
bytes ). he stored this 1kb movies on smartcards, which he would feed
into his magic machine to show the movies.

in The Netherlands there was press-coverage about this, and he was
able to attract investors and even a ( up to then ) reputable IT-guru
assiocated with Philips to back him. they found silicon-valley
investors who were interested.

he died / killed himself / was murdered before his hoax could be uncovered.

sounds a lot like the perpetuum mobile stories.


But this is the
kind of leap forward that would save, oh, a few measley
$Billions.  And give millions of us faster and broader access.


good luck!

regards,

usleep
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Another slightly OT q...

2007-05-08 Thread Gary Kline
On Tue, May 08, 2007 at 11:22:31PM +0200, [EMAIL PROTECTED] wrote:
 Gary,
 
 On 5/8/07, Gary Kline [EMAIL PROTECTED] wrote:
 On Tue, May 08, 2007 at 09:16:11PM +0200, [EMAIL PROTECTED] wrote:
  On 5/8/07, Gary Kline [EMAIL PROTECTED] wrote:
  
Hey Guys,
  
Does anybody have any websites where I can look up the latest
in compression technology?  I've got a very thin ISDL link
so pulling streams over is like looking at postage-stamp images.
  
There were whispers about fractal-compression as being the golden
goal, but I can't find much about this one.  Anybody have any
clues here?
  
thanks up front,
  
gary
 
  see: http://nl.wikipedia.org/wiki/Jan_Sloot
 
  about the  Sloot Digital Coding System. great stuff.
 
 
  Danke.
 
 that seems to be German, in Dutch Bedankt would be appropiate. i
 appreciate the effort though.

Yes.  As far as I know, on my father's side, I'm .5 German and .5
Hollander.  But I'm also a linguistic moron.  So I'm infinitely
grateful that so many folk are speak English..  

 
 I found the english wkik entry so I could understand the
  piece.  Since Sloot is dead, no way of knowing.
 
 actually there is. the Dutch wiki-article has much more detail about the 
 case.
 
 this Sloot guy claimed he could compress any movie into 1kb ( 1024
 bytes ). he stored this 1kb movies on smartcards, which he would feed
 into his magic machine to show the movies.


Aha! Were these smartcards like microprint?  One of my favorite
philsophy texts has 400+ pages and is compressible into one small
thinfilm.  *Or*, by smartcard do you mean something non-optical?  

 
 in The Netherlands there was press-coverage about this, and he was
 able to attract investors and even a ( up to then ) reputable IT-guru
 assiocated with Philips to back him. they found silicon-valley
 investors who were interested.
 
 he died / killed himself / was murdered before his hoax could be uncovered.
 
 sounds a lot like the perpetuum mobile stories.


So it *was* a hoax?  Rats.  Some weeks ago on Public
Broadcasting, a few sentences were spoken on the potential of
fractal geometry to achieve [I'm guessing] data-compression on
the order of what Sloot was claiming.  So far, no one has figured
it out.  It may be a dream... .

 
 But this is the
  kind of leap forward that would save, oh, a few measly
  $Billions.  And give millions of us faster and broader access.
 
 good luck!
 
 regards,
 
 usleep

Same! and bedankt;

ciao,

gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Another slightly OT q...

2007-05-08 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
 Sent: Tuesday, May 08, 2007 7:19 PM
 To: [EMAIL PROTECTED]
 Cc: Gary Kline; FreeBSD Mailing List
 Subject: Re: Another slightly OT q...



   So it *was* a hoax?  Rats.  Some weeks ago on Public
   Broadcasting, a few sentences were spoken on the potential of
   fractal geometry to achieve [I'm guessing] data-compression on
   the order of what Sloot was claiming.  So far, no one has figured
   it out.  It may be a dream... .


There's some cool math out there that explains all of this but I never liked
math, but it isn't necessary to know the math to understand the issue.  Just
consider the problem for a while and you will realize that the compression
ratio of a specific data stream varies dependent on the amount of repetition
in
the input datastream.  A perfectly unrandom datastream, like a constant
series of logical 1's, carries no information, but has a compression ratio
that is infinite.  A perfectly random datastream, on the other hand,
also carries no information, but has a compression ratio that is zero.
I believe that a datastream that is 50% of the way between either extreme
carries the most information, and I believe your typical datastream is much
closer to
the perfectly unrandom side than the perfectly random side, compression is
merely the process of pushing the randomness of the stream closer to the
random side.

Thus, if the input datastream is very close to the perfectly unrandom side -
meaning it has a very high amount of repetition in it, you can get some
pretty spectacular compression ratios.  But as you move closer to unrandom,
you carry less data.  So, the better applications emit datastreams that
are less unrandom, therefore compression does not work as well on them.

This of course is completely ignoring the other data issue, is the
application
data efficient to begin with?  For example, you can transfer about a page of
information in ASCII that consumes about 1K of data, that same page of
information in a MS Word file consumes a hundred times that amount of
space -
Word is therefore extremely inefficient with data.

Probably the worst offender of this are the news websites like www.cnn.com.
They insist on putting more and more news articles into videos rather than
just a couple screens of text.  I just do not see any benefit to the
consumer of a video of an interview with someone like George Bush,
when the video consists of 2 sentence fragments.  The entire story
could be written on a webpage, sans video.  Do they really think the
typical reader doesen't know what he looks like already?

I see this a lot with audio files, also.  For example, how many times have
you come across an .mp3 file that was of speech only - perhaps a professor's
lecture - that's been recorded in CD quality full stereo?  A .wav file
recorded at the lowest sampling rate in mono, which is perfectly acceptable
for speech, would be smaller.

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


slightly OT | Non-Matching MP processors...

2007-04-18 Thread Modulok

This isn't really a FreeBSD specific problem, but this list has a
number of people who administrate multi-CPU servers, so I thought it a
logical place to ask. Does anyone else experienced this:

Somewhat infrequently, the CPUs of a multi-socket system get out of
synch and the BIOS complains about Warning: Non-matching MP
processors, (even though the CPU's are an identical, matched pair of
AMD Athlon 2200+). I've had this happen on a Tyan K7 S2468 mainboards
(Phoenix Bios 4.0 Release 6.0), more than a few times. The problem
seems to remedy itself without intervention, eventually, (several
restarts later).

Is this an issue for anyone else? Does it occur more frequently with
more processors (4, 8)? What did you do to resolve or reproduce it?

-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slightly OT - my freebsd email topology

2007-04-06 Thread Charles Trevor

Jonathan Horne wrote:

currently, my email server is just a single box, accepting and sending emails
from and to the internet.  spamassassin and sendmail, and so far, it works
satisfactory.

i would like to change it up, so that i have a pair of servers doing MX from the
internet, which then passes to an internal server for delivery.  if i do that, i
could remove spamassassin from the internal server, and run it on just the 2
external.  all those configurations is really not my issue here... what im
really pondering is how would external servers that are seperate from where the
target mailboxes are, know which addressess are acceptable and which to return a
550?

does anyone have any setups that are similar to this, and could advise me or
point me in the right direction?

thanks,
jonathan


Jonathan,

I do just this, a pair of FreeBSD boxes running Sendmail, SpamAssassin 
and ClamAV protecting a single internal box. I use MIMEDefang to do a 
lot of the heavy lifting. MIMEDefang provides a facility to check the 
to: email address against the server that is the ultimate mail 
destination before accepting it for delivery, preventing the border 
servers from accepting all email to the domain and then having to try to 
deliver bounces to faked/invalid from addresses. I think this is what 
you were looking for.


The function I am using to do this in mimedefang-filter is

sub filter_recipient {

my($answer, $explanation) =
	md_check_against_smtp_server($sender, $recip,  
mx.adomain.co.uk, mailhomes.adomain.co.uk);

# Convert TEMPFAIL to CONTINUE
$answer = 'CONTINUE' if ($answer eq 'TEMPFAIL');
return ($answer, $explanation);

}

MIMEDefang can be found here http://www.mimedefang.org/

HTH,

Charlie

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slightly OT - my freebsd email topology

2007-04-06 Thread doug



On Thu, 5 Apr 2007, Derek Ragona wrote:


At 12:36 PM 4/5/2007, Jonathan Horne wrote:
currently, my email server is just a single box, accepting and sending emails 
from and to the internet.  spamassassin and sendmail, and so far, it works 
satisfactory.


i would like to change it up, so that i have a pair of servers doing MX from 
the internet, which then passes to an internal server for delivery.  if i do 
that, i could remove spamassassin from the internal server, and run it on 
just the 2 external.  all those configurations is really not my issue here... 
what im really pondering is how would external servers that are seperate from 
where the target mailboxes are, know which addressess are acceptable and 
which to return a 550?


does anyone have any setups that are similar to this, and could advise me or 
point me in the right direction?


thanks,
jonathan



Generally you want to filter and bounce mail at the point of origin, so your 
mail server that first accepts the mail.  As long as you have the bandwidth on 
that server you would spam check, virus check there, bouncing any bad ones. 
Then forward to your internal server only clean mail for delivery.


However unless you have terribly underpowered servers, or a lot of email (like 
50,000 messages a day) running on two servers should not be necessary.


   -Derek


Our expedience suggests the number is at least 100,000 before you would see any 
problems and perhaps, if you have limited bandwidth as we do, that would be your 
first constraint. We run three mail servers with all customer emails coming to 
one server. Over the last several months we average about 30,000 messages/day. 
We have had 4 unusual pikes getting as many as 310,000 messages. This was a DoS 
attack from several hundred sources. The main problem this caused was slowing 
down the delivery of valid mail. We had one 90,000 message day in our current 
configuration that went unnoticed. We now use spamcop and greylisting on the 
customers server, offering bogofilter backed with spamassassin for users who 
want content filtering. On our internal server we use spamcop and bogofilter 
under duress adding duls.dnsbl.sorbs.net when a similar attack filled /var.


We forward email for about half of our customers which would sorta be similar to 
having a mail gateway for these clients. Content filtering for this set has 
caused more problems than it solves.


I hope my experience gives you some guidance.

Doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slightly OT - my freebsd email topology

2007-04-06 Thread Mikhail Goriachev
Derek Ragona wrote:
 At 12:36 PM 4/5/2007, Jonathan Horne wrote:
 currently, my email server is just a single box, accepting and sending emails
from and to the internet.  spamassassin and sendmail, and so far, it works
 satisfactory.

 i would like to change it up, so that i have a pair of servers doing MX 
from the
 internet, which then passes to an internal server for delivery.  if i do 
 that, i
 could remove spamassassin from the internal server, and run it on just the 2
 external.  all those configurations is really not my issue here... what im
 really pondering is how would external servers that are seperate from 
 where the
 target mailboxes are, know which addressess are acceptable and which to 
 return a
 550?

 does anyone have any setups that are similar to this, and could advise me or
 point me in the right direction?

 thanks,
 jonathan
 
 
 Generally you want to filter and bounce mail at the point of origin, so 
 your mail server that first accepts the mail.  As long as you have the 
 bandwidth on that server you would spam check, virus check there, bouncing 
 any bad ones.  Then forward to your internal server only clean mail for 
 delivery.


Bounces generate backscatters. The idea is to filter and *reject*
(instead of bouncing) at the point of origin.


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


slightly OT - my freebsd email topology

2007-04-05 Thread Jonathan Horne
currently, my email server is just a single box, accepting and sending emails
from and to the internet.  spamassassin and sendmail, and so far, it works
satisfactory.

i would like to change it up, so that i have a pair of servers doing MX from the
internet, which then passes to an internal server for delivery.  if i do that, i
could remove spamassassin from the internal server, and run it on just the 2
external.  all those configurations is really not my issue here... what im
really pondering is how would external servers that are seperate from where the
target mailboxes are, know which addressess are acceptable and which to return a
550?

does anyone have any setups that are similar to this, and could advise me or
point me in the right direction?

thanks,
jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [freebsd-questions] slightly OT - my freebsd email topology

2007-04-05 Thread Howard Jones

Jonathan Horne wrote:

currently, my email server is just a single box, accepting and sending emails
from and to the internet.  spamassassin and sendmail, and so far, it works
satisfactory.

i would like to change it up, so that i have a pair of servers doing MX from the
internet, which then passes to an internal server for delivery.  if i do that, i
could remove spamassassin from the internal server, and run it on just the 2
external.  all those configurations is really not my issue here... what im
really pondering is how would external servers that are seperate from where the
target mailboxes are, know which addressess are acceptable and which to return a
550?
  
I did this for our backup MX using qpsmtpd and a plugin I wrote to check 
against an automatically updated file. qpsmtpd can deliver onwards to 
any SMTP server after running whatever filtering/fussiness you specify.


I believe there is a milter plugin that can do onward queries before 
accepting mail, too, although I don't use sendmail, so I couldn't tell 
you the name of it...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slightly OT - my freebsd email topology

2007-04-05 Thread Graham Dunn
Jonathan Horne wrote:
[snip]
 i would like to change it up, so that i have a pair of servers doing MX from 
 the
 internet, which then passes to an internal server for delivery.  if i do 
 that, i
 could remove spamassassin from the internal server, and run it on just the 2
 external.  all those configurations is really not my issue here... what im
 really pondering is how would external servers that are seperate from where 
 the
 target mailboxes are, know which addressess are acceptable and which to 
 return a
 550?
 
 does anyone have any setups that are similar to this, and could advise me or
 point me in the right direction?

The simplest way I've found is to assemble your own access file (either
from /etc/passwd or LDAP) and distribute that to your MX hosts.

Graham

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slightly OT - my freebsd email topology

2007-04-05 Thread Derek Ragona

At 12:36 PM 4/5/2007, Jonathan Horne wrote:

currently, my email server is just a single box, accepting and sending emails
from and to the internet.  spamassassin and sendmail, and so far, it works
satisfactory.

i would like to change it up, so that i have a pair of servers doing MX 
from the
internet, which then passes to an internal server for delivery.  if i do 
that, i

could remove spamassassin from the internal server, and run it on just the 2
external.  all those configurations is really not my issue here... what im
really pondering is how would external servers that are seperate from 
where the
target mailboxes are, know which addressess are acceptable and which to 
return a

550?

does anyone have any setups that are similar to this, and could advise me or
point me in the right direction?

thanks,
jonathan



Generally you want to filter and bounce mail at the point of origin, so 
your mail server that first accepts the mail.  As long as you have the 
bandwidth on that server you would spam check, virus check there, bouncing 
any bad ones.  Then forward to your internal server only clean mail for 
delivery.


However unless you have terribly underpowered servers, or a lot of email 
(like 50,000 messages a day) running on two servers should not be necessary.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slightly OT - my freebsd email topology

2007-04-05 Thread Nathan Vidican

Jonathan Horne wrote:
currently, my email server is just a single box, accepting and sending 
emails
from and to the internet.  spamassassin and sendmail, and so far, it 
works

satisfactory.

i would like to change it up, so that i have a pair of servers doing 
MX from the
internet, which then passes to an internal server for delivery.  if i 
do that, i
could remove spamassassin from the internal server, and run it on just 
the 2
external.  all those configurations is really not my issue here... 
what im
really pondering is how would external servers that are seperate from 
where the
target mailboxes are, know which addressess are acceptable and which 
to return a

550?

does anyone have any setups that are similar to this, and could advise 
me or

point me in the right direction?

thanks,
jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



  
There's really too many variables in your question to provide a good 
answer.


ideally, the 'internal' server should be configured as normal, but not 
exposed on a public interface; sendmail should not be listening for 
incoming connections from anything other than your two 'outside' boxes 
if it has a valid public IP address.


If the previous sceenario is true, then all you've really gotta do on 
the 'outside' boxes, is add the domain names for which the 'inside' box 
is going to relay mail for, and set the two outside boxes as MX hosts in 
your public DNS records, while they receive internally the 
hostname/address of the internal MX host.


You could go a step further, by using virtusertable within sendmail to 
redirect incoming mail for a domain to a specific host on the inside 
instead of just relaying, which could provide a more flexible filtering 
mechanism; something like:


@whatever.com   [EMAIL PROTECTED]

Essentially instructing sendmail on the external machine to forward 
along '[EMAIL PROTECTED]' to '[EMAIL PROTECTED]' ... 
or you could go beyond that to only filter specific addresses and error 
out everything else. Well, you get the idea - there's more than one way 
to do this.


You need to really specify your goals more clearly: Are you trying to 
simply offset the load? Are you trying to make a redundant setup for a 
failover setup? Are you trying to be more secure by filtering before 
handling email? Are you trying to avoid having all your eggs in one 
basket? Do you desire a single point of configuration, or are you 
expecting to configure each new account on all servers? These are all 
things you have to consider.


Bottom line is, you need to really sit down and put to thought exactly 
what you're trying to accomplish. If the load created by spamassassin is 
your sole problem - then you can run just spamassassin's filtering 
daemon on another machine - it is capable of running spamd over a 
network (see: spamd/spamc: 
http://spamassassin.apache.org/full/3.0.x/dist/spamd/README for more info).


My advice would be to decide exactly what you want to accomplish, then 
come back and ask for further suggestion from this list. There are many 
talented, experienced administrators here - who chances are, have come 
accross an almost exact case that could help you out - they all just 
need a little more to go on before they can tell you what they'd do in 
your case. Ultimately, it's up to you and RTFM'ing the heck out of it 
before you implement it in production is always a good choice.


P.S. - sorry if this double-posts, realized I sent from the wrong 
account and tried to cancel - not sure if it did, so figure better two 
copies than none.


--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slightly OT - my freebsd email topology

2007-04-05 Thread Nathan Vidican

Jonathan Horne wrote:

currently, my email server is just a single box, accepting and sending emails
from and to the internet.  spamassassin and sendmail, and so far, it works
satisfactory.

i would like to change it up, so that i have a pair of servers doing MX from the
internet, which then passes to an internal server for delivery.  if i do that, i
could remove spamassassin from the internal server, and run it on just the 2
external.  all those configurations is really not my issue here... what im
really pondering is how would external servers that are seperate from where the
target mailboxes are, know which addressess are acceptable and which to return a
550?

does anyone have any setups that are similar to this, and could advise me or
point me in the right direction?

thanks,
jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  

There's really too many variables in your question to provide a good answer.

ideally, the 'internal' server should be configured as normal, but not 
exposed on a public interface; sendmail should not be listening for 
incoming connections from anything other than your two 'outside' boxes 
if it has a valid public IP address.


If the previous sceenario is true, then all you've really gotta do on 
the 'outside' boxes, is add the domain names for which the 'inside' box 
is going to relay mail for, and set the two outside boxes as MX hosts in 
your public DNS records, while they receive internally the 
hostname/address of the internal MX host.


You could go a step further, by using virtusertable within sendmail to 
redirect incoming mail for a domain to a specific host on the inside 
instead of just relaying, which could provide a more flexible filtering 
mechanism; something like:


@whatever.com   [EMAIL PROTECTED]

Essentially instructing sendmail on the external machine to forward 
along '[EMAIL PROTECTED]' to '[EMAIL PROTECTED]' ... 
or you could go beyond that to only filter specific addresses and error 
out everything else. Well, you get the idea - there's more than one way 
to do this.


You need to really specify your goals more clearly: Are you trying to 
simply offset the load? Are you trying to make a redundant setup for a 
failover setup? Are you trying to be more secure by filtering before 
handling email? Are you trying to avoid having all your eggs in one 
basket? Do you desire a single point of configuration, or are you 
expecting to configure each new account on all servers? These are all 
things you have to consider.


Bottom line is, you need to really sit down and put to thought exactly 
what you're trying to accomplish. If the load created by spamassassin is 
your sole problem - then you can run just spamassassin's filtering 
daemon on another machine - it is capable of running spamd over a 
network (see: spamd/spamc: 
http://spamassassin.apache.org/full/3.0.x/dist/spamd/README for more info).


My advice would be to decide exactly what you want to accomplish, then 
come back and ask for further suggestion from this list. There are many 
talented, experienced administrators here - who chances are, have come 
accross an almost exact case that could help you out - they all just 
need a little more to go on before they can tell you what they'd do in 
your case. Ultimately, it's up to you and RTFM'ing the heck out of it 
before you implement it in production is always a good choice.



--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Slightly OT, question about nvidia X driver screensaver

2006-01-12 Thread Nathan Vidican
Have the nvidia driver installed on my laptop, it's running Linux/amd64... I'm a 
FreeBSD guy, and relatively new to linux. To be honest, not thrilled at all - 
but it works, hardware support for this thing under FreeBSD's just not there 
yet. So platform use aside, the problem should be fairly simple and the same fix 
on anything using nvidia's driver for x:


My screen blanks, there are no settings inside of X, inside the 
bios/power-management, or in kde, I even went so far as to disable power 
management entirely... the screen blanks (like power/screen saver) after a 
period of inactivity, really annoying. I havn't timed it, but figure it's at 
about 5 minutes. Someone had mentioned in an email on this list before how the 
nvidia driver gives them the ability to screensave/powersave a while back while 
talking about something else; I only vaguely remember the thread and havn't been 
able to find it searching the archives - but was hoping that if someone out 
there knows how it does it, perhaps someone else may know how to stop it.


So anyhow, my question is this: How do I make it stop? I don't want my laptop's 
screen to turn off - especially so when it's plugged into a/c power, often I'm 
reading an article and it blanks on me - course I can just move the mouse and 
things come back, but it is really annoying. Any ideas? Please no RTFM, I'm not 
a newbie over here - and I've been reading nvidia's documentation up and down 
and can't find anything on the subject (though I did manage to find a few other 
cool tweaks).


--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slightly OT, question about nvidia X driver screensaver

2006-01-12 Thread Robert Slade
On Thu, 2006-01-12 at 21:18, Nathan Vidican wrote:
 Have the nvidia driver installed on my laptop, it's running Linux/amd64... 
 I'm a 
 FreeBSD guy, and relatively new to linux. To be honest, not thrilled at all - 
 but it works, hardware support for this thing under FreeBSD's just not there 
 yet. So platform use aside, the problem should be fairly simple and the same 
 fix 
 on anything using nvidia's driver for x:
 
 My screen blanks, there are no settings inside of X, inside the 
 bios/power-management, or in kde, I even went so far as to disable power 
 management entirely... the screen blanks (like power/screen saver) after a 
 period of inactivity, really annoying. I havn't timed it, but figure it's at 
 about 5 minutes. Someone had mentioned in an email on this list before how 
 the 
 nvidia driver gives them the ability to screensave/powersave a while back 
 while 
 talking about something else; I only vaguely remember the thread and havn't 
 been 
 able to find it searching the archives - but was hoping that if someone out 
 there knows how it does it, perhaps someone else may know how to stop it.
 
 So anyhow, my question is this: How do I make it stop? I don't want my 
 laptop's 
 screen to turn off - especially so when it's plugged into a/c power, often 
 I'm 
 reading an article and it blanks on me - course I can just move the mouse and 
 things come back, but it is really annoying. Any ideas? Please no RTFM, I'm 
 not 
 a newbie over here - and I've been reading nvidia's documentation up and down 
 and can't find anything on the subject (though I did manage to find a few 
 other 
 cool tweaks).

Nathan,

According to the Nvidia site the drivers are different. You really
should ask your question on the linux list for the distro or even on the
x-windows list.

Rob  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.0R GENERIC makeoptions DEBUG=-g [Slightly OT]

2005-11-14 Thread Eric Schuele

Robert Watson wrote:


On Mon, 14 Nov 2005, Simon Ironside wrote:

/sys/i386/conf/GENERIC has this line uncommented - is this on purpose? 
I commented it out before building a new kernel.


makeoptions DEBUG=-g



This was by accident, but actually isn't a bad idea.  We discovered the 
problem at the last minute, after the 6.0-R builds had completed, and as 
they were rsyncing to mirrors.  After thinking about it for a few 
minutes, we decided that actually, it has some nice benefits that made 
it worth not rebuilding and re-mirroring.  If we were earlier in the 
release cycle, we might have changed the setting, however.


We identified a few specific upsides and downsides:

Good: We now have debugging symbols easily available and widely 
accessible for the GENERIC kernel shipped with the release.  This makes 
it much easier for developers to debug problems using that kernel, as we 
no longer need to ask end-users to build a kernel with debugging 
symbols, etc, in order to debug a problem.  Especially for a .0 release, 
this is a very useful, and has presented a problem in previous releases.


Bad: Kernel build times are now significantly slower, and required space 
to build a kernel significantly larger by default.


We'll see how it settles out -- CPUs are a lot larger, and disks a lot 
bigger than they used to be.  The kernel is stripped of debugging 
symbols before it is installed, so this is only potentially a problem on 
systems that already have enough space to hold source, builds, etc, and 
doesn't affect systems where the kernel is installed but not built.  
I.e., this doesn't affect the footprint for embedded systems, or systems 
where a kernel is built centrally and then distributed.


My recommendation would be to leave -g in unless you know that the added 
build time and disk space for the build process will be a problem for 
you. 


If I were to decide to remove this, and I have a small config file which 
includes GENERIC, what directive would I use.  For example, with a 
device I wish to remove I can use nodevice... for options, nooptions. 
nomakeoptions maybe?


Also... I once saw someone ask this and never saw a reply
Where can I find documentation of the above mentioned mechanism?

Thanks.

Hopefully you don't ever run into any problems requiring debug 
symbols, but if you do it will probably save you some time and hassle, 
especially if it's a problem that occurs once every six months, in which 
case rebooting with a kernel with known symbol layout will mean waiting 
six months to debug the problem. :-)


Robert N M Watson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]





--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anthony's issues [Slightly OT]

2005-03-22 Thread Duo
On Tue, 22 Mar 2005, Stijn Hoop wrote:
Can we please STOP fueling Anthony's drivel?
--Stijn
--
Nostalgia ain't what it used to be.
I have two words for you: Mail Filtering.
Use it. It can work wonders on signal to noise ratio. He is not going to 
quit, ever.

Honestly, the whole disk thing reminds me of an experience with FreeBSD 
and an old gateway solo laptop.

I wanted to make better use of it, as it was given to me, and it had 
windows 98 on it. Now, when I went to install 5.3, the machine would boot 
off CD, but, completely bork upon trying to get the disk to work.

I popped in my 4.x CD, it worked with the disk fine. So, something must 
have changed. I scoured the list for similar/related issues. And, I found 
a simple setting change I could make at boot time, for the DMA settings, 
to get 5.3 installed. Made the same change in the .conf for boottime, and 
I was off and running.

What I did not do, was camp out on the list, make wild random accusations 
that FreeBSD was a bug infested nightmare, because windows worked, but the 
newest FreeBSD did not. Windows has a very high tolerance for errors, 
which it masks.Masking such things is typically by design, so as not to 
panic the person sitting in front of it. I have seen this time and again. 
It's not a reason to panic. Ever. Also consider, it shields alot of 
sysadmins from real issues, as opposed to forcing them to deal with them 
in a real positive way: researching the problem to solution. I think this 
is one of the core issues Anthony has: having been sheltered from any real 
issues such as these, he's not equipped.

Having worked to get LinuxPPC (when it was new) working with NewWorld 
Macs, and new powerbooks, there are always solutions, provided you dont 
act like a reprehensible jackass, who spouts off about their credentials, 
etc, ad infinitum, as a justification for bowing to their irrational and 
asinine behavior.

The bottom line is, this guy will never go away. He dosent get it, so to 
speak. He dosent understand the fundamentals of open source methodology, 
he does not have a clear, concise, and professional understanding of how 
development, or any kind of rational sense of how the troubleshooting 
method works. He has zero clue as to how one can apply isolation logic, 
and all he wants to do is say, it worked on NT, now you better make it 
work for me, or else your product sucks, and you are not a real developer 
if you don't pander to my every whim.

In the end, yes, he is annoying. But, you can take steps to avoid him, his 
posts, and the replies. Set up mail rules, procmail, whatever you need to 
do. And, while this may be a hassle, a good set of mail filtering 
templates is always a good idea, because Anthony is not the first flaming 
troll to ever be on this, or any mailing list, and he will not be the 
last. You would do well to accept this, start filtering replies, and bask 
in the new found signal to noise ratio.

I have him blocked, but, not the replies. I think mostly, the list mages 
are handling him well, and, reading the fallout is far more entertaining.

--
Duo
Although the Buddhists will tell you that desire is the root of 
suffering, my personal experience leads me to point the finger at system 
administration.
	--Philip Greenspun

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anthony's issues [Slightly OT]

2005-03-22 Thread Stijn Hoop
On Tue, Mar 22, 2005 at 08:55:01AM -0600, Duo wrote:
 On Tue, 22 Mar 2005, Stijn Hoop wrote:
  Can we please STOP fueling Anthony's drivel?
 
 I have two words for you: Mail Filtering.
 
 Use it. It can work wonders on signal to noise ratio. He is not going to 
 quit, ever.

Well, I'm of the opinion that adding replies that essentially boil
down to debating the same argument over and over again is not
particularly helpful.

 Honestly, the whole disk thing reminds me of an experience with FreeBSD 
 and an old gateway solo laptop.

[snip long explanation that I totally agree with]

 The bottom line is, this guy will never go away.

I've tried to make it clear to him that this is all about DOING something
instead of arguing. When that did not work, I started filtering him.

 In the end, yes, he is annoying. But, you can take steps to avoid him, his 
 posts, and the replies. Set up mail rules, procmail, whatever you need to 
 do. And, while this may be a hassle, a good set of mail filtering 
 templates is always a good idea, because Anthony is not the first flaming 
 troll to ever be on this, or any mailing list, and he will not be the 
 last. You would do well to accept this, start filtering replies, and bask 
 in the new found signal to noise ratio.

I totally agree with you. I have Anthony blocked for a time now. I have
blocked others in the past.

But like I said above, sometimes it's better to just NOT reply for the
umpteenth time. He really believes in something; that's his right.
Unfortunately it is contrary to what most of the other posters believe
in; that's their right.

In all of this I have no part to play, nor do I wish to, except for
one thing: I do receive lots of mail from all of this. And I'm getting
quite tired at reading the same thing over and over.

 I have him blocked, but, not the replies. I think mostly, the list mages 
 are handling him well, and, reading the fallout is far more entertaining.

I also see only the replies; sometimes it is amusing. There is however
a line where enough is enough.

In other words, please take this off-list. This is not about FreeBSD
questions anymore, it's about Anthony's personal hardware problem.  I
doubt it fits the charter.

 Although the Buddhists will tell you that desire is the root of 
 suffering, my personal experience leads me to point the finger at system 
 administration.
   --Philip Greenspun

heh...

Anyway, this'll be my last response to this list in a while; else I
wouldn't be taking my own advice.

And in addition to that, yes I will look at filtering whole threads
in the future. I'm a positive thinker however, so I always get sad
when I have to take such relatively drastic measures. Maybe people
can still come around.

Then again, maybe not in this case...

Thanks for the reply though.

--Stijn

-- 
Fairy tales do not tell children that dragons exist. Children already
know dragons exist. Fairy tales tell children the dragons can be
killed.
-- G.K. Chesterton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


old scsi adapters and the benefits of open source [was: Anthony's issues [Slightly OT]]

2005-03-22 Thread Peter Risdon
On Tue, 2005-03-22 at 08:55 -0600, Duo wrote:

 
 Honestly, the whole disk thing reminds me of an experience with FreeBSD 
 and an old gateway solo laptop.
[...]

I acquired an old Initio SCSI card (9100) around the time of FreeBSD
4.5. A driver was available from the manufacturer's website for FreeBSD
4.x, so I downloaded this, edited the kernel sources, popped the right
bits into the right places in the source tree and it compiled. Great.

But of course this was an unmaintained driver. As new releases of
FreeBSD 4.x came out, naturally it stopped compiling. However, I was
able to hack the kernel sources to get it to build all the way up to
somewhere around 4.8 or 4.9. This was great, because it gave me a couple
of years of extra life for a very old component.

And of course, in the binary-only world of closed-source software this
wasn't an option at all and compatibility was not available with new
Windows versions. To quote from the Initio website:

quote
...discontinued products which do not have Windows 2000 or WinXP
support. This includes the  INI-6100/6102, INI-9100, and INI-9100W
adapters.
/quote

[http://www.initio.com/support/index-download.htm]

So this card simply could not be used with up to date versions of
Windows.

In the end, the hacking became more and more elaborate and therefore too
much trouble, and I just relegated the card to the pile of
no-longer-compatible hardware all computer engineers have in their
attic. All hardware has an end-of-life, and this has reached it for me.
But I _could_ have kept on going and could still be using it in the
latest releases. It's up to me, and that's a fantastic freedom that only
exists with open source software.

By contrast, I maintain a networked Windows machine that controls plasma
cutting systems for a manufacturing business. It uses a serial port
connection to send cutting patterns to the plasma controller. The serial
port communications software was custom-written and runs only on
versions of DOS that shipped with Windows up to and including 98. It is
specifically incompatible with Win ME and all the NT family including XP
and 2000/2003. I don't have access to the source code either of the
custom application or any currently maintained version of Windows (of
course), so no hacked upgrades are possible and we have to run Win 98 -
which is desperately horrible and insecure in a networked environment.

Peter.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anthony's issues [Slightly OT]

2005-03-22 Thread Nick Pavlica
Well said!  I completely agree.

--Nick


On Tue, 22 Mar 2005 08:55:01 -0600 (CST), Duo [EMAIL PROTECTED] wrote:
 On Tue, 22 Mar 2005, Stijn Hoop wrote:
 
  Can we please STOP fueling Anthony's drivel?
 
  --Stijn
 
  --
  Nostalgia ain't what it used to be.
 
 
 I have two words for you: Mail Filtering.
 
 Use it. It can work wonders on signal to noise ratio. He is not going to
 quit, ever.
 
 Honestly, the whole disk thing reminds me of an experience with FreeBSD
 and an old gateway solo laptop.
 
 I wanted to make better use of it, as it was given to me, and it had
 windows 98 on it. Now, when I went to install 5.3, the machine would boot
 off CD, but, completely bork upon trying to get the disk to work.
 
 I popped in my 4.x CD, it worked with the disk fine. So, something must
 have changed. I scoured the list for similar/related issues. And, I found
 a simple setting change I could make at boot time, for the DMA settings,
 to get 5.3 installed. Made the same change in the .conf for boottime, and
 I was off and running.
 
 What I did not do, was camp out on the list, make wild random accusations
 that FreeBSD was a bug infested nightmare, because windows worked, but the
 newest FreeBSD did not. Windows has a very high tolerance for errors,
 which it masks.Masking such things is typically by design, so as not to
 panic the person sitting in front of it. I have seen this time and again.
 It's not a reason to panic. Ever. Also consider, it shields alot of
 sysadmins from real issues, as opposed to forcing them to deal with them
 in a real positive way: researching the problem to solution. I think this
 is one of the core issues Anthony has: having been sheltered from any real
 issues such as these, he's not equipped.
 
 Having worked to get LinuxPPC (when it was new) working with NewWorld
 Macs, and new powerbooks, there are always solutions, provided you dont
 act like a reprehensible jackass, who spouts off about their credentials,
 etc, ad infinitum, as a justification for bowing to their irrational and
 asinine behavior.
 
 The bottom line is, this guy will never go away. He dosent get it, so to
 speak. He dosent understand the fundamentals of open source methodology,
 he does not have a clear, concise, and professional understanding of how
 development, or any kind of rational sense of how the troubleshooting
 method works. He has zero clue as to how one can apply isolation logic,
 and all he wants to do is say, it worked on NT, now you better make it
 work for me, or else your product sucks, and you are not a real developer
 if you don't pander to my every whim.
 
 In the end, yes, he is annoying. But, you can take steps to avoid him, his
 posts, and the replies. Set up mail rules, procmail, whatever you need to
 do. And, while this may be a hassle, a good set of mail filtering
 templates is always a good idea, because Anthony is not the first flaming
 troll to ever be on this, or any mailing list, and he will not be the
 last. You would do well to accept this, start filtering replies, and bask
 in the new found signal to noise ratio.
 
 I have him blocked, but, not the replies. I think mostly, the list mages
 are handling him well, and, reading the fallout is far more entertaining.
 
 --
 Duo
 
 Although the Buddhists will tell you that desire is the root of
 suffering, my personal experience leads me to point the finger at system
 administration.
 --Philip Greenspun
 
 ___
 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: old scsi adapters and the benefits of open source [was: Anthony's issues [Slightly OT]]

2005-03-22 Thread David Kelly
On Mar 22, 2005, at 10:11 AM, Peter Risdon wrote:
By contrast, I maintain a networked Windows machine that controls 
plasma
cutting systems for a manufacturing business. It uses a serial port
connection to send cutting patterns to the plasma controller. The 
serial
port communications software was custom-written and runs only on
versions of DOS that shipped with Windows up to and including 98. It is
specifically incompatible with Win ME and all the NT family including 
XP
and 2000/2003. I don't have access to the source code either of the
custom application or any currently maintained version of Windows (of
course), so no hacked upgrades are possible and we have to run Win 98 -
which is desperately horrible and insecure in a networked environment.
I don't use Vmware, but what you describe sounds like a good 
application for it. Run a Win98 virtual machine. Let a modern OS host, 
wrap and protect the virtual machine. Do all the networking with the 
host.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: old scsi adapters and the benefits of open source [was: Anthony's issues [Slightly OT]]

2005-03-22 Thread Peter Risdon
On Tue, 2005-03-22 at 18:58 -0600, David Kelly wrote:
 On Mar 22, 2005, at 10:11 AM, Peter Risdon wrote:
 
  By contrast, I maintain a networked Windows machine that controls 
  plasma
  cutting systems for a manufacturing business. It uses a serial port
  connection to send cutting patterns to the plasma controller. The 
  serial
  port communications software was custom-written and runs only on
  versions of DOS that shipped with Windows up to and including 98. It is
  specifically incompatible with Win ME and all the NT family including 
  XP
  and 2000/2003. I don't have access to the source code either of the
  custom application or any currently maintained version of Windows (of
  course), so no hacked upgrades are possible and we have to run Win 98 -
  which is desperately horrible and insecure in a networked environment.
 
 I don't use Vmware, but what you describe sounds like a good 
 application for it. Run a Win98 virtual machine. Let a modern OS host, 
 wrap and protect the virtual machine. Do all the networking with the 
 host.

Yes, that's a good idea. Thanks. It also addresses the problem I didn't
mention of having to use old hardware (contemporary with W98) in a key
role.


Peter.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: maybe slightly OT - web content management kits

2005-02-09 Thread Louis LeBlanc
On 02/08/05 06:02 PM, Louis LeBlanc sat at the `puter and typed:
 I know this might be slightly OT, but I really only want to ask this
 question to those that use and maintain websites on FreeBSD anyway.  So
 please overlook the OT post.
 
 I'm trying to find a good website management system.  Content
 management.  I'm running Apache 2.0 with (among others) mod_perl2, (perl
 5.8.6) and Jakarta Tomcat 5.0.
 
 I don't have mod_php installed, and I'd just as soon not install it if I
 don't have to.  If it's the best option, then I'll bite the bullet.  I'd
 also like to stick with the server versions I already have installed.
 
 I've noticed slash in the ports, but it really wants Apache 1.3.x - as
 do many other similar apps in the ports.  Many others I've found also
 want mod_php.
 
 What I'm asking for is recommendations from people who have used and/or
 maintained multiple such packages on FreeBSD, what they thought about
 them.  Also, if anyone knows of any similar kits written in JSP, I'd be
 interested in checking them out.
 
 Finally, the server setup I have.  I know I'm running pretty close to
 the bleeding edge, but are there any of these packages out there that
 are ok on Apache 2.0?


Ok, I know I'm answering my own post again, but I've found a very good
resource for this kind of info.  Just in case anyone is interested, it's
at http://www.opensourcecms.com/

They have an extensive, if not exhaustive list of CMS webware projects,
and even have an excellent cross project comparison matrix by feature.

I'm probably going to try a few out, since there's only a couple in the
ports.  Among my top candidates are Mambo, geeklog (in ports), drupal
(also in ports), opencms, Etomite, and Magnolia.

If I find one I really really like, that's not in ports, I may try my
hand at submitting and supporting a port.  We'll see.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Water causes rust!  Drink beer instead!


pgpdSwiJclsPc.pgp
Description: PGP signature


Re: maybe slightly OT - web content management kits

2005-02-09 Thread Chris Shenton
Louis LeBlanc [EMAIL PROTECTED] writes:

 I'm trying to find a good website management system.  Content
 management.  I'm running Apache 2.0 with (among others) mod_perl2, (perl
 5.8.6) and Jakarta Tomcat 5.0.

 http://www.opensourcecms.com/
 I'm probably going to try a few out, since there's only a couple in the
 ports.  Among my top candidates are Mambo, geeklog (in ports), drupal
 (also in ports), opencms, Etomite, and Magnolia.

While I'm no expert on it, I think Plone may be the most well thought
out and fully-featured CMS out there; it also looks real nice, right
out of the box, and is fully buzzword-compliant :-). It runs on top of
Zope, so there are lots of ways to extend functionality. There are
also a bunch of add-on Products which can do all sorts of stuff, from
Wikis to PhotoAlbums.  Zope's written in Python, so it would not be
leveraging your Java and Perl stuff.  I front mine with Apache but
it's not required to do so.  Plone's in ports. There are now three
books on Plone which should help you if you want to go this way;
McKay's is available online if you want to take a look at what you can
do with plone.

http://plone.org/
http://docs.neuroinf.de/PloneBook

If you want to stay on the Java side, you could check out Jakarta
Slide, which calls itself a low-level content management
framework. But  that does sound a bit low-level to me.

I'm not generally keen on large Perl and PHP suites, even though I've
written some myself.  Probably just my own phobias.  There's another
well-featured CMS I've read about -- but haven't played with -- called
Bricolage.  It's in Perl IIRC. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: maybe slightly OT - web content management kits

2005-02-09 Thread Louis LeBlanc
On 02/09/05 04:07 PM, Chris Shenton sat at the `puter and typed:
 Louis LeBlanc [EMAIL PROTECTED] writes:
 
  I'm trying to find a good website management system.  Content
  management.  I'm running Apache 2.0 with (among others) mod_perl2, (perl
  5.8.6) and Jakarta Tomcat 5.0.
 
  http://www.opensourcecms.com/
  I'm probably going to try a few out, since there's only a couple in the
  ports.  Among my top candidates are Mambo, geeklog (in ports), drupal
  (also in ports), opencms, Etomite, and Magnolia.
 
 While I'm no expert on it, I think Plone may be the most well thought
 out and fully-featured CMS out there; it also looks real nice, right
 out of the box, and is fully buzzword-compliant :-). It runs on top of
 Zope, so there are lots of ways to extend functionality. There are
 also a bunch of add-on Products which can do all sorts of stuff, from
 Wikis to PhotoAlbums.  Zope's written in Python, so it would not be
 leveraging your Java and Perl stuff.  I front mine with Apache but
 it's not required to do so.  Plone's in ports. There are now three
 books on Plone which should help you if you want to go this way;
 McKay's is available online if you want to take a look at what you can
 do with plone.
 
 http://plone.org/
 http://docs.neuroinf.de/PloneBook

Hmm.  Plone didn't exactly rise to the top at opensourcecms.org, but
since you saw fit to plug it, I'll give it a chance.

I'm not familiar with Zope at all.  Isn't it an Apache *alternative*?

 If you want to stay on the Java side, you could check out Jakarta
 Slide, which calls itself a low-level content management
 framework. But  that does sound a bit low-level to me.

I thought the same thing.  I was thinking of trying it anyway, but I
think Magnolia and OpenCMS might be based on it - Magnolia is extremely
rich in features, and looks very clean.

 I'm not generally keen on large Perl and PHP suites, even though I've
 written some myself.  Probably just my own phobias.  There's another
 well-featured CMS I've read about -- but haven't played with -- called
 Bricolage.  It's in Perl IIRC. 

I'm with you there.  I've never written PHP, but I've written some perl
mods.  Still, I suppose I should keep an open mind with them, if only to
see if they can beat out the JSP kits.

Thanks for the feedback.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

One size fits all:
  Doesn't fit anyone.


pgpXkDWk3a15K.pgp
Description: PGP signature


Re: maybe slightly OT - web content management kits

2005-02-09 Thread Jay
On Wed, Feb 09, 2005 at 04:56:01PM -0500, Louis LeBlanc wrote:
 On 02/09/05 04:07 PM, Chris Shenton sat at the `puter and typed:
  Louis LeBlanc [EMAIL PROTECTED] writes:
 Hmm.  Plone didn't exactly rise to the top at opensourcecms.org, but
 since you saw fit to plug it, I'll give it a chance.
Plone is very, very nice.  

 I'm not familiar with Zope at all.  Isn't it an Apache *alternative*?
Yes and no.  Zope serves up all of its content.  It's quite common to
run Apache in front of it, though -- that way you can use all of your
Apache modules.  

Since a Zope site is totally dynamic, it usually makes sense to run some
kind of caching server in front of it.  Some people use Apache because
that's what they're familiar with/have installed/etc, etc.  If you're
not going to use any of Apache's features, squid is generally better for
that.

If you're interested, send me an email off-list, and I'll make you an
account on my Plone site so you can dink around and see what it's like.

-- 
Jay.


pgpMVcmmjkozQ.pgp
Description: PGP signature


RE: maybe slightly OT - web content management kits

2005-02-09 Thread Thomas Doxtater

On 02/09/05 04:07 PM, Chris Shenton sat at the `puter and typed:
 Louis LeBlanc [EMAIL PROTECTED] writes:

  I'm trying to find a good website management system.  Content
  management.  I'm running Apache 2.0 with (among others) mod_perl2,
(perl
  5.8.6) and Jakarta Tomcat 5.0.

...
 I'm not generally keen on large Perl and PHP suites, even though I've
 written some myself.  Probably just my own phobias.  There's another
 well-featured CMS I've read about -- but haven't played with -- called
 Bricolage.  It's in Perl IIRC.

As a one-time php developer I'm fond of phpWebSite by Appalachian State
University. Lots of features, works great on apache 1.3x or 2 and has an API
for module creation.
I've spent hours looking at CMS's testing them and as far as I know this is
one of the easiest to implement and control, with the features I was looking
for (calendar, wysiwyg editor, fine grained user control, extensibility,
etc.)

My other reccomendation would be Typo3 CMS, but its a behemoth of a program
(script). It DOES everything, but its fairly intense to set up and get
going. Its also a php script, and it does have some excellent tutorials and
a fairly active user support base.

Just my 2 cents,

-Thomas

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: maybe slightly OT - web content management kits

2005-02-09 Thread Chris Hodgins
Jay wrote:
On Wed, Feb 09, 2005 at 04:56:01PM -0500, Louis LeBlanc wrote:
On 02/09/05 04:07 PM, Chris Shenton sat at the `puter and typed:
Louis LeBlanc [EMAIL PROTECTED] writes:
Hmm.  Plone didn't exactly rise to the top at opensourcecms.org, but
since you saw fit to plug it, I'll give it a chance.
Plone is very, very nice.  


I'm not familiar with Zope at all.  Isn't it an Apache *alternative*?
Yes and no.  Zope serves up all of its content.  It's quite common to
run Apache in front of it, though -- that way you can use all of your
Apache modules.  

Since a Zope site is totally dynamic, it usually makes sense to run some
kind of caching server in front of it.  Some people use Apache because
that's what they're familiar with/have installed/etc, etc.  If you're
not going to use any of Apache's features, squid is generally better for
that.
If you're interested, send me an email off-list, and I'll make you an
account on my Plone site so you can dink around and see what it's like.
I am in the process of looking at zope for a base to a couple of 
websites I will be creating.  One of the sites will be providing 
services to around 500+ users.  Being quite unfamiliar of the 
development side of zope (I have used plone as a user but that is about 
it) I was wondering if anyone had any ideas what is the best way to go 
about hosting something like that.  Is virtual/co-/dedicated hosting the 
way to go?  Is one server enough?  I have looked into a package called 
zeo as well that provides a horizontally scalable solution for zope so I 
am hoping to be able to add servers as required should the load increase.

Any help would be much appreciated. :)
Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


maybe slightly OT - web content management kits

2005-02-08 Thread Louis LeBlanc
I know this might be slightly OT, but I really only want to ask this
question to those that use and maintain websites on FreeBSD anyway.  So
please overlook the OT post.

I'm trying to find a good website management system.  Content
management.  I'm running Apache 2.0 with (among others) mod_perl2, (perl
5.8.6) and Jakarta Tomcat 5.0.

I don't have mod_php installed, and I'd just as soon not install it if I
don't have to.  If it's the best option, then I'll bite the bullet.  I'd
also like to stick with the server versions I already have installed.

I've noticed slash in the ports, but it really wants Apache 1.3.x - as
do many other similar apps in the ports.  Many others I've found also
want mod_php.

What I'm asking for is recommendations from people who have used and/or
maintained multiple such packages on FreeBSD, what they thought about
them.  Also, if anyone knows of any similar kits written in JSP, I'd be
interested in checking them out.

Finally, the server setup I have.  I know I'm running pretty close to
the bleeding edge, but are there any of these packages out there that
are ok on Apache 2.0?

Thanks in advance.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Send off-list email to:leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Did you know that if you took all the economists in the world and lined
them up end to end, they'd still point in the wrong direction?


pgpY3Q29TQTti.pgp
Description: PGP signature


Re: slightly OT - journal or project tracking app query

2004-08-30 Thread Charles Ulrich

Louis LeBlanc said:
 Failing the existence of such an application,
 I'll have to devise my own organizational method and just go with vim
 until I can work something useful out.

 What does the FreeBSD community use?

vim's always worked great for me. But these days I use a wiki hosted on
internal network for all of my documentation. Extremely easy to use and you
can organize it much better than a flat text file or even a journal. There are
quite a few wikis in ports. I use MoinMoin, but I want to switch to something
more lightweight but with similar syntax.

-- 
Charles Ulrich
System Administrator
Ideal Solution - http://www.idealso.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


slightly OT; DNS and mail config...

2004-03-28 Thread Gary Kline

People,

For the past N days, mail sent to private individuals
seems to be bounced.  Mail fom this list, however, 
and spam (of course :-|) gets through.

I just updated my registrar data and cut a secondary that
may have been causing problems.  The only hint is from
a networking student who said that typing reply got a 
bounce while sending mail to [EMAIL PROTECTED] (note: no 't')
worked.

Any ideas on this?

thanks much,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slightly OT; DNS and mail config...

2004-03-28 Thread Jay Moore
On Sunday 28 March 2004 02:29 pm, Gary Kline wrote:

   For the past N days, mail sent to private individuals
   seems to be bounced.  Mail fom this list, however,
   and spam (of course :-|) gets through.

   I just updated my registrar data and cut a secondary that
   may have been causing problems.  The only hint is from
   a networking student who said that typing reply got a
   bounce while sending mail to [EMAIL PROTECTED] (note: no 't')
   worked.

   Any ideas on this?

either your DNS records are/were hosed, or your MTA is mis-config'd.

Try http://www.dnsstuff.com to scope out your DNS records, and remember that 
changes take some time to propogate.

Is your MTA sendmail, exim, or what? Are you set up to use a smart host to 
relay outgoing mail, or are you sending from your host? Are you receiving on 
your host, or POP'ing/IMAP'ing another host?

Jay Moore
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slightly OT; DNS and mail config...

2004-03-28 Thread Jay Moore
On Sunday 28 March 2004 02:29 pm, Gary Kline wrote:
   People,

   For the past N days, mail sent to private individuals
   seems to be bounced.  Mail fom this list, however,
   and spam (of course :-|) gets through.

   I just updated my registrar data and cut a secondary that
   may have been causing problems.  The only hint is from
   a networking student who said that typing reply got a
   bounce while sending mail to [EMAIL PROTECTED] (note: no 't')
   worked.

   Any ideas on this?


Some more info: here's what I got from my earlier response to your posting:

Returned mail: see transcript for details  (Mail Delivery Subsystem,  Sun Mar 
28 15:07:23 2004)

The original message was received at Sun, 28 Mar 2004 15:07:20 -0600 (CST)
from localhost.cullmail.com [127.0.0.1]

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]
    (reason: 550 5.7.1 [EMAIL PROTECTED]... Relaying denied)

   - Transcript of session follows -
... while talking to ns1.thought.org.:
 DATA
 550 5.7.1 [EMAIL PROTECTED]... Relaying denied
550 5.1.1 [EMAIL PROTECTED]... User unknown
 503 5.0.0 Need RCPT (recipient)

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slightly OT; DNS and mail config...

2004-03-28 Thread Gary Kline
On Sun, Mar 28, 2004 at 03:07:18PM -0600, Jay Moore wrote:
 On Sunday 28 March 2004 02:29 pm, Gary Kline wrote:
 
  For the past N days, mail sent to private individuals
  seems to be bounced.  Mail fom this list, however,
  and spam (of course :-|) gets through.
 
  I just updated my registrar data and cut a secondary that
  may have been causing problems.  The only hint is from
  a networking student who said that typing reply got a
  bounce while sending mail to [EMAIL PROTECTED] (note: no 't')
  worked.
 
  Any ideas on this?
 
 either your DNS records are/were hosed, or your MTA is mis-config'd.
 
 Try http://www.dnsstuff.com to scope out your DNS records, and remember that 
 changes take some time to propogate.
 
 Is your MTA sendmail, exim, or what? Are you set up to use a smart host to 
 relay outgoing mail, or are you sending from your host? Are you receiving on 
 your host, or POP'ing/IMAP'ing another host?
 

The long-and-short of it is that I did a grep -r -w though.org
after my network friend mentioned how he finally got mail
thru to me.  sendmail (/etc/mail/* and /etc/namedb/*, and, for
that matter, /etc)  were okay.  This was on my primary
nameserver, ns1.thought.org.  I 2-checked on other platforms,
in /etc/mail/* and same deal.  

I'll add dnsstuff.com to my hotlist.  Right now I use (I believe)
dnsreport.com which I check infrequently.  *Too* infrequently,
obliously!  ...I just made some updates and fixed things that
were flagged in red.  So I'll see how much e-homework I get now;
or if my profs got pissed and flunked me for this

thank you for your time,

gary

PS:  I'be got a pop/imap question...but that can wait




-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


slightly OT - netscape port question

2003-04-06 Thread Louis LeBlanc
I know this is a little OT, but does anyone have any idea when/if the
netscape7 port will be upgraded to install 7.02?

TIA
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Ever been a vampire?
http://quiz.ravenblack.net/blood.pl?biter=Mxyzptlk

Bagdikian's Observation:
  Trying to be a first-rate reporter on the average American newspaper
  is like trying to play Bach's St. Matthew Passion on a ukelele.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[slightly OT] Re: Losless audio encoder

2003-02-03 Thread Joe Sotham

 Yes, flac (part of the OGG/et al group now I guess) lives in the
 audio/flac
 port. :)

I am migrating an audio tape collection to mp3.  Is flac a better digital
source than wav file from which to undertake the conversion to ogg or mp3.
I do not require an archival quality process only one that allows me most
flexibility in cleaning up the static and hiss which accompanies the audio
tapes.

-- 
Joe Sotham

If the only prayer you say in your entire life is Thank You,
that will suffice.
- Meister Eckhart



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [slightly OT] Re: Losless audio encoder

2003-02-03 Thread Kirk Strauser
At 2003-02-03T16:16:47Z, Joe Sotham [EMAIL PROTECTED] writes:

 I am migrating an audio tape collection to mp3.  Is flac a better digital
 source than wav file from which to undertake the conversion to ogg or mp3.

I think you may be mixing up the concepts slightly.  A flac file is similar
to an mp3, in that both are compressed forms of the original audio file.
The main difference is that a flac file can be decompressed into a
bit-for-bit identical copy of the original file, whereas a decompressed mp3
bears almost no resemblance to the original.

You would probably sample your tapes into a wav file, edit it to your
liking, then use flac for archival.

 I do not require an archival quality process only one that allows me most
 flexibility in cleaning up the static and hiss which accompanies the audio
 tapes.

wav (or similar) is probably your only real option for the intermediate
storage.
-- 
Kirk Strauser
In Googlis non est, ergo non est.



msg17741/pgp0.pgp
Description: PGP signature


Re: [slightly OT] Re: Losless audio encoder

2003-02-03 Thread Joe Sotham
Kirk Strauser said:

 The main difference is that a flac file can be decompressed into a
 bit-for-bit identical copy of the original file, whereas a decompressed
 mp3
 bears almost no resemblance to the original.

Yes, not the first time today someone thought I was confued. Thanks.  I
thought a wav file and flac file occupied a similar place in the
food-compression chain.  So a good option would be to go from wav - flac
If I  wanted to keep a lossless version of the recording around.

 You would probably sample your tapes into a wav file, edit it to your
 liking, then use flac for archival.




-- 
Joe Sotham

If the only prayer you say in your entire life is Thank You,
that will suffice.
- Meister Eckhart


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: [slightly OT] Re: Losless audio encoder

2003-02-03 Thread Kirk Strauser
At 2003-02-03T16:34:13Z, Joe Sotham [EMAIL PROTECTED] writes:

 Yes, not the first time today someone thought I was confued.

Hey, I'm useless until the first cup of coffee sinks in.

 Thanks.  I thought a wav file and flac file occupied a similar place in
 the food-compression chain.  So a good option would be to go from wav -
 flac If I wanted to keep a lossless version of the recording around.

Correct.  You can also go wav - mp3 at the same time if you want a small
file to put on a portable music player, or send to a friend, or what have
you.
-- 
Kirk Strauser
In Googlis non est, ergo non est.



msg17756/pgp0.pgp
Description: PGP signature


Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Rich Fox
Hi

I use a MacOS X workstation to connect to my FreeBSD box where I use Pine
to compose these emails.
Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
which are used to postpone messages in Pine. Thus, when I use the key
combination ctrl+o it never reaches the remote machine (or at least it
doesn't appear to, but it doesn't appear to do anything at all on either
machine.)
Can anyone advise me on what I can use to change this?

Thanks,
Rich.

 | Rich Fox
 | [EMAIL PROTECTED]
 | 86 Nobska Road
 | Woods Hole, MA 02543
 | MA 508 548 4358
 | VA 703 201 6050


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Kevin Stevens


On Sun, 2 Feb 2003, Rich Fox wrote:
 I use a MacOS X workstation to connect to my FreeBSD box where I use Pine
 to compose these emails.
 Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
 which are used to postpone messages in Pine. Thus, when I use the key
 combination ctrl+o it never reaches the remote machine (or at least it
 doesn't appear to, but it doesn't appear to do anything at all on either
 machine.)

Works fine here.  I just postponed this reply in mid-sentence.  FreeBSD
4.7, standard pine 4.53 from ports.  I've been doing this since OS X
10.0.1 (currently 10.2.3) with the various pine builds in use since then.
You have some other problem.

KeS

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Rich Fox
Hi,

Thanks for the response.

Perhaps it is some other problem, but it is only manifest in Terminal.
I have no problem with this using BetterTelnet in emulation.

Any advice on how to troubleshoot it?

Rich.

 | Rich Fox
 | [EMAIL PROTECTED]
 | 86 Nobska Road
 | Woods Hole, MA 02543
 | MA 508 548 4358
 | VA 703 201 6050

On Sun, 2 Feb 2003, Kevin Stevens wrote:



 On Sun, 2 Feb 2003, Rich Fox wrote:
  I use a MacOS X workstation to connect to my FreeBSD box where I use Pine
  to compose these emails.
  Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
  which are used to postpone messages in Pine. Thus, when I use the key
  combination ctrl+o it never reaches the remote machine (or at least it
  doesn't appear to, but it doesn't appear to do anything at all on either
  machine.)

 Works fine here.  I just postponed this reply in mid-sentence.  FreeBSD
 4.7, standard pine 4.53 from ports.  I've been doing this since OS X
 10.0.1 (currently 10.2.3) with the various pine builds in use since then.
 You have some other problem.

 KeS

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Chuck Swiger
Rich Fox wrote:
[ ... ]

Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
which are used to postpone messages in Pine. Thus, when I use the key
combination ctrl+o it never reaches the remote machine (or at least it
doesn't appear to, but it doesn't appear to do anything at all on either
machine.)
Can anyone advise me on what I can use to change this?


Do a stty -all, and see what the quote character is set to.  Normally, 
it's cntl-v, but maybe it's cntl-o.  Or trying doing a cntl-v, cntl-o 
combination and see whether that gets the control character through.

-Chuck




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Mike Meyer
In [EMAIL PROTECTED], Rich Fox [EMAIL PROTECTED] 
typed:
 Hi
 
 I use a MacOS X workstation to connect to my FreeBSD box where I use Pine
 to compose these emails.
 Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
 which are used to postpone messages in Pine. Thus, when I use the key
 combination ctrl+o it never reaches the remote machine (or at least it
 doesn't appear to, but it doesn't appear to do anything at all on either
 machine.)
 Can anyone advise me on what I can use to change this?

Check the stty -all as already suggested here. My discard character
is set to to Control-O, and I haven't changed it so I believe that is
the default setting.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Rich Fox
Hi,

Thanks, I think that found the issue, however...

an stty -a returns...
[snip]
cchars: discard = ^O; dsusp = ^Y; eof
[snip]

man termios says:

DISCARD
Special character on input and is recognized if the IEXTEN flag
is set.  Receipt of this character toggles the flushing of termi-
nal output.


Unfortunately, I can't quite make out where this is set when reading the
various man pages regarding terminals.

In gettytab, I see:
# cflags: CLOCAL | HUPCL | CREAD | CS8
# oflags: OPOST | ONLCR | OXTABS
# iflags: IXOFF | IXON | ICRNL | IGNPAR
# lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE
#
# The `0' flags don't have input enabled.  The `1' flags don't echo.
# (Echoing is done inside getty itself.)
#

IEXTEN being the critter than enables or disables this functionality, and
sys/termios.h has this:

#define IEXTEN  0x0400  /* enable DISCARD and LNEXT */

However, under the local.9600 setting in gettytab, I don't see a setting
that matches IEXTEN...

local.9600|CLOCAL tty @ 9600 Bd:\
:c0#0xc300:c1#0xcb00:c2#0xcb00:\
:o0#0x0007:o1#0x0002:o2#0x0007:\
:i0#0x0704:i1#0x:i2#0x0704:\
:l0#0x05cf:l1#0x:l2#0x05cf:\
:sp#9600:

A grep'ing of the gettytab does not return any relevant data.

Am I even barking in the right forest?

Thanks,
Rich.

 | Rich Fox
 | [EMAIL PROTECTED]
 | 86 Nobska Road
 | Woods Hole, MA 02543
 | MA 508 548 4358
 | VA 703 201 6050

On Sun, 2 Feb 2003, Chuck Swiger wrote:

 Rich Fox wrote:
 [ ... ]
  Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
  which are used to postpone messages in Pine. Thus, when I use the key
  combination ctrl+o it never reaches the remote machine (or at least it
  doesn't appear to, but it doesn't appear to do anything at all on either
  machine.)
  Can anyone advise me on what I can use to change this?

 Do a stty -all, and see what the quote character is set to.  Normally,
 it's cntl-v, but maybe it's cntl-o.  Or trying doing a cntl-v, cntl-o
 combination and see whether that gets the control character through.

 -Chuck




 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Chuck Swiger
Rich Fox wrote:

Thanks, I think that found the issue, however...

an stty -a returns...
	[snip]
	cchars: discard = ^O; dsusp = ^Y; eof
	[snip]

[ ... ]

Am I even barking in the right forest?


Yes.  If you've also got lnext set like so:

lnext   min quitreprint start   status  stopsusptime
^V  1   ^\  ^R  ^Q  ^T  ^S  ^Z  0

...then typing ^V ^O should send a literal cntl-O to pine.  Cntl-v is 
used to quote shell line-editing characters.

-Chuck

PS: http://www.freebsd.org/cgi/query-pr.cgi?pr=47815 :-)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Kevin Stevens

On Sunday, Feb 2, 2003, at 12:07 US/Pacific, Rich Fox wrote:


Hi,

Thanks, I think that found the issue, however...

an stty -a returns...
	[snip]
	cchars: discard = ^O; dsusp = ^Y; eof
	[snip]


Umm, that's what mine reports, as well, both when I'm local to the Mac 
and when I'm ssh'ed to the FreeBSD machine from which I run pine.  
Still able to control-o (note case) to suspend in pine.  Are you 
possibly trying to use control-O (note case) instead?

KeS


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Slightly OT, OSX, terminals key combinations

2003-02-02 Thread Dirk-Willem van Gulik


On Sun, 2 Feb 2003, Rich Fox wrote:

 Apparently the Terminal program in MacOS X intercepts ctrl+o combinations
 which are used to postpone messages in Pine. Thus, when I use the key

I use:

ssh -e none freebsd-machien.domain.com

dw.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: slightly OT: official CD tree structure

2003-01-27 Thread P. U. Kruppa
On Mon, 27 Jan 2003, Igor B. Bykhalo wrote:

 I'm going to burn installation CDs after make release,
 but i also want to put distfiles of my ports on it,
 just for more convenient local work.

 The question is: where should i place distfiles?
 Should it be /distfiles or ports/distfiles?
Default should be
/usr/ports/distfiles

Regards,

Uli.


 TIA,
 Igor


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



slightly OT (maybe) - calling all network detectives . . .

2002-12-07 Thread Louis LeBlanc
Hey all.  A minor network problem here, sorry if this is the wrong
list.

I'm running FreeBSD 4.6 RELEASE, with Apache-ModSSL.  My network
connection is Verizon DSL using PPP. The modem is a Westell WireSpeed.
Thanks to some help on this list a while back, everything seems to be
working correctly.

The problem is that port 80 seems to be blocked somewhere.  I spoke to
Verizon support, and they insist they don't block any ports.  I
confirmed that they don't block the X ports by popping a window up
from an outside system, so it seems unlikely they'd leave those ports
open and block port 80.  Port 443 is open too, so I'm confused as to
where the problem is.

My firewall has not changed since before I moved, when I had ATT
Broadband, and port 80 was no problem.

So does anyone have any ideas how to find out *where* port 80 is being
blocked?  Could it be the modem?  I had to configure things thru an NT
box before I set up the FreeBSD box, but I removed all the DSL stuff
afterwards.

Thanks in advance
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

The Force is what holds everything together.  It has its dark side, and
it has its light side.  It's sort of like cosmic duct tape.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: slightly OT (maybe) - calling all network detectives . . .

2002-12-07 Thread Lowell Gilbert
Louis LeBlanc [EMAIL PROTECTED] writes:

 So does anyone have any ideas how to find out *where* port 80 is being
 blocked?  Could it be the modem?  I had to configure things thru an NT
 box before I set up the FreeBSD box, but I removed all the DSL stuff
 afterwards.

Traceroute on TCP port 80 from an outside box. 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: slightly OT (maybe) - calling all network detectives . . .

2002-12-07 Thread Per olof Ljungmark

So does anyone have any ideas how to find out *where* port 80 is being
blocked?  Could it be the modem?  I had to configure things thru an NT
box before I set up the FreeBSD box, but I removed all the DSL stuff
afterwards.

Thanks in advance
Lou


What is the IP in question?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: slightly OT (maybe) - calling all network detectives . . .

2002-12-07 Thread Louis LeBlanc
On 12/07/02 06:04 PM, Per olof Ljungmark sat at the `puter and typed:
  
  So does anyone have any ideas how to find out *where* port 80 is being
  blocked?  Could it be the modem?  I had to configure things thru an NT
  box before I set up the FreeBSD box, but I removed all the DSL stuff
  afterwards.
  
  Thanks in advance
  Lou
 
 What is the IP in question?

68.160.1.182

I looked at the Westell site, and it turns out the dsl modem I have
(WireSpeed 2100) has NAT/Firewall capabilities.  I'm wondering now if
it isn't blocking port 80 there.

My traceroutes end at my IP, so I'm thinking even more that I need to
reconfigure that modem.

BTW, keyslapper.org is dns hosted at zoneedit.com, and points to my
box here.  Anytime I get a new IP, the PPP scripts automagically
notify zoneedit to change the IP hosting my domain.  Unfortunately,
there's no way to control the reverse lookup, so 68.160.1.182 resolves
to pool-68-160-1-182.bos.east.verizon.net.

Must be the modem.

Thanks for the input.
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Meade's Maxim:
  Always remember that you are absolutely unique, just like everyone else.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Slightly OT: PHP Fatal error:  Unable to start session mm modulein Unknown on line 0

2002-12-05 Thread Duncan Anker
I know this is not strictly to do with FreeBSD, but maybe there is a
kernel option or something I'm overlooking :-)

I am getting a lot of these messages:

PHP Fatal error:  Unable to start session mm module in Unknown on line 0

I have scoured Google as much as I can, and have found mostly people
with the problem, and very few solutions. Most of it seems to be a
problem with Debian Linux, which of course doesn't apply to me.

I have investigated some of the solutions and none of them work. The
closest was deleting a semaphore file from /tmp, which seemed to work
briefly. And then it didn't.

Further investigation shows, since it doesn't happen every time PHP is
run, that the problem would seem to be with concurrency - two instances
of PHP can't run at the same time.

I gather this is because it is trying to create a semaphore that already
exists or somesuch. So what this comes down to is should it create
unique semaphores (perhaps using the PID) or should it share them more
effectively.

I suppose I can strip out all the MM stuff, but it's in there in the
first place because I used a whole bunch of tips about making PHP as
optimized as possible. Obviously an inefficient, working PHP is better
than an optimized broken one, but I prefer to fix problems than to try
and work around them and pretend they are not there - they usually come
back to bite you further down the track.

Does anyone have any suggestions?

TIA
Duncan Anker
-- 

The information contained in this email is confidential.
If you are not the intended recipient, you may not disclose or use the
information in this email in any way.
Dark Blue Sea does not guarantee the integrity of any emails or attached
files.
The views or opinions expressed are the author's own and may not reflect
the views or opinions of Dark Blue Sea.
Dark Blue Sea does not warrant that any attachments are free from
viruses or other defects.
You assume all liability for any loss, damage or other consequences
which may arise from opening or using the attachments.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Slightly OT (and more related to the wireless networking)

2002-11-18 Thread Angelin Lazarov Lalev
Hi everybody,

Is there any way to get list of all SSIDs, which are present in given 
area, with the tools provided by FreeBSD.
I'm not sure that is possible at all, but a colleague of mine insist 
that he was seen such tool for Windows.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Slightly OT (and more related to the wireless networking)

2002-11-18 Thread Dan Pelleg
Angelin Lazarov Lalev [EMAIL PROTECTED] writes:

 Hi everybody,
 
 Is there any way to get list of all SSIDs, which are present in given area,
 with the tools provided by FreeBSD.
 
 I'm not sure that is possible at all, but a colleague of mine insist that he
 was seen such tool for Windows.
 

 Try dstumbler, in the ports (bsd-airtools).

-- 

  Dan Pelleg

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Slightly OT: How to remove an odd file...

2002-10-14 Thread Unix Tools

cd to the directory where the file exists
write a perl script

#!/usr/bin/perl
unlink;
exit(0);


- Original Message - 
From: Brian McCann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, October 13, 2002 07:43 PM
Subject: Slightly OT: How to remove an odd file...


 I've got an interesting question for you all.  I've got a file who's
 name is...3 blank spaces.  It shows up when I do an ls -la, and I
 can get it's inode # (it's in RedHat...a box I'm going to convert to
 FreeBSD real soon)...does anyone know how to remove a file based off of
 an inode #?
 
 --Brian McCann
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Slightly OT: How to remove an odd file...

2002-10-14 Thread Giorgos Keramidas

On 2002-10-14 10:02, Unix Tools [EMAIL PROTECTED] wrote:
 Brian McCann [EMAIL PROTECTED] wrote:
  I've got an interesting question for you all.  I've got a file who's
  name is...3 blank spaces.  It shows up when I do an ls -la, and I
  can get it's inode # (it's in RedHat...a box I'm going to convert to
  FreeBSD real soon)...does anyone know how to remove a file based off of
  an inode #?

 cd to the directory where the file exists
 write a perl script

 #!/usr/bin/perl
 unlink;
 exit(0);

Or use quoting properly on the command line:

# rm

That seems a bit faster, and requires no Perl knowledge.

Giorgos.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Slightly OT: How to remove an odd file...

2002-10-13 Thread Brian McCann

I've got an interesting question for you all.  I've got a file who's
name is...3 blank spaces.  It shows up when I do an ls -la, and I
can get it's inode # (it's in RedHat...a box I'm going to convert to
FreeBSD real soon)...does anyone know how to remove a file based off of
an inode #?

--Brian McCann


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Slightly OT: How to remove an odd file...

2002-10-13 Thread Rus Foster

On Sun, 13 Oct 2002, Brian McCann wrote:

 I've got an interesting question for you all.  I've got a file who's
 name is...3 blank spaces.  It shows up when I do an ls -la, and I
 can get it's inode # (it's in RedHat...a box I'm going to convert to
 FreeBSD real soon)...does anyone know how to remove a file based off of
 an inode #?

 --Brian McCann

Have you tried rm ?

I've just tried it on my box

bash-2.05# touch
bash-2.05# ls -ld
-rw-r--r--  1 root  wheel  0 Oct 13 13:13
bash-2.05# rm
bash-2.05# ls -ld
ls:: No such file or directory



Rus

--
http://www.fsck.me.uk - My blog
http://shells.fsck.me.uk - Hosting how you want it.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: Slightly OT: How to remove an odd file...

2002-10-13 Thread Brian McCann

No go...here's the listing for the file...here's what happens...

-rwsr-sr-x1 root root64924 Sep  2 15:24

rm
rm: remove write-protected file `   '? y
rm: cannot unlink `   ': Operation not permitted

Any other ideas?

--Brian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Rus Foster
Sent: Sunday, October 13, 2002 10:17 AM
To: Brian McCann
Cc: [EMAIL PROTECTED]
Subject: Re: Slightly OT: How to remove an odd file...


On Sun, 13 Oct 2002, Brian McCann wrote:

 I've got an interesting question for you all.  I've got a file who's
 name is...3 blank spaces.  It shows up when I do an ls -la, and
I
 can get it's inode # (it's in RedHat...a box I'm going to convert to 
 FreeBSD real soon)...does anyone know how to remove a file based off 
 of an inode #?

 --Brian McCann

Have you tried rm ?

I've just tried it on my box

bash-2.05# touch
bash-2.05# ls -ld
-rw-r--r--  1 root  wheel  0 Oct 13 13:13
bash-2.05# rm
bash-2.05# ls -ld
ls:: No such file or directory



Rus

--
http://www.fsck.me.uk - My blog
http://shells.fsck.me.uk - Hosting how you want it.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



  1   2   >