Re: Printing - standard? CUPS? ...??

2009-01-12 Thread Jason Lenthe
Ewald Jenisch wrote: Should I go for the standard vanilla FreeBSD lpr that comes with the system or use anything else? If anything else - what (CUPS,...?) Please note that I want to print both from gnome (X-win) as well as via the commadline. I was looking forward to using CUPS when I

Re: Generating normally distributed random numbers.

2010-01-31 Thread Jason Lenthe
I am working on a project where I have the need to generate normally distributed random positive integers, preferably unsigned 64 bit (or even longer if possible) integers. More specifically, I will need the ability to supply the expected value and the standard deviation for the desired

Re: sed vs gnu sed

2011-11-09 Thread Jason Lenthe
On 11/09/11 05:30, Vincent Hoffman wrote: 'Hi all, I'm trying to move a script from a linux box to a freebsd box. All going well as its just a bash script and bash is bash, however there is one line I'm unable to use directly, as bsd sed (correctly according to SUS at least, I

Re: FreeBSD Kernel Internals Documentation

2011-12-30 Thread Jason Lenthe
On 12/30/11 09:59, Jerry wrote: If FreeBSD really wanted to make a quality product they would hire competent programmers to create the drivers, etcetera that are seriously needed. They do. See this for a list of FreeBSD Foundation funded projects that have been completed:

SATA300

2008-07-26 Thread Jason Lenthe
My machine, a home-brew running 7.0-RELEASE-p2, has 3 SATA hard drives all of which were advertised, I believe, as SATA300 drives, but: vader# dmesg | grep ATA ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 atapci1: Intel ICH7 SATA300 controller port

SATA300

2008-07-26 Thread Jason Lenthe
My machine, a home-brew running 7.0-RELEASE-p2, has 3 SATA hard drives all of which were advertised as SATA300 drives, but: vader# dmesg | grep ATA ata0: ATA channel 0 on atapci0 ata1: ATA channel 1 on atapci0 atapci1: Intel ICH7 SATA300 controller port

Re: FreeBSD7 and realtek 8111C

2008-09-03 Thread Jason Lenthe
Andrey Slusar wrote: Hello! I have the motherboard with realtek 8111C LAN Card. On FreeBSD6.3 it's card is work fine with driver from realtek wesite - rtl_bsd_drv_v175.tgz archive. Build this driver on 7.0-STABLE is not work. I'm hacked this and driver is compile without problems, but LAN

Re: FreeBSD7 and realtek 8111C

2008-09-03 Thread Jason Lenthe
Popof Popof wrote: Jason, what is the name of the device that you use? Maybe this card isn't support with the realtek driver on FreeBSD 7 but its use another one. Mine is rl. My mistake. I'm using 8111B not 8111C. Sorry. re0: RealTek 8168/8111B PCIe Gigabit Ethernet port 0x1000-0x10ff mem

CUPS and Gnome

2008-04-21 Thread Jason Lenthe
I am using CUPS and when I click the Print button in gedit and gnumeric the application immediately terminates. In abiword, I get a blank sheet of paper. Printing is working fine in firefox, gvim, and lpr. I did truss gedit and it ended with: open(/etc/cups/lpoptions,O_RDONLY,0666)

Certain Fonts Don't Print

2008-05-20 Thread Jason Lenthe
I'm using abiword and gnumeric on FreeBSD 7 (amd64) and certain fonts don't show in print preview mode, on actual printouts, or when saving to postscript or PDF, while other fonts do. Times New Roman and Helvetica are examples of fonts that don't work. The bitstream fonts are examples that

Re: C++ headers

2013-04-13 Thread Jason Lenthe
Is it possible to get C++11 support on FreeBSD? Currently the 9.1-RELEASE has some compiler C++11 capable but the /usr/include/c++ headers lacks some c++11 features (and missing headers). Is there any port of c++11 available? There sure is. Just get the latest version of gcc or clang

Re: Delete a directory, crash the system

2013-07-27 Thread Jason Lenthe
On 07/27/2013 11:30, David Noel wrote: -- it's a laptop and I've inadvertently run the battery down to nothing a few times in the past. All the same, it was a very strange experience. I would not have expected a kernel panic from a simple rm -rf! You may want to look into running fsck(8) and