Re: c99 project

2013-02-04 Thread Stephen Montgomery-Smith
On 02/04/2013 08:48 PM, Eitan Adler wrote: Is the following page still useful? Would there be any objection to me removing it? http://www.freebsd.org/projects/c99/index.html We are still working on complex and long double functions. ___

Re: Providing a default graphical environment on FreeBSD

2012-09-17 Thread Stephen Montgomery-Smith
On 09/17/12 11:14, Lorenzo Cogotti wrote: Il 17/09/2012 17:42, Poul-Henning Kamp ha scritto: In message blu0-smtp510b16745b704c714268e2d5...@phx.gbl, Lorenzo Cogotti writ es: Hi, I was wondering about the possibility of FreeBSD to provide an official supported graphical environment. We

Re: Ways to promote FreeBSD?

2012-05-05 Thread Stephen Montgomery-Smith
Find some mailing lists that have nothing to do with FreeBSD, and barrage them with spam promoting FreeBSD. :-) ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to

Re: Getting PRs fixed (was: Re: ...focus, longevity, and lifecycle)

2012-01-18 Thread Stephen Montgomery-Smith
On 01/18/2012 06:57 PM, Dieter BSD wrote: Andriy writes: And dealing with PRs is not always exciting. Neither is brushing your teeth or cleaning the kitchen, but most of us manage to do them at least occasionally. Part of being a grown up. Instead of looking for a stick to hold over

Re: package building failure irritation

