Re: dd(1) human-readable output

2011-08-23 Thread Grumpy
> This is going to break atleast 3 scripts that get run periodically > on all of my development machines, while I'm happy with adjusting > them (this change would make them smaller actually) I'm unsure if > we want to throw this into the wild, since this output behaviour > is _old_. That's the po

Re: dd(1) human-readable output

2011-08-23 Thread Thordur Bjornsson
On 2011 Aug 23 (Tue) at 20:48:09 +0200 (+0200), Thomas Pfaff wrote: > This patch makes dd(1) output change from e.g. > > $ dd if=/dev/sd0c of=/dev/null bs=512 count=16000 > 16000+0 records in > 16000+0 records out > 8192000 bytes transferred in 3.002 secs (2728488 bytes/sec

dd(1) human-readable output

2011-08-23 Thread Thomas Pfaff
This patch makes dd(1) output change from e.g. $ dd if=/dev/sd0c of=/dev/null bs=512 count=16000 16000+0 records in 16000+0 records out 8192000 bytes transferred in 3.002 secs (2728488 bytes/sec) to $ obj/dd if=/dev/sd0c of=/dev/null bs=512 count=16000 16000+0 records in

Re: Dired diff

2011-08-23 Thread Nima Hoda
On Tue, Aug 23, 2011 at 08:47:12PM +0400, Loganaden Velvindron wrote: > I'm over-stretching it, but on -current this compiles > with warnings :-D > > Can you test this diff and report on tech@ please :-) ? Works fine and compiles without warnings. I tested on 4.8/amd64 and on current/loongson.

Re: [PATCH] dired mg patch

2011-08-23 Thread Loganaden Velvindron
Hi, Jasper@ noticed warnings when compiling on -current. This should fix it. Index: dired.c === RCS file: /cvs/src/usr.bin/mg/dired.c,v retrieving revision 1.48 diff -u -p -r1.48 dired.c --- dired.c 23 Jan 2011 00:45:03 -

keyboard don't resume after suspend

2011-08-23 Thread Jerrin
Hi All, keyboard on my laptop don't resume after a suspend using ( apm -z or apm -S ) . Everything else works back after suspend. Any workarounds? Attaching the dmesg OpenBSD 5.0 (GENERIC) #43: Wed Aug 17 10:10:52 MDT 2011 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0:

src/usr.bin/at build broken

2011-08-23 Thread Nima Hoda
Hello: The last revision to src/usr.sbin/cron/macros.h removed some custom macros (OK_EXIT, ERROR_EXIT) that src/usr.bin/at/at.c relies on. Here's a patch that moves at.c to the standard ones (EXIT_FAILURE, EXIT_SUCCESS). Cheers, -Nima -- The pudding is in the proof. Index: at.c ==