HELP: Disk/file-systems are loused up

2000-09-14 Thread gerald stoller
I started up my (version 3.3 ) freeBSD , and the first thing that I did was mount a MSDOS diskette and did a find on it (with -name "*hd*" ). I got three lines of output stating something like 'date error; month (14) out of range', then a long pause (during which I typed

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread Julian Elischer
I've never thought of a use for fdescfs... -- __--_|\ Julian Elischer / \ [EMAIL PROTECTED] ( OZ) World tour 2000 --- X_.---._/ presently in: Perth v To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the

Re: Getting all the IP address for a machine from code...

2000-09-14 Thread David Malone
On Wed, Sep 13, 2000 at 08:12:47PM -0700, Chris Ptacek wrote: I am looking for a way to get all the IP addresses that are configured a machine. I need to do this in c source code, and without using DNS services (ie: gethostname/gethostbyname won't work). I am hoping there are some system

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread Peter Pentchev
On Thu, Sep 14, 2000 at 01:12:10AM -0700, Julian Elischer wrote: I've never thought of a use for fdescfs... Well.. just a trivial example - imagine a program which takes a filename as an argument; imagine yourself trying to pipe something into it - passing /dev/fd/0 as a filename to process

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Peter Pentchev writes : On Thu, Sep 14, 2000 at 01:12:10AM -0700, Julian Elischer wrote: I've never thought of a use for fdescfs... Well.. just a trivial example - imagine a program which takes a filename as an argument; imagine yourself trying to pipe something

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread Ben Smithurst
Poul-Henning Kamp wrote: I must admit that I think in general that /dev/std{in,out,err} and /dev/fd is bogus. It looks like something which happened "because we can" more than something which has a legitimate need. You think adding a hack to every program to support "-" to mean stdout/stdin

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Ben Smithurs t writes: Poul-Henning Kamp wrote: I must admit that I think in general that /dev/std{in,out,err} and /dev/fd is bogus. It looks like something which happened "because we can" more than something which has a legitimate need. You think adding a hack

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread Robert Withrow
[EMAIL PROTECTED] said: :- The majority of these programs could be handled by adding knowledge of :- "-" as a magic filename to fopen(3). Suppose I *want* a filename called "-"? My tough luck, huh? I *like* /dev/stdin. It's orthogonal! -- Robert Withrow -- (+1 978 288 8256) [EMAIL

Die über 350 besten Marketing-Praxis-Checklisten ...

2000-09-14 Thread STS Marketing GmbH
Title: Mehr Effizienz und Erfolg mit den besten Marketing-Praxis-Checklisten Liebe Marketingverantwortliche Stellen Sie sich vor, Sie müssten bis morgen um 10.00 Uhr ein erfolgsversprechendes Messekonzept präsentieren. Oder kreative Ideen für die nächste Direct-Mail-Aktion und bis in

Re: c++ error

2000-09-14 Thread Jacques A. Vidrine
On Wed, Sep 13, 2000 at 11:02:28PM -0500, Jacques A. Vidrine wrote: Please see PR bin/13383 before doing anything like this. It addresses a similar situation. I'll comment more tomorrow after some sleep :-) I knew I needed some sleep. It ``addressess'' the exact same situation. In summary,

4.1 PCMCIA on IBM ThinkPad A20p

2000-09-14 Thread Frank Chen-hsiung Chn
Hello all, We recently got one IBM ThinkPad A20p. This might be the top notebook so far. However, we could not make the pccard services work. We have tested some cards, including D-Link DFE-650, a fast ethernet adaptor, and Compaq WL100, a 802.11b wireless NIC, also a

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread Johnny Eriksson
[EMAIL PROTECTED] said: :- The majority of these programs could be handled by adding knowledge of :- "-" as a magic filename to fopen(3). Suppose I *want* a filename called "-"? My tough luck, huh? Could you settle for "./-"? Robert Withrow -- (+1 978 288 8256) [EMAIL PROTECTED]

/proc /dev/std* [Was: Fdescfs updates--coming to a devfs near you!]

2000-09-14 Thread Konstantin Chuguev
Johnny Eriksson wrote: [EMAIL PROTECTED] said: :- The majority of these programs could be handled by adding knowledge of :- "-" as a magic filename to fopen(3). Suppose I *want* a filename called "-"? My tough luck, huh? Could you settle for "./-"? I think any "magic" name is not

/dev/cuaa0 locks my system up..Help!

2000-09-14 Thread Joe . Warner
Ok, I'm posting this here as a last resort. I've already done a search of the freebsd mailing lists and have posted several times to freebsd-questions but haven't received any information that has helped me resolve this problem. A while back, while trying to get my APC Smart-UPS 1000 to talk

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread Mike Meyer
Poul-Henning Kamp writes: In message [EMAIL PROTECTED], Ben Smithurs t writes: Poul-Henning Kamp wrote: I must admit that I think in general that /dev/std{in,out,err} and /dev/fd is bogus. It looks like something which happened "because we can" more than something which has a

Re: HELP: Disk/file-systems are loused up

2000-09-14 Thread Aleksandr A.Babaylov
gerald stoller writes: I started up my (version 3.3 ) freeBSD , and the first thing that I did was mount a MSDOS diskette and did a find on it (with -name "*hd*" ). I got three lines of output stating something like 'date error; month (14) out of range', then a long pause

Re: rcp -x

2000-09-14 Thread Steve Ames
Robert, Thanks for the explanation. That wasn't clear from the manpage. SSH sounds like the better path for me. -Steve On Wed, Sep 13, 2000 at 06:22:53PM -0400, Robert Watson wrote: The -x options on rsh, rcp, and rlogin rely on Kerberos support, which it appears you haven't installed.

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread Frank Mayhar
Poul-Henning Kamp wrote: I must admit that I think in general that /dev/std{in,out,err} and /dev/fd is bogus. It looks like something which happened "because we can" more than something which has a legitimate need. I strongly disagree. I actually have a script that I use daily which

Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1

2000-09-14 Thread Nate Williams
We are trying to create a dynamic library of extensions to PHP 4.02. This library implements a C++ class and has a C interface using the "Extern C" declaration. This library is linked with libstdc++.so.3 . If the library is called in a C program = no trouble. If the library is

what the heck is ftime and why is the reference undefined???????

2000-09-14 Thread Ray Seals
I need to read the temps off of a 1-Wire Lan. I know about the mlan stuff in the ports, but the themod is set to read an ibutton 1920 device. I'm using a DS1820. I'm not a programmer so I would have the first clue where to even try modifying this for my device. Is anyone using the DS1820 on a

Re: what the heck is ftime and why is the reference undefined???????

2000-09-14 Thread Poul-Henning Kamp
In message 003101c01e60$eb3b4e40$[EMAIL PROTECTED], "Ray Seals" wri tes: I need to read the temps off of a 1-Wire Lan. I know about the mlan stuff in the ports, but the themod is set to read an ibutton 1920 device. I'm using a DS1820. I'm not a programmer so I would have the first clue where

Re: what the heck is ftime and why is the reference undefined???????

2000-09-14 Thread Chris D. Faulhaber
See the manpage on ftime(3) (especially the first and second lines of DESCRIPTION) - Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED] FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to

UNIXREVIEW.com

2000-09-14 Thread mark tinguely
FYI: (blatently stolen from UNIXREVIEW.COM EXTRA! Volume 1, Issue 11) UNIXREVIEW.COM Call for Papers unixreview.com is looking for contributors to write feature articles. See the list below for suggested topics, or contact us with your own article ideas. * FreeBSD * Storage Area

Re: c++ error

2000-09-14 Thread John Polstra
In article [EMAIL PROTECTED], Jacques A. Vidrine [EMAIL PROTECTED] wrote: In summary, gcc has a kluge to work around a bug in the C++ standard. It looks like you and Justin Archie. have both found edge cases where the gcc kluge loses. If you can come up with a reasonable test case that

Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1

2000-09-14 Thread John Polstra
In article [EMAIL PROTECTED], Nate Williams [EMAIL PROTECTED] wrote: At one point libgcc was shared (FreeBSD 1.*), and it caused way more problems that it solved. Do you remember any details? I analyzed it pretty thoroughly (I thought) more than a year ago, and decided the shared library was

Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1

2000-09-14 Thread Nate Williams
At one point libgcc was shared (FreeBSD 1.*), and it caused way more problems that it solved. Do you remember any details? I analyzed it pretty thoroughly (I thought) more than a year ago, and decided the shared library was the best solution. If I remember right (and my memory is fuzzy

Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1

2000-09-14 Thread Max Khon
hi, there! On Thu, 14 Sep 2000, John Polstra wrote: Also, we _desperately_ need to switch away from the setjmp/longjmp exception implementation and start using the now-standard DWARF2 implementation. It makes a tremendous performance difference even in programs that don't use exceptions at

Re: c++ error

2000-09-14 Thread Archie Cobbs
John Polstra writes: have both found edge cases where the gcc kluge loses. If you can come up with a reasonable test case that reproduces the problem, perhaps it can be PR'd to the GCC folks? Actually, I don't have a test case. I was only able to make it fail when I moved netinet/in.h

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread Robert Withrow
[ I trimmed off current. ] :- Suppose I *want* a filename called "-"? My tough luck, huh? :- Could you settle for "./-"? I wouldn't want to. Consider: I have a program that takes user input (from an option or a file or whatever) and uses that to compose an output file name. With the above

Re: installing ...

2000-09-14 Thread Kris Kennaway
On Wed, 13 Sep 2000, Danny Braniss wrote: after i made a 'make buidlworld' how can i get it to install in /5.0-CURRENT? i compiled on a 4.1. I respectfully suggest that if you dont know how to install FreeBSD from source, you shouldn't be using 5.0-CURRENT, which can and will screw up your

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread John Baldwin
Poul-Henning Kamp wrote: In message [EMAIL PROTECTED], Peter Pentchev writes : On Thu, Sep 14, 2000 at 01:12:10AM -0700, Julian Elischer wrote: I've never thought of a use for fdescfs... Well.. just a trivial example - imagine a program which takes a filename as an argument; imagine

re: /dev/cuaa0 locks my system up..Help!

2000-09-14 Thread joe . loughry
I had some weird serial port problems myself a few days ago. I was having an (unrelated) problem with a PCI video card, and I swapped it to a different PCI slot on the advice of the manufacturer, which fixed the problem, but also caused my VGA card to change *it's* interrupt, which grabbed the

Re: installing ...

2000-09-14 Thread Danny Braniss
In message [EMAIL PROTECTED]you write: }On Wed, 13 Sep 2000, Danny Braniss wrote: } } after i made a 'make buidlworld' how can i get it to install in /5.0-CURRENT? } i compiled on a 4.1. } }I respectfully suggest that if you dont know how to install FreeBSD from }source, you shouldn't be using

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread John Baldwin
Danny Braniss wrote: In message [EMAIL PROTECTED]you write: }How about the fact that the printing chapter in the Handbook uses /dev/fd/0 }in its example of setting up a print filter using ghostscript since gs }doesn't read from stdin by default or use '-' for that purpose. Hmmm?? }