2010-02-26 Thread Stephen Montgomery-Smith
I also build my ports in a jail environment (only its not a really a jail, just a chroot). After I have built the ports I want, I create the packages using the following little script. (My mail client will have mangled the script, so take care when you copy and paste it, e.g. it needs to be

Re: Checksum mismatch -- will transfer entire file

2010-01-05 Thread Stephen Montgomery-Smith
Victor Sudakov wrote: But to hell with this. I started the topic because I think something is wrong with SVN to CVS export, which upsets cvsup and causes Checksum mismatch errors. Is anybody willing to look at it? I second Victor's request. ___

Re: Checksum mismatch -- will transfer entire file

2010-01-03 Thread Stephen Montgomery-Smith
Doug Barton wrote: I was not going to reply on this thread at all, but the amount of random speculation has now reached a pathological level. The spurious new line at the end of a file has nothing to do with svn, it is an artifact of how the file was originally transferred to the cvsup mirror.

Re: Suggestion: rename killall to fkill, but wait five years to phase the new name in

2009-12-22 Thread Stephen Montgomery-Smith
I would like to introduce a program into the base called screw-the-whole-system. It would do something like this: while true; do \ echo Please wait while your system is being destroyed... sleep 10 done ___ freebsd-hackers@freebsd.org mailing list

Re: Common interface for sensors/health monitoring

2009-08-22 Thread Stephen Montgomery-Smith
Alfred Perlstein wrote: * Alexander Leidinger alexan...@leidinger.net [090822 10:44] wrote: On Sat, 22 Aug 2009 00:04:10 -0700 Julian Elischer jul...@elischer.org wrote: The purists won out in that one by shouting loudly and screaming about socialized healthware. Consequently we have 47

Re: Common interface for sensors/health monitoring

2009-08-22 Thread Stephen Montgomery-Smith
On Sat, 22 Aug 2009, Julian Elischer wrote: Stephen Montgomery-Smith wrote: Alfred Perlstein wrote: * Alexander Leidinger alexan...@leidinger.net [090822 10:44] wrote: On Sat, 22 Aug 2009 00:04:10 -0700 Julian Elischer jul...@elischer.org wrote: The purists won out in that one

Re: the web site

2009-03-29 Thread Stephen Montgomery-Smith
RW wrote: On Sun, 29 Mar 2009 17:40:30 -0400 Chuck Robey chu...@telenix.org wrote: I just had to see if I could locate if there was a gnome project page by looking at the FreeBSD web pages. Why don't you try that yourself? I'll tell you, it's really FAR from being obvious. I'm just saying,

Re: RFC: small syscons and kbd patch

2008-12-05 Thread Stephen Montgomery-Smith
Nate Eldredge wrote: int bangbang(int x) { return !!x; } int ternary(int x) { return x ? 1 : 0; } Stylewise, I prefer int notzero(int x) { return x!=0; } ___ freebsd-hackers@freebsd.org mailing list

Calling malloc from a signal handler

2008-09-19 Thread Stephen Montgomery-Smith
I notice that if you use malloc from within a signal handler on FreeBSD-6.x, that you can potentially trigger a recursive call error. But this seems to have changed in FreeBSD-7.x. Is it now permissible to call malloc from within a signal handler in FreeBSD-7.x? If so, should the man page

Re: Recommend literature for beginner programer

2008-08-27 Thread Stephen Montgomery-Smith
Jingshao Chen wrote: Hi, Since you have been unix admin for a few years, I guess you probably have some experience with C programming. This book is more advanced, but it is a really good one. Advanced Programming in the UNIX Environment: Paperback Edition (2nd Edition)

Re: Sysinstall is still inadequate after all of these years

2008-07-03 Thread Stephen Montgomery-Smith
Lothar Braun wrote: What about having two utilities for the installation process? Something like a very small (non-gui/non-X) version of sysinstall that just installs a base system and only has the functionality to - partition/label a disk - configure the network (if needed for installation)

time used by a thread

2008-07-03 Thread Stephen Montgomery-Smith
I want to use getrusage to see how much time a program is using. But this is a multithreaded program, and I just want the time taken by that particular thread! I know this info must be available somewhere, because top -H seems to provide it. But getrusage seems to give the total rusage for

Re: time used by a thread

2008-07-03 Thread Stephen Montgomery-Smith
Sergey Babkin wrote: I want to use getrusage to see how much time a program is using. But this is a multithreaded program, and I just want the time taken by that particular thread! I know this info must be available somewhere, because top -H seems to provide it. But getrusage seems to give

Re: Sysinstall is still inadequate after all of these years / sorry I started flame war

2008-07-03 Thread Stephen Montgomery-Smith
Rob Lytle wrote: Hi Kevin, The sysinstall dependency problem has existed for 10 years, so I doubt that its unique to me. It has occurred in every installation I have ever done. I use portupgrade for all ports. i strongly disagree with using ports for huge packages. I don't have the time to

Re: Sysinstall is still inadequate after all of these years / sorry I started flame war

2008-07-03 Thread Stephen Montgomery-Smith
Rob Lytle wrote: On Thu, Jul 3, 2008 at 9:33 PM, Stephen Montgomery-Smith [EMAIL PROTECTED] wrote: Rob Lytle wrote: Hi Kevin, The sysinstall dependency problem has existed for 10 years, so I doubt that its unique to me. It has occurred in every installation I have ever done. I use

Re: Sysinstall is still inadequate after all of these years

2008-07-02 Thread Stephen Montgomery-Smith
On the whole, I rather like the installation process for FreeBSD. Generally what I really like about FreeBSD is the ease of system administration, and whenever I use Linux distributions I get rather frustrated. If, as the OP suggests, installation of packages from the FreeBSD CD's requires

Small change to top

2008-06-12 Thread Stephen Montgomery-Smith
top doesn't get TIME right for threaded processes. How about this small change: --- usr.bin/top/machine.c-orig 2008-06-12 23:06:08.0 -0500 +++ usr.bin/top/machine.c 2008-06-12 23:06:51.0 -0500 @@ -725,6 +725,7 @@ prev_pp = pp; }

Re: nvidia working?

2008-01-14 Thread Stephen Montgomery-Smith
Chuck Robey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was wondering ... I have (I think) nvidia working on my box, or at least, I am calling out the nvidia driver in the xorg.conf, but I was wondering if there is any program that only works with the nvidia hardware, some way I can

Re: Before After Under The Giant Lock

2007-11-25 Thread Stephen Montgomery-Smith
On Sun, 25 Nov 2007, Robert Watson wrote: In FreeBSD 8, I expect we'll see a continued focus on both locking granularity and improving opportunities for kernel parallelism by better distributing workloads over CPU pools. This is important because the number of

Re: Before After Under The Giant Lock

2007-11-25 Thread Stephen Montgomery-Smith
On Sun, 25 Nov 2007, Roman Divacky wrote: On Sun, Nov 25, 2007 at 02:41:35PM -0600, Stephen Montgomery-Smith wrote: On Sun, 25 Nov 2007, Robert Watson wrote: In FreeBSD 8, I expect we'll see a continued focus on both locking granularity and improving

Re: Before After Under The Giant Lock

2007-11-25 Thread Stephen Montgomery-Smith
On Sun, 25 Nov 2007, Kip Macy wrote: I just want to add my 2 cents, that my recent experience with FreeBSD MP has been extremely positive. I tend to use highly CPU bound MP programs, typically lots and lots of floating point operations. It used to be that Linux beat FreeBSD hands down -

Re: Slight problem with make actual-package-depends with ports

2007-07-18 Thread Stephen Montgomery-Smith
Alexander Leidinger wrote: Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (Tue, 17 Jul 2007 19:46:11 -0500): I appreciate that most people won't have this problem, but it has bitten me. After you have made and installed a port, but don't clean it, and then made a bunch of other ports

Re: Slight problem with make actual-package-depends with ports

2007-07-18 Thread Stephen Montgomery-Smith
Alexander Leidinger wrote: Quoting Stephen Montgomery-Smith [EMAIL PROTECTED] (Tue, 17 Jul 2007 19:46:11 -0500): I appreciate that most people won't have this problem, but it has bitten me. After you have made and installed a port, but don't clean it, and then made a bunch of other ports

Problems with +CONTENTS being messed up by pkg_delete -f

2007-07-18 Thread Stephen Montgomery-Smith
If you pkg_delete -f a package and then install the port again (but after it has been bumped up a version), then the +CONTENTS of ports that require the original port will be incorrect. This apparently messes up programs like portmanager. There is a sense in which one should never do

Re: Problems with +CONTENTS being messed up by pkg_delete -f

2007-07-18 Thread Stephen Montgomery-Smith
Robert Noland wrote: On Wed, 2007-07-18 at 15:56 -0500, Stephen Montgomery-Smith wrote: If you pkg_delete -f a package and then install the port again (but after it has been bumped up a version), then the +CONTENTS of ports that require the original port will be incorrect. This apparently

Slight problem with make actual-package-depends with ports

2007-07-17 Thread Stephen Montgomery-Smith
I appreciate that most people won't have this problem, but it has bitten me. After you have made and installed a port, but don't clean it, and then made a bunch of other ports, if you go back to the original port and then do make package, then +CONTENTS can be a bit messed up for the package.

CPUTYPE in general - was Re: Which CPUTYPE for a dualcore Xeon on AMD64

2007-06-25 Thread Stephen Montgomery-Smith
Jack L. wrote: On 6/24/07, Martin Turgeon [EMAIL PROTECTED] wrote: Hi, I recently installed AMD64 6.2 Release on 2 PowerEdge servers, both with dual core Xeon (3070 and 5110). I noticed when I was updating the sources that it was compiling as an Athlonxp by default. I was wondering if I should

Re: Using shell commands versus C equivalents

2007-06-13 Thread Stephen Montgomery-Smith
On Wed, 13 Jun 2007, [EMAIL PROTECTED] wrote: PS I'm looking at pkg_install and pkg_version mostly, but I'll be looking into the other package utilities closely in the next couple weeks, evaluating what approaches I should take in solving some bottlenecks with installing packages and ports.

Re: Looking for speed increases in make index and pkg_version for ports

2007-05-30 Thread Stephen Montgomery-Smith
On Wed, 30 May 2007, Bakul Shah wrote: Peter Jeremy [EMAIL PROTECTED] wrote: On 2007-May-27 16:12:54 -0700, Bakul Shah [EMAIL PROTECTED] wrote: Given the size and complexity of the port system I have long felt that rather than do everything via more and more complex Mk/*.mk what is is

Re: Looking for speed increases in make index and pkg_version for ports

2007-05-28 Thread Stephen Montgomery-Smith
Hartmut Brandt wrote: Having done a great deal of rewriting of make some two years ago I can tell you that even a small change to make is a tough job testing-wise: run all the combinations of !-j and -j N on all architectures and run the change through the port-building cluster. That's a

Re: Looking for speed increases in make index and pkg_version for ports

2007-05-28 Thread Stephen Montgomery-Smith
Ivan Voras wrote: Stephen Montgomery-Smith wrote: I have been thinking a lot about looking for speed increases for make index and pkg_version and things like that. So for example, in pkg_version, it calls make -V PKGNAME for every installed package. Now make -V PKGNAME should be a speedy

Re: Looking for speed increases in make index and pkg_version for ports

2007-05-28 Thread Stephen Montgomery-Smith
Jeremy Chadwick wrote: On Sun, May 27, 2007 at 03:52:16PM -0500, Stephen Montgomery-Smith wrote: I have been thinking a lot about looking for speed increases for make index and pkg_version and things like that. So for example, in pkg_version, it calls make -V PKGNAME for every installed

Re: Looking for speed increases in make index and pkg_version for ports

2007-05-28 Thread Stephen Montgomery-Smith
On Mon, 28 May 2007, David Naylor wrote: On Monday 28 May 2007 03:43, you wrote: Maybe I should look at the inner workings of cmake and gmake. Maybe they have some good ideas. However having looked through the source code of make, and also looking at the cvs logs, it does seem to be well

Re: Looking for speed increases in make index and pkg_version for ports

2007-05-28 Thread Stephen Montgomery-Smith
Roman Divacky wrote: On Mon, May 28, 2007 at 11:34:24AM -0500, Stephen Montgomery-Smith wrote: Jeremy Chadwick wrote: On Sun, May 27, 2007 at 03:52:16PM -0500, Stephen Montgomery-Smith wrote: I have been thinking a lot about looking for speed increases for make index and pkg_version

Looking for speed increases in make index and pkg_version for ports

2007-05-27 Thread Stephen Montgomery-Smith
I have been thinking a lot about looking for speed increases for make index and pkg_version and things like that. So for example, in pkg_version, it calls make -V PKGNAME for every installed package. Now make -V PKGNAME should be a speedy operation, but the make has to load in and analyze

Re: Looking for speed increases in make index

2007-05-27 Thread Stephen Montgomery-Smith
On Mon, 28 May 2007, Michel Talon wrote: Stephen Montgomery-Smith said: I suggest rewriting make so that variables are only evaluated on a need to know basis. or I have tried to do this. Of course a lot of people have thinked about it, and quickly realized that it was not going

Re: Looking for speed increases in make index and pkg_version for ports

2007-05-27 Thread Stephen Montgomery-Smith
Jeremy Chadwick wrote: On Sun, May 27, 2007 at 03:52:16PM -0500, Stephen Montgomery-Smith wrote: I have been thinking a lot about looking for speed increases for make index and pkg_version and things like that. So for example, in pkg_version, it calls make -V PKGNAME for every installed

Re: Looking for speed increases in make index and pkg_version for ports

2007-05-27 Thread Stephen Montgomery-Smith
I'm looking for something that will work with the existing framework. But yes, I get the feeling that maybe using make to process the ports might be the source of the problem. Make is a program primarily designed for figuring out which was made first, the target or the source, but in the

Re: sin()/cos()/tan() for kernel code? '_ 'a

2007-02-11 Thread Stephen Montgomery-Smith
On Sun, 11 Feb 2007, Daniel Eischen wrote: On Sun, 11 Feb 2007, Eugene M. Kim wrote: Hello all, I am writing a mouse device driver for my Wacom tablet (Intuos 2 9x12). The tablet comes with a mouse and I managed to get valid coordinate data from the device. However, unlike usual mice, the

Re: sin()/cos()/tan() for kernel code? '_ 'a

2007-02-11 Thread Stephen Montgomery-Smith
On Sun, 11 Feb 2007, Stephen Montgomery-Smith wrote: On Sun, 11 Feb 2007, Daniel Eischen wrote: On Sun, 11 Feb 2007, Eugene M. Kim wrote: Hello all, I am writing a mouse device driver for my Wacom tablet (Intuos 2 9x12). The tablet comes with a mouse and I managed to get valid

Re: top delay value

2007-01-30 Thread Stephen Montgomery-Smith
Dan Nelson wrote: In the last episode (Jan 30), [EMAIL PROTECTED] said: An unprivileged user could waste all CPU time by setting a low delay value in top (interactive or via -s). Are you sure? In 6.2 at least, s0 in interactive mode results in a 1-second delay, and top -s0 prints top:

Re: Reading in real time from a file without pipes

2007-01-04 Thread Stephen Montgomery-Smith
Matthew Hudson wrote: Mon Dec 11 09:08:37 PST 2006 c0re dumped wrote: I wonder if is possible to read data from a certain file without using a pipe. Let me explain: I have a process already writing messages to a logfile. I want to read all written data (without neither stop nor interfere

Re: Syncing cpus on a multi-cpu, dual core system

2006-12-16 Thread Stephen Montgomery-Smith
M. Warner Losh wrote: In message: [EMAIL PROTECTED] M. L. Dodson [EMAIL PROTECTED] writes: : On a computational chemistry list I subscribe to there is a : current thread about multi-cpu systems needing to have the cpu : frequencies synced (this is in a Linux context). This is :

Re: PCI Express graphics reliability/functionality in 6.1?

2006-06-08 Thread Stephen Montgomery-Smith
Clifton Royston wrote: I'm soon to build myself a new AMD X2 workstation system on which I plan to multiboot various operating systems including FreeBSD, a couple Linux distros and probably Windows XP Pro, and probably also run virtualization software (VMWare and/or Xen.) I'm hoping for it to

Re: Files in C.

2005-05-04 Thread Stephen Montgomery-Smith
might have hesitation over Vol 2, but only because it covers stuff that you might not need. He writes extremely well. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen ___ freebsd-hackers@freebsd.org mailing list http

Re: HTT/SMP Dual Xeon systems unstable

2004-12-15 Thread Stephen Montgomery-Smith
John Baldwin wrote: There is a problem in the kernel that causes with 3 or more processors (including logical CPUs from HTT). Disabling HTT in the BIOS is probably your best bet as it will get you down to 2 CPUs which should work much better. HTT also isn't but so useful anyways for most

Re: UInaqble to install OpenOffice 1.1.3 from porte, 5.3R

2004-12-07 Thread Stephen Montgomery-Smith
Simon Burke wrote: Whener i try to install openoffice 1.1 from ports after several hours of compiling etc, i get the following error message. Is openoffice 1.1 port broken? or is it me? Im running 5.3R and i've cvsuped ports to get gnome 2.8 running which went fine. Any ideas? I once had problems

Re: List of fake vs. real SATA drives.

2004-11-22 Thread Stephen Montgomery-Smith
FUJISHIMA Satsuki wrote: Currently native SATA drives are still not so popular. There are: Seagate Barracuda ATA V, 7200.7, 7200.8 I have one of these, and I am really impressed by its performance. I added one to my computer, which came with a Maxtor 6Y080L0. My main disk intensive operation

Re: List of fake vs. real SATA drives.

2004-11-22 Thread Stephen Montgomery-Smith
Thomas Wolf wrote: Stephen Montgomery-Smith [EMAIL PROTECTED] schrieb: FUJISHIMA Satsuki wrote: Currently native SATA drives are still not so popular. There are: Seagate Barracuda ATA V, 7200.7, 7200.8 I have one of these, and I am really impressed by its performance. I added one to my

Re: Port bonding on nc3122 ( dual fxp ) NIC

2003-08-27 Thread Stephen Montgomery-Smith
the FreeBSD docs were better at explaining how it worked.) -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail

Re: raw socket programming

2003-07-07 Thread Stephen Montgomery-Smith
is not defined anywhere. It looks to me like netinet/ip.h is broken. What is it that you need netinet/ip.h for? Maybe there are some other include files that would work just as well. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen

Re: raw socket programming

2003-07-07 Thread Stephen Montgomery-Smith
as well. Sorry - it is I who is the complete idiot. Please totalyl ignore my last post. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: kqueue alternative?

2003-06-16 Thread Stephen Montgomery-Smith
that this file is ready for reading. In essence, calling select will always say that a file is ready for reading, and calling select serves no purpose. Well I definitely learned something. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen

Re: kqueue alternative?

2003-06-15 Thread Stephen Montgomery-Smith
choices? I would say, use select(2). Is there a reason this wouldn't work? -- Josh Either select(2) or poll(2) should work. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen ___ [EMAIL PROTECTED] mailing list http

Re: HEADS UP! Major commits in the tree coming soon

2003-05-30 Thread Stephen Montgomery-Smith
. - Remove ext2 support (GPL encumbered). Remove ffs support also (BSD license encumbered). - Add perl 5.8 *and* python 2.2 to base. I agree - perl makes a perfect replacement for tar. - Remove Sendmail and replace it with Postfix. I prefer USPS. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http

Re: [Fwd: i-Buddie 4: Synaptics touch pad FreeBSD support?]

2002-09-26 Thread Stephen Montgomery-Smith
/query-pr.cgi?pr=20352 -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

runtime

2002-08-16 Thread Stephen Montgomery-Smith
nanosleep won't work). I looked at the man pages, but all I could find was runtime which seems only to be accessible from the kernel. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd

Re: runtime

2002-08-16 Thread Stephen Montgomery-Smith
It looks like exactly what I want. Thanks. Sergey Lyubka wrote: Would getrusage() help ? On Fri, Aug 16, 2002 at 10:21:07AM -0500, Stephen Montgomery-Smith wrote: How do I do the following: 1) Find out how much time a program has currently consumed in computer time (something like what

Re: Uptime of a system

2002-07-09 Thread Stephen Montgomery-Smith
, 0) != -1 boottime.tv_sec != 0) { uptime = now - boottime.tv_sec; + uptime += 5; if (uptime 60) uptime += 30; days = uptime / 86400; (Sorry, couldn't resist it.) -- Stephen Montgomery

setrlimit and large maxssiz

2002-06-08 Thread Stephen Montgomery-Smith
takes place, but I have no idea what to make of it. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

allocating memory

2002-06-05 Thread Stephen Montgomery-Smith
(EXIT_FAILURE); } fprintf(stderr,Filling a[%d]\n,j); for(i=0;isize;i++) a[j][i] = i; fprintf(stderr,Done\n); } while(1){} /* so the program doesn't stop and stays at the top of top */ } -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe

