Re: ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug?

2014-02-24 Thread Dennis Davis
On Tue, 25 Feb 2014, Ingo Schwarze wrote: > From: Ingo Schwarze > To: Fabian Raetz > Cc: misc@openbsd.org > Date: Tue, 25 Feb 2014 01:00:49 > Subject: Re: ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug? ... > > so i tried > > expr 2147483647 / 2 which returns 1073741824 while

Re: sysmerge trouble

2014-02-24 Thread Ed Ahlsen-Girard
On Mon, 24 Feb 2014 10:59:57 -0800 Philip Guenther wrote: > On Sun, Feb 23, 2014 at 1:45 PM, Ed Ahlsen-Girard > wrote: > > Took a while to submit this, but for the past ~ six weeks of > > snapshots sysmerge fails thus: > > > > ERROR: failed to populate from /usr/src and create checksum file > >

Re: ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug?

2014-02-24 Thread Philip Guenther
On Mon, Feb 24, 2014 at 5:00 PM, Ingo Schwarze wrote: ... > The above behaviour is required by POSIX: > > http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap01.html#tag_17_01_02_01 > > "Integer variables and constants, including the values of operands >and option-arguments, use

Re: sysmerge trouble

2014-02-24 Thread Philip Guenther
On Mon, Feb 24, 2014 at 7:58 PM, Ed Ahlsen-Girard wrote: > On Mon, 24 Feb 2014 10:59:57 -0800 > Philip Guenther wrote: ... >> Six weeks ago was approximately when the /etc/signify/ directory was >> added. My guess is that you missed the bit in the FAQ about using the >> -d and -P options when do

Re: ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug?

2014-02-24 Thread Ingo Schwarze
Hi Fabian, Fabian Raetz wrote on Mon, Feb 24, 2014 at 10:59:34PM +0100: > while calculating my phys. memory (mb) with the > folllowing shellsript i get as a result -424. > > sysctl -n hw.physmem returns 3849830400 > > > #!/bin/sh > > phys_mem_bytes=`sysctl -n hw.physmem` > phys_m

Google Summer Of Code 2014.

2014-02-24 Thread Bob Beck
The OpenBSD Foundation is pleased to announce that we have been accepted as a mentoring organization for Google Summer of Code 2014. As such if you are a student who qualifies to apply for GSOC, you will be able to find us in Google's Summer of Code Application process. We have an ideas page which

Re: ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug?

2014-02-24 Thread Stuart Henderson
It does for /bin/sh, which is why I suggested perl rather than "echo $(($(sysctl -n hw.physmem)/1024/1024))" which will work on 64-bit arch but not 32-bit. On 24 February 2014 23:49:08 GMT+00:00, Alexander Hall wrote: > > >On February 25, 2014 12:27:41 AM CET, Stuart Henderson > wrote: >>On 20

Re: ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug?

2014-02-24 Thread Alexander Hall
On February 25, 2014 12:27:41 AM CET, Stuart Henderson wrote: >On 2014-02-24, Fabian Raetz wrote: >> Hi misc@, >> >> while calculating my phys. memory (mb) with the >> folllowing shellsript i get as a result -424. >> >> sysctl -n hw.physmem returns 3849830400 >> >> >> #!/bin/sh >>

Re: ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug?

2014-02-24 Thread Stuart Henderson
On 2014-02-24, Fabian Raetz wrote: > Hi misc@, > > while calculating my phys. memory (mb) with the > folllowing shellsript i get as a result -424. > > sysctl -n hw.physmem returns 3849830400 > > > #!/bin/sh > > phys_mem_bytes=`sysctl -n hw.physmem` > phys_mem_mb=`expr $phys_mem_bytes

Re: ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug?

2014-02-24 Thread Robert Peichaer
On Mon, Feb 24, 2014 at 11:10:44PM +, Fred wrote: > On 02/24/14 22:32, Richard P??ttler wrote: > >On Mon, Feb 24, 2014 at 10:59 PM, Fabian Raetz > >wrote: > >>while calculating my phys. memory (mb) with the > >>folllowing shellsript i get as a result -424. > >> > >>sysctl -n hw.physmem return

Re: ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug?

2014-02-24 Thread Fred
On 02/24/14 22:32, Richard Pöttler wrote: On Mon, Feb 24, 2014 at 10:59 PM, Fabian Raetz wrote: while calculating my phys. memory (mb) with the folllowing shellsript i get as a result -424. sysctl -n hw.physmem returns 3849830400 #!/bin/sh phys_mem_bytes=`sysctl -n hw.physmem` p

Re: ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug?

2014-02-24 Thread Richard Pöttler
On Mon, Feb 24, 2014 at 10:59 PM, Fabian Raetz wrote: > while calculating my phys. memory (mb) with the > folllowing shellsript i get as a result -424. > > sysctl -n hw.physmem returns 3849830400 > > > #!/bin/sh > > phys_mem_bytes=`sysctl -n hw.physmem` > phys_mem_mb=`expr $phys_mem_b

Re: while trying to compile gettext 0.18.3.2 I see questionable messages