RE: HELP: Disk/file-systems are loused up

2000-09-14 Thread gerald stoller
Koster, K.J. writes Subject: RE: HELP: Disk/file-systems are loused up Date: Thu, 14 Sep 2000 10:16:38 +0100 Hello Gerald, I started up my (version 3.3 ) freeBSD , and the first thing that I did was mount a MSDOS diskette and did a find on it (with -name "*hd*" ). I

Re: Fdescfs updates--coming to a devfs near you!

2000-09-14 Thread Garance A Drosihn
At 11:48 AM +0200 9/14/00, Poul-Henning Kamp wrote: I must admit that I think in general that /dev/std{in,out,err} and /dev/fd is bogus. It looks like something which happened "because we can" more than something which has a legitimate need. If anything I would propose we ditch it... I think

Re: installing ...

2000-09-14 Thread Kris Kennaway
On Thu, 14 Sep 2000, Danny Braniss wrote: In message [EMAIL PROTECTED]you write: }On Wed, 13 Sep 2000, Danny Braniss wrote: } } after i made a 'make buidlworld' how can i get it to install in /5.0-CURRENT? } i compiled on a 4.1. } }I respectfully suggest that if you dont know how to

Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1

2000-09-14 Thread John Polstra
In article [EMAIL PROTECTED], Nate Williams [EMAIL PROTECTED] wrote: [shared libgcc?] If I remember right (and my memory is fuzzy for stuff that far bak) there were a couple of issues. 1) Speed. Shared libraries are slower than static libraries (PIC et. al), and the stuff in libgcc

Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1