Re: Linking libc before libc_r into application causesweirdproblems

2002-02-08 Thread Stephen Montgomery-Smith
M. Warner Losh wrote: In message: [EMAIL PROTECTED] Stephen Montgomery-Smith [EMAIL PROTECTED] writes: : cc -o test test.c -pthread -D_THREAD_SAFE : : or am I misunderstanding something? Ah, yes. -D_THREAD_SAFE is technically needed. I am curious - what are the possible

Re: Linking libc before libc_r into application causes weirdproblems

2002-02-07 Thread Stephen Montgomery-Smith
, but that was changed to -pthread in 4.0. Warner According to the man page for gcc, you are supposed to write cc -o test test.c -pthread -D_THREAD_SAFE or am I misunderstanding something? -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail

Re: Tell gcc I have a i686

2002-01-07 Thread Stephen Montgomery-Smith
Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Tell gcc I have a i686

2002-01-07 Thread Stephen Montgomery-Smith
John Baldwin wrote: On 07-Jan-02 Stephen Montgomery-Smith wrote: John Baldwin wrote: You know, I have no idea. It is someone elses code. These are the instructions. Can anyone tell me? movl 32(%0),%1\n adcl %1,32(%0)\n Also, from

Re: Tell gcc I have a i686

2002-01-05 Thread Stephen Montgomery-Smith
Matthew D. Fuller wrote: On Fri, Jan 04, 2002 at 12:02:03PM -0600 I heard the voice of Stephen Montgomery-Smith, and lo! it spake thus: I want to create a Makefile for a C program that includes some Pentium II specific inline assembler code. How do I tell the compiler whether we

