Re: ksh history bug

2014-08-14 Thread Jared Yanovich
On Wed, Aug 13, 2014 at 07:41:08PM +0100, Jason McIntyre wrote: > the only thing i have to compare it with is bash: By no means comprehensive but: these appear to not include the current command: zsh FreeBSD ash these appear to include the current command: AT&T k

ssh man page additions for unix domain socket forwarding

2014-08-12 Thread Jared Yanovich
It might be desired to change some of the usage strings as well. Index: ssh.1 === RCS file: /cvs/src/usr.bin/ssh/ssh.1,v retrieving revision 1.348 diff -u -p -r1.348 ssh.1 --- ssh.1 24 Jul 2014 22:57:10 - 1.348 +++ ssh.

enable forwarding to remote named sockets in ssh

2014-08-08 Thread Jared Yanovich
I cannot forward to a socket on the remote host ("No forward host name."). Example: ssh -L 12345:/tmp/sock Index: channels.c === RCS file: /cvs/src/usr.bin/ssh/channels.c,v retrieving revision 1.336 diff -u -p -r1.336 channels.c -

Re: sort(1) updates

2014-07-05 Thread Jared Yanovich
On Wed, Jul 02, 2014 at 12:45:04PM -0400, Jared Yanovich wrote: > Index: fsort.c If this patch is accepted it should include the NetBSD copyright I forgot to include. There's more to be done here, such as: $ { echo 0;\ echo 0.01; \ } | sort -n Alternatively we co

Re: sort(1) updates

2014-07-02 Thread Jared Yanovich
On Wed, Jul 02, 2014 at 04:37:05PM +0200, Otto Moerbeek wrote: > > > Op 2 jul. 2014 om 15:03 heeft Jared Yanovich het > > volgende geschreven: > > > >> On Wed, Jul 02, 2014 at 12:37:53PM +0200, Otto Moerbeek wrote: > >> > >> On Tue, Jul 01

Re: sort(1) updates

2014-07-02 Thread Jared Yanovich
On Wed, Jul 02, 2014 at 12:37:53PM +0200, Otto Moerbeek wrote: > On Tue, Jul 01, 2014 at 03:56:39PM -0400, Jared Yanovich wrote: > > This works better indeed. But is initing the int member only safe? If > sizeof(top) < sizeof(names), only init some bits of the pointer. To be safe

Re: sort(1) updates

2014-07-01 Thread Jared Yanovich
On Mon, Jun 30, 2014 at 11:53:04AM +0200, Otto Moerbeek wrote: > This indeed solves some problems, but I have a test file on which it cores. Patch relative to the original diff I posted. diff -ru sort.new/fsort.c sort.new2/fsort.c --- sort.new/fsort.cTue Jul 1 15:54:45 2014 +++ sort.new2/fs

sort(1) updates

2014-06-29 Thread Jared Yanovich
Hi, sort(1) does some funky things and isn't hard to break: $ perl -e 'print "\n"x117000,"x\n"' | sort | sort -c This patch contains a few changes from NetBSD to correct the behavior regarding ordering of appending bins to output in certain circumstances which helps pass more of our own regres

ksh file completion with quotes

2014-06-23 Thread Jared Yanovich
Hi, This patch adds some intelligence to emacs mode filename completion when dealing with quotes in ksh. Example: $ ls '/boo $ ls 'boot becomes: $ ls 'boot' Index: emacs.c === RCS file: /cvs/src/bin/ksh

getdents(2) corrections

2013-11-29 Thread Jared Yanovich
Perhaps 'basep' was from an earlier proposed getdents interface but I'm not sure what it references now... Index: getdents.2 === RCS file: /cvs/src/lib/libc/sys/getdents.2,v retrieving revision 1.1 diff -u -p -r1.1 getdents.2 --- getd

Re: find -size postfixes

2012-11-04 Thread Jared Yanovich
On Sun, Nov 04, 2012 at 01:53:50PM -0500, Jared Yanovich wrote: > On Sun, Nov 04, 2012 at 08:08:14AM -0500, Ian Darwin wrote: > > > I like the idea of this change. Just curious - did you choose to ignore scan_scaled(3)? > > Yes I'm quite rusty. I'll repost it when af

Re: find -size postfixes

2012-11-04 Thread Jared Yanovich
On Sun, Nov 04, 2012 at 08:08:14AM -0500, Ian Darwin wrote: > I like the idea of this change. Just curious - did you choose to ignore > scan_scaled(3)? Yes I'm quite rusty. I'll repost it when after I have time to test with that. [demime 1.01d removed an attachment of type application/pgp-sign

find -size postfixes

2012-11-04 Thread Jared Yanovich
Hi, The following patch recognizes alternative postfixes to find(1) -size. Index: find.1 === RCS file: /cvs/src/usr.bin/find/find.1,v retrieving revision 1.85 diff -u -p -r1.85 find.1 --- find.1 5 Jan 2012 13:16:10 - 1