tmux: handle C-w in copy mode search prompt

2014-11-03 Thread Theo Buehler
The editing facilities in the search prompt in tmux's copy mode are kept to a minimum. However, since deleting to the beginning of the prompt with `C-u' and deleting the previous letter with `C-h' work as usual, I would have expected that `C-w' would work as well and delete to the beginning of

Re: mg(1) and no-tab-mode

2014-11-03 Thread Jason McIntyre
On Mon, Nov 03, 2014 at 02:08:33PM +0200, Kaspars Bankovskis wrote: Hi, I was just mislead by mg(1) manpage, which mentions no-tab-mode as an available command. But you get it only if you look at source and manually compile with -DNOTAB. Last time the topic was touched here:

Re: deobfuscate disk subr gpt

2014-11-03 Thread Ted Unangst
On Sat, Nov 01, 2014 at 22:45, Ted Unangst wrote: Pull out a few common subexpressions. I think this makes the code easier to read. Some byte swaps are left, when they are only used once. Then use mallocarray for bounds checking. Also observe the following: + if (ghsize

important canfield(6) diff

2014-11-03 Thread Ted Unangst
Use knuth shuffle instead of silly shuffle. Index: canfield.c === RCS file: /cvs/src/games/canfield/canfield/canfield.c,v retrieving revision 1.13 diff -u -p -r1.13 canfield.c --- canfield.c 29 Aug 2013 20:22:11 - 1.13 +++

Re: remove audio support in linux emulation

2014-11-03 Thread Paul Irofti
On Fri, Oct 31, 2014 at 08:00:53PM +0100, Alexandre Ratchov wrote: I believe there are no recent binary-only programs that could use audio in linux emulation. I couldn't find a single example, and there are no examples in replies to my e-mail to misc@:

major improvements to bcd

2014-11-03 Thread Ted Unangst
First, don't truncate long lines (at least when read from stdin). Continue printing more cards as necessary. Second, this fixes a crash on invalid input. Now you can generate a series of random cards by running cat /dev/random | bcd Index: bcd.c

Re: socket splicing thread

2014-11-03 Thread Alexander Bluhm
On Thu, Oct 30, 2014 at 09:55:35PM -0400, Ted Unangst wrote: On Thu, Oct 30, 2014 at 22:10, Alexander Bluhm wrote: + + /* Avoid user land starvation. */ + yield(); I think this is the responsibility of the taskq thread, not the individual task. I am not sure about this. Without an

ECDSA - GOST support in LibreSSL

2014-11-03 Thread rozhuk . im
Hi! I have a working code for DSA - GOST and ECDSA. Differences between GOST and ECDSA minimal. Could you add support GOST LibreSSL. I can help as much. http://netlab.linkpc.net/download/software/SDK/core/include/ecdsa.h

use siphash for in_pcb hash key lookups

2014-11-03 Thread David Gwynne
this uses siphash to protect the in_pcb hashes. this is pretty much a textbook example of what siphash should be used for. tests? ok? Index: conf/files === RCS file: /cvs/src/sys/conf/files,v retrieving revision 1.583 diff -u -p

Re: socket splicing thread

2014-11-03 Thread David Gwynne
On 4 Nov 2014, at 09:50, Alexander Bluhm alexander.bl...@gmx.net wrote: On Thu, Oct 30, 2014 at 09:55:35PM -0400, Ted Unangst wrote: On Thu, Oct 30, 2014 at 22:10, Alexander Bluhm wrote: + + /* Avoid user land starvation. */ + yield(); I think this is the responsibility of the