Tell gcc I have a i686

2002-01-04 Thread Stephen Montgomery-Smith
#ifdef i686 But arch doesn't exist on FreeBSD. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Tell gcc I have a i686

2002-01-04 Thread Stephen Montgomery-Smith
Alfred Perlstein wrote: * Stephen Montgomery-Smith [EMAIL PROTECTED] [020104 12:02] wrote: I want to create a Makefile for a C program that includes some Pentium II specific inline assembler code. How do I tell the compiler whether we are compiling on a i686? For Linux, I can do

Re: Simple pthread question

2001-10-31 Thread Stephen Montgomery-Smith
thread without suspending the whole process? I can not use sleep or usleep can I? TIA Arjan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen

Re: Simple pthread question

2001-10-31 Thread Stephen Montgomery-Smith
particular problem, for example pthread_cond_timedwait -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Unix Philosophers Please!

2001-10-31 Thread Stephen Montgomery-Smith
. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Could not bind

2001-09-21 Thread Stephen Montgomery-Smith
Thanks everyone for exellent answers - I learned something from every single email I received in response. Thanks, Stephen Stephen Montgomery-Smith wrote: I have written a server program that listens on port 3000. The program works very well except for one feature. I am asking

Could not bind

2001-09-15 Thread Stephen Montgomery-Smith
(servaddr); arg = malloc(sizeof(arg_pass_type)); arg-connfd = accept(listenfd,(struct sockaddr*)servaddr,slen); arg-addr = servaddr.sin_addr; arg-port = servaddr.sin_port; pthread_create(tid,NULL,process_client,(void*) arg); } exit(0); } -- Stephen Montgomery-Smith [EMAIL

Re: running diff on huge files

2001-08-24 Thread Stephen Montgomery-Smith
the whole computer. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: ncurses

2001-08-15 Thread Stephen Montgomery-Smith
PROTECTED] fprintf(stderr,..) will print stuff when ncurses is running. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Ghostscript 6.51 + HP printer = WOW!