2014-02-24 Thread Ingo Schwarze
Hi Lorenzo, Lorenzo Beretta wrote on Mon, Feb 24, 2014 at 04:11:17PM +0100: > Funny thing is that according to > http://permalink.gmane.org/gmane.comp.lib.glibc.bugs/6277 the bug > was reported in 2003, but neither stpcpy(3) nor the info pages seem > to mention it -- Well, to be fair, - the li

ksh: expr 2147483648 / 2 = -1073741824 expected behavior or bug?

2014-02-24 Thread Fabian Raetz
Hi misc@, while calculating my phys. memory (mb) with the folllowing shellsript i get as a result -424. sysctl -n hw.physmem returns 3849830400 #!/bin/sh phys_mem_bytes=`sysctl -n hw.physmem` phys_mem_mb=`expr $phys_mem_bytes / 1024 / 1024` echo $phys_mem_mb -- so i tried

Re: OpenBSD on T61/T500

2014-02-24 Thread Jiri B
On Sun, Feb 23, 2014 at 07:27:31PM +, Dennis den Brok wrote: > Hello misc@, > > I am considering getting a ThinkPad T61 or T500 to run OpenBSD on. > My main concern is the noise level: I'd prefer the fan not to run > at all during text editing and web browsing. Can anyone comment > on that?

Re: OpenBSD on T61/T500

2014-02-24 Thread Jonathan Thornburg
Dennis den Brok asked: > I am considering getting a ThinkPad T61 or T500 to run OpenBSD on. > My main concern is the noise level: I'd prefer the fan not to run > at all during text editing and web browsing. Can anyone comment > on that? Are there other caveats? I have a T60 and a T60p (both 15.

Call for Participation, EuroBSDcon 2014: September 25-28 in Sofia, Bulgaria

