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 developer

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 "fre

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 , Lorenzo Cogotti writ es: Hi, I was wondering about the possibility of FreeBSD to provide an official supported graphical environment. We already do: It's called "X11" :-) (sending back

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. ___ free

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

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 analyz

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

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 PKG

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 por

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 on all architectures and run the change through the port-building cluster. That's a warning

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 PK

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 PKG

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 wr

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_v

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 ne

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.

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 shoul

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

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 bunc

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 bunc

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 "pkg

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

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 core

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 impr

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 - now

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 a

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; } els

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 sw

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 t

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.

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) http://www.amazon.com/Adv

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 p

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 http://lists.freebsd.org/mailman/listinfo/freebsd-

Re: the web site

2009-03-29 Thread Stephen Montgomery-Smith
RW wrote: On Sun, 29 Mar 2009 17:40:30 -0400 Chuck Robey 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, even if folks don't

Re: c question: *printf'ing arrays

2009-06-30 Thread Stephen Montgomery-Smith
Alexander Best wrote: thanks. now the output gets redirected using >. i'm quite new to programming under unix. sorry for the inconvenience. so i guess there is no really easy way to output an inhomogeneous struct to stdout without using a loop to output each array contained in the struct. cheer

Re: Common interface for sensors/health monitoring

2009-08-22 Thread Stephen Montgomery-Smith
Alfred Perlstein wrote: * Alexander Leidinger [090822 10:44] wrote: On Sat, 22 Aug 2009 00:04:10 -0700 Julian Elischer wrote: The purists won out in that one by shouting loudly and screaming about socialized healthware. Consequently we have 47 million unsupported devices. You forgot to tell

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 [090822 10:44] wrote: On Sat, 22 Aug 2009 00:04:10 -0700 Julian Elischer wrote: The purists won out in that one by shouting loudly and screaming about socialized

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: "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. T

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. ___ f

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: 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 l

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: 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 norm

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: The FreeBSD NVIDIA Driver Initiative

2001-05-08 Thread Stephen Montgomery-Smith
ement to the comp.unix.bsd.freebsd newsgroups. -- 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

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 l

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 workl

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: config and config -r

2000-07-16 Thread Stephen Montgomery-Smith
; But after rebooting on this new kernel, I had a page fault 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

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 i

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

Re: List of fake vs. real SATA drives.

2004-11-22 Thread Stephen Montgomery-Smith
Søren Schmidt wrote: Stephen Montgomery-Smith wrote: 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

dbopen man page

2001-07-08 Thread Stephen Montgomery-Smith
ams I wrote for FreeBSD 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: math library difference between linux emulation and native freebsd (and native linux)

2001-07-14 Thread Stephen Montgomery-Smith
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 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
[EMAIL PROTECTED] wrote: > > In <[EMAIL PROTECTED]>, on 07/14/2001 >at 11:09 AM, [EMAIL PROTECTED] said: > > >Running natively under FreeBSD: > > >x = 53.2785 > >exp(x) = 137581029243568449912832. > > >Running natively under Linux: > > >x = 53.278500 > >exp(x) = 13758102924356

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

2001-07-14 Thread Stephen Montgomery-Smith
Yes, I tried out the program #include #include main() { double x,y; int i; x = 53.278500; y = exp(x); printf("%8lf\n",x); for(i=0;ihttp://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
My point is that the correct answers are way less than 1e308, so there is no excuse for the wrong answers. By the way, Mathematica, which is Linux binary running under emulation, gets the answers correct. -- Stephen Montgomery-Smith [EMAIL PROTECTED] http://www.math.missouri.edu/~stephen To Unsu

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

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 PROTEC

Re: Ghostscript 6.51 + HP printer = WOW!

2001-08-10 Thread Stephen Montgomery-Smith
nce. > > 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 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
ck to this, as it must be > possible, right? > > Thank you, > > Hans > [EMAIL 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: running diff on huge files

2001-08-24 Thread Stephen Montgomery-Smith
thing like this, I froze 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

Could not bind

2001-09-15 Thread Stephen Montgomery-Smith
listen(listenfd,6); while (1) { slen=sizeof(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,pro

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

Re: Simple pthread question

2001-10-31 Thread Stephen Montgomery-Smith
d one particular 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

Re: Simple pthread question

2001-10-31 Thread Stephen Montgomery-Smith
ng upon your 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
dimension, and comes out of /dev/random. -- 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: HEADS UP! Major commits in the tree coming soon

2003-05-30 Thread Stephen Montgomery-Smith
pentium 4 or better. - 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 [E

Re: kqueue alternative?

2003-06-15 Thread Stephen Montgomery-Smith
tat(), but do I have any other 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 ___

Re: kqueue alternative?

2003-06-16 Thread Stephen Montgomery-Smith
of file. Thus select will not block and will say 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 [EMAI

Re: raw socket programming

2003-07-07 Thread Stephen Montgomery-Smith
pt_time 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.ed

Re: raw socket programming

2003-07-07 Thread Stephen Montgomery-Smith
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: Port bonding on nc3122 ( dual fxp ) NIC

2003-08-26 Thread Stephen Montgomery-Smith
particular 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 unsubs

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 compilin

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

Re: Tell gcc I have a i686

2002-01-07 Thread Stephen Montgomery-Smith
C */ "movl 124(%0),%1\n" "adcl %1,124(%0)\n" : : "r" (_x), "r" (_a) ); -- 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-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? > >> > > >>

Re: Linking libc before libc_r into application causes weirdproblems

2002-02-07 Thread Stephen Montgomery-Smith
FreeBSD 3.x you > did need to do -lc_r, 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] ht

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

allocating memory

2002-06-05 Thread Stephen Montgomery-Smith
I have access to a rather large computer (3GB of RAM) and I would like to write a program to access most of this memory. I find that I am unable to malloc more than about 0.5 GB of memory, even if I do it in small increments. Now I am trying mmap, and this lets me get to about 2.5 GB of memory (

setrlimit and large maxssiz

2002-06-08 Thread Stephen Montgomery-Smith
, 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

Re: Uptime of a system

2002-07-09 Thread Stephen Montgomery-Smith
(Sorry, couldn't resist 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

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 "unsubscri

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 currentl

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

Re: malloc

2002-10-22 Thread Stephen Montgomery-Smith
if ((*s = realloc(*s,len+1))==NULL) { fprintf(stderr,"Allocation error\n"); exit(1); } } else { if (*s!=NULL) free(*s); *s = NULL; } return *s; } -- 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