2001-08-10 Thread Stephen Montgomery-Smith
in the body of the message -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: math library difference between linux emulation and native freebsd (and native linux)

2001-07-14 Thread Stephen Montgomery-Smith
Jim.Pirzyk Exp $ __o [EMAIL PROTECTED] - [EMAIL PROTECTED] _'\,_ Senior Systems Engineer, Walt Disney Feature Animation (*)/ (*) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message -- Stephen Montgomery-Smith [EMAIL

Re: math library difference between linux emulation and native freebsd (and native linux)

2001-07-14 Thread Stephen Montgomery-Smith
in handling low order bits can be significant. You could check this out by trying the following double x,y; x = 53.278500; y = exp(x); for(i=0;isizeof(double);i++) printf(%d ,((unsigned char*)y)[i]); printf(\n); or something like that. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http

Re: math library difference between linux emulation and native freebsd (and native linux)

2001-07-14 Thread Stephen Montgomery-Smith
it is supposed to handle? Looking at man math it says it should handle numbers as large as 1.8e308 - we certainly are not in that range!!! -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers

Re: math library difference between linux emulation and native freebsd (and native linux)

2001-07-14 Thread Stephen Montgomery-Smith
, Mathematica, which is Linux binary running under emulation, gets the answers correct. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: math library difference between linux emulation and native freebsd (and native linux)