2000-09-14 Thread John Polstra
In article [EMAIL PROTECTED], Max Khon [EMAIL PROTECTED] wrote: libgcc already has support for DWARF2. the only thing that should be changed is crtbegin.o/crtend.o. Yes. I have made all the necessary patches for this. I believe, David has them. Actually I now think we should simply build

Re: c++ error

2000-09-14 Thread John Polstra
In article [EMAIL PROTECTED], Archie Cobbs [EMAIL PROTECTED] wrote: I was doing a build with DESTDIR=/usr/image and so in.h was actually being found in /usr/image/usr/include/netinet/in.h rather than the normal place, so this must be what happened to me as well. That explains it then.

Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1

2000-09-14 Thread Nate Williams
[shared libgcc?] If I remember right (and my memory is fuzzy for stuff that far bak) there were a couple of issues. 1) Speed. Shared libraries are slower than static libraries (PIC et. al), and the stuff in libgcc tends to be performance centric. True. But if we just make it

Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1

2000-09-14 Thread John Polstra
In article [EMAIL PROTECTED], Nate Williams [EMAIL PROTECTED] wrote: True. But if we just make it link against "-lgcc" then knowledgeable users can always add "-static" if they know how to deal with the consequences and they need the performance. Ahh, but -static implies the entire

Re: !.* [ was: Fdescfs updates--coming to a devfs near you! ]

2000-09-14 Thread patl
On 14-Sep-00 at 05:37, Poul-Henning Kamp ([EMAIL PROTECTED]) wrote: You think adding a hack to every program to support "-" to mean stdout/stdin is better? The majority of these programs could be handled by adding knowledge of "-" as a magic filename to fopen(3). At the same time I would

Re: Trouble with dynamic loading of C++ libs in PHP v4.02 on FreeBSD 4.1

2000-09-14 Thread Max Khon
hi, there! On Thu, 14 Sep 2000, John Polstra wrote: I have made all the necessary patches for this. I believe, David has them. Actually I now think we should simply build the crt* files from gcc's "crtstuff.c" in the standard way, rather than having our own versions. The gcc versions

need a recommendation of NIC

2000-09-14 Thread Vladimir B. Grebenschikov
Hao Zhang writes: I am doing some testing on FreeBSD 3.3 platform by sending some UDP packets thru FreeBSD routers. It's found that the duplications happened in FreeBSD router. Now The FreeBSD 3.3 is running on Pentium III, and NIC is 3C905B-Tx. To isolate this problem. We will try