2014-02-24 Thread Peter N. M. Hansteen
EuroBSDcon 2014: September 25-28 in Sofia, Bulgaria EuroBSDcon is the European technical conference for users and developers of BSD-based systems. The conference will take place September 25 to 28 at InterExpo Congress Center in Sofia (see http://iec.bg/en/). Tutorials will be held on thursday

Re: sysmerge trouble

2014-02-24 Thread Peter N. M. Hansteen
Ed Ahlsen-Girard writes: > sysmerge command line is: > > sysmerge > > which I have been using for a few years. As long as you have all the install sets in place, you can easily run sysmerge on a system with no source tree installed. For quite a while now I've tended to run something like this on

Re: sysmerge trouble

2014-02-24 Thread Philip Guenther
On Sun, Feb 23, 2014 at 1:45 PM, Ed Ahlsen-Girard wrote: > Took a while to submit this, but for the past ~ six weeks of snapshots > sysmerge fails thus: > > ERROR: failed to populate from /usr/src and create checksum file Six weeks ago was approximately when the /etc/signify/ directory was added.

Re: sysmerge trouble

2014-02-24 Thread Kenneth Westerback
On 24 February 2014 07:56, Ed Ahlsen-Girard wrote: > On 2014-02-24 "Shawn K. Quinn" wrote: > Date: 2014-02-24 10:49:03 > >> On Sun, Feb 23, 2014, at 03:45 PM, Ed Ahlsen-Girard wrote: >> > Took a while to submit this, but for the past ~ six weeks of >> > snapshots sysmerge fails thus: >> > >

Re: sysmerge trouble

2014-02-24 Thread Ed Ahlsen-Girard
On 2014-02-24 "Shawn K. Quinn" wrote: Date: 2014-02-24 10:49:03 > On Sun, Feb 23, 2014, at 03:45 PM, Ed Ahlsen-Girard wrote: > > Took a while to submit this, but for the past ~ six weeks of > > snapshots sysmerge fails thus: > > > > ERROR: failed to populate from /usr/src and create checks

Re: while trying to compile gettext 0.18.3.2 I see questionable messages

2014-02-24 Thread Lorenzo Beretta
On 02/23/2014 11:29 PM, Ingo Schwarze wrote: Hi Lorenzo, Lorenzo Beretta wrote on Sun, Feb 23, 2014 at 05:29:54PM +0100: d...@genunix.com wrote on Sun, Feb 23, 2014 at 08:54:34AM -0500: ../gnulib-lib/.libs/libgettextlib.so: warning: stpcpy() is dangerous GNU crap; don't use it Yet stpcpy(

Re: bge IPv6 TCP checksum broken

2014-02-24 Thread Brynet
On Mon, Feb 24, 2014 at 04:57:23PM +, Martin Brandenburg wrote: > Hello, > > I have this chip: > > bge0 at pci8 dev 0 function 0 "Broadcom BCM57765" rev 0x10, BCM57765 B0 > (0x57785100): msi, address a8:20:66:47:1f:8b > brgphy0 at bge0 phy 1: BCM57765 10/100/1000baseT PHY, rev. 4

bge IPv6 TCP checksum broken

2014-02-24 Thread Martin Brandenburg
Hello, I have this chip: bge0 at pci8 dev 0 function 0 "Broadcom BCM57765" rev 0x10, BCM57765 B0 (0x57785100): msi, address a8:20:66:47:1f:8b brgphy0 at bge0 phy 1: BCM57765 10/100/1000baseT PHY, rev. 4 TCP over IPv6 does not work under -current, but it does work if I comment ou

Re: More OpenBSD on Hacker News -- RBAC and jails anyone?

2014-02-24 Thread opendaddy
Thank you so much for the explanation guys. It makes perfect sense now. O.D. On 24. februar 2014 at 3:50 AM, "Nick Holland" wrote:On 02/23/14 21:09, openda...@hushmail.com wrote: > Hello, > > Got some more layman's questions here after reading > [url snipped] > >> > OpenBSD for security >> >>

Re: sysmerge trouble

2014-02-24 Thread Shawn K. Quinn
On Sun, Feb 23, 2014, at 03:45 PM, Ed Ahlsen-Girard wrote: > Took a while to submit this, but for the past ~ six weeks of snapshots > sysmerge fails thus: > > ERROR: failed to populate from /usr/src and create checksum file sysmerge works fine for me on amd64 sans the occasional incident of opera

sysmerge trouble

2014-02-24 Thread Ed Ahlsen-Girard
Took a while to submit this, but for the past ~ six weeks of snapshots sysmerge fails thus: ERROR: failed to populate from /usr/src and create checksum file dmesg below. -- Edward Ahlsen-Girard Ft Walton Beach, FL OpenBSD 5.5-beta (GENERIC.MP) #294: Fri Feb 21 13:57:47 MST 2014 dera...@am

Re: No audio

2014-02-24 Thread Zé Loff
> Playing music (e.g., via mpg123) and notice the audio goes > silent after a short while. stopping and restarting audio player > does not help. Restarting sndiod does not help either. > > However, in another tmux window, if cause an audible bell, > e.g., pressing tab at the start of a ksh prompt,

Re: packages on ftp.openbsd.org

2014-02-24 Thread Stefan Wollny
On Mon, 24 Feb 2014 09:19:27 + (UTC) Stuart Henderson wrote: > On 2014-02-24, Stefan Wollny wrote: > > On Mon, 24 Feb 2014 09:20:27 +0100 > > Antoine Jacoutot wrote: > > > >> On Mon, Feb 24, 2014 at 09:10:39AM +0100, Stefan Wollny wrote: > >> > Hi list, > >> > > >> > does anybody know why

Re: packages on ftp.openbsd.org

2014-02-24 Thread Stuart Henderson
On 2014-02-24, Stefan Wollny wrote: > On Mon, 24 Feb 2014 09:20:27 +0100 > Antoine Jacoutot wrote: > >> On Mon, Feb 24, 2014 at 09:10:39AM +0100, Stefan Wollny wrote: >> > Hi list, >> > >> > does anybody know why at present the packages on ftp.openbsd.org >> > (and others sync'd as well) ends wi

Re: packages on ftp.openbsd.org

2014-02-24 Thread Stefan Wollny
On Mon, 24 Feb 2014 09:20:27 +0100 Antoine Jacoutot wrote: > On Mon, Feb 24, 2014 at 09:10:39AM +0100, Stefan Wollny wrote: > > Hi list, > > > > does anybody know why at present the packages on ftp.openbsd.org > > (and others sync'd as well) ends with qt3-sqlite2 being the last > > entry? All ot

Re: NAT reliability in light of recent checksum changes

2014-02-24 Thread Henning Brauer
* Geoff Steckel [2014-01-28 03:20]: >It would be good if when data protected by a checksum is modified, > the current checksum is validated and some appropriate? guess what: that is exactly what happens. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services GmbH, http://bsws.

Re: NAT reliability in light of recent checksum changes

2014-02-24 Thread Henning Brauer
* Richard Procter [2014-01-25 20:41]: > On 22/01/2014, at 7:19 PM, Henning Brauer wrote: > > * Richard Procter [2014-01-22 06:44]: > >> This fundamentally weakens its usefulness, though: a correct > >> checksum now implies only that the payload likely matches > >> what the last NAT router happene

Re: packages on ftp.openbsd.org

2014-02-24 Thread Antoine Jacoutot
On Mon, Feb 24, 2014 at 09:10:39AM +0100, Stefan Wollny wrote: > Hi list, > > does anybody know why at present the packages on ftp.openbsd.org (and > others sync'd as well) ends with qt3-sqlite2 being the last entry? All > other packages following this entry are missing. > > Just curious. Things

Re: Trouble with rtorrent

2014-02-24 Thread David Coppa
On Mon, Feb 24, 2014 at 8:48 AM, Brett Mahar wrote: > On Sun, 23 Feb 2014 19:22:36 +0400 > Kirill wrote: > > | Hello! > | There is my trouble with rtorrent: > | after couple of seconds downloading it stops and begin write to disk (no > | writing while download). And again and again and again... >

packages on ftp.openbsd.org

2014-02-24 Thread Stefan Wollny
Hi list, does anybody know why at present the packages on ftp.openbsd.org (and others sync'd as well) ends with qt3-sqlite2 being the last entry? All other packages following this entry are missing. Just curious. Things happen ... Cheers, STEFAN