Re: Freebsd 5.0-RELEASE & named pipes

2003-03-10 Thread David Syphers
On Monday 10 March 2003 09:22 pm, Borut Kurnik wrote:
> I worked on 4.7 & still does (also on linux, netbsd, ... :-) )
>
> This is NetBSD 1.6
>
> [EMAIL PROTECTED] root]# echo "test" > f &
> [1] 2383
> [EMAIL PROTECTED] root]# cat < f
> test
> [1]+  Doneecho "test" >f
>
>
> And this is FreeBSD 5.0
>
> [EMAIL PROTECTED] root]# echo "test" > f  &
> [1] 2436
> [EMAIL PROTECTED] root]# -bash: f: Resource temporarily unavailable
>
> [1]+  Exit 1  echo "test" >f

This works fine on my system, which is -current from March 2, using both tcsh 
and bash. But since bash is not the default shell, but a port, isn't this 
dependent on the version of the port you have installed rather than the OS? I 
have bash-2.05b.004.

-David

-- 
http://www.seektruth.org

Astronomy and Astrophysics Center
The University of Chicago

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


Re: IPFW changes.

2003-02-19 Thread David Syphers
On Wednesday 19 February 2003 10:20 am, IAccounts wrote:
> 1: What is the best FBSD list for finding out who (if anyone) is also
> working on IPFW and what new features are planned, and;

The IPFW list could help ([EMAIL PROTECTED]). To see who is working on 
it, look at the commit logs (e.g. 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/ipfw/ipfw.c). Luigi Rizzo does 
a lot of the work with it.

> 2: Where can the source files for IPFW be found on a clean install? I do
> have IPFW source files on my Thinkpad, but only in the compile directory.
> (Indicating that they appeared only AFTER I compiled my own custom
> kernel).

If you installed a source tree in the standard place (/usr/src), look in 
/usr/src/sbin/ipfw.

-David

-- 
http://www.seektruth.org

Astronomy and Astrophysics Center
The University of Chicago

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



Re: tail -f on webpage

2002-12-08 Thread David Syphers
On Sunday 08 December 2002 10:55 pm, [EMAIL PROTECTED] wrote:
> Hi all
> 
> How can i make a tail -f  and show the results in a web page with
> out having to reload the page every N seconds
> 
> i am using PHP in a script like:
> 
>  $error_log = '/var/log/apache/log';
> passthru ("tail -f  $error_log");
> ?>
> 
> but i have to relaod the page to view new results.

First of all, this is off-topic for any FreeBSD list. They're cc'd only to let 
them know someone has told you this. I would suggest trying a PHP list, 
but...

... you can't do this with PHP. You're viewing a (pure HTML) page generated by 
PHP, and for anything to change on it, the page needs to be regenerated, e.g. 
reloaded.

-David

-- 
On the whole I am against mass murder. I rarely commit it myself, and
often find myself quite out of sympathy with those who make a habit of it.
-Bernard Levin

Astronomy and Astrophysics Center
The University of Chicago

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



Trout (was: C vs C++)

2002-03-05 Thread David Syphers

On Tuesday 05 March 2002 07:15 pm, Terry Lambert wrote:
> Kenneth Culver wrote:
> > I'm not saying it can't be done, but generally speaking based on the Open
> > source and commercial products I've seen, the ones that are written in
> > C++ suffer from more bloat and run slower.
>
> "A trout is a fish."
> "Therefore all fish are trout."
>
> I think you just failed set theory... ;^).

I couldn't pass this up...  The original comment has nothing to do with set 
theory per se; it has to do with the validity of extrapolation of data.  The 
reason I couldn't pass this up is because I've just been reading Newton's 
Principia, in which he addresses this very point (in his third rule of 
reasoning in philosophy).  He would say that if all observed C++ programs are 
slower and have more bloat, then we should assume all possible C++ programs 
are slower and have more bloat.  Not a question of mathematics.  Whether or 
not the premise is true is an entirely different question, and one which I'll 
leave to the professional coders  :)

-David

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