2001-07-14 Thread Stephen Montgomery-Smith
Stephen Montgomery-Smith wrote: exp(54) = 160.331128 is way way wrong, by orders of magnitude. Sorry - programming error - I forgot to change gamma back to exp. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL

Re: math library difference between linux emulation and native freebsd (and native linux)

2001-07-14 Thread Stephen Montgomery-Smith
Stephen Montgomery-Smith wrote: Same for gamma(53.27850) = 157.464664. Figured out this problem. gamma is returning the result of lgamma. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

dbopen man page

2001-07-08 Thread Stephen Montgomery-Smith
won't compile in Red-Hat Linux. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message

Re: Sysadmin article

2001-06-14 Thread Stephen Montgomery-Smith
Mike Silbersack wrote: Matt's performance manpage covers a lot of this, but is probably not as easy to digest as an interactive script. What do I type to read this man page? -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsubscribe: send mail

Re: The FreeBSD NVIDIA Driver Initiative

2001-05-08 Thread Stephen Montgomery-Smith
as to how this is proceeding on a day by day basis should be distributed widely. But I do hope that when beta versions are available that this info will also be widely distributed. Also, maybe Munish could send his announcement to the comp.unix.bsd.freebsd newsgroups. -- Stephen Montgomery

Re: config and config -r

2000-07-16 Thread Stephen Montgomery-Smith
before any kernel message :/ Is there anything to check in order to know if I can use a config instead of a config -r ? If using a config without the -r option is dangerous, I think it shouldn't be the default. Is it the case ? -- Stephen Montgomery-Smith Department of Mathematics