Re: [Toybox] abduco+dvtm tmux screen

2014-12-29 Thread Marc André Tanner
On Mon, Dec 29, 2014 at 03:12:03AM +, Jason Spiro wrote: Rob Landley rob@... wrote: I plan to implement vi over the next year, but it's one of the four realy big commands required by posix (sed, awk, sh, vi) and I've been debugging sed against real-world data for _weeks_ now. [...]

Re: [Toybox] [PATCH] optional fatter cat(1)

2014-12-29 Thread Marc André Tanner
On Mon, Dec 22, 2014 at 10:21:26PM -0600, Rob Landley wrote: On 12/21/14 17:42, enh wrote: On Sun, Dec 21, 2014 at 1:07 PM, James McMechan james_mcmec...@hotmail.com wrote: fortunately n-curses devolves tremendously when you don't try to support every terminal type under the sun

Re: [Toybox] [PATCH] optional fatter cat(1)

2014-12-29 Thread Roy Tam
2014-12-29 20:45 GMT+08:00 Marc André Tanner m...@brain-dump.org: On Mon, Dec 22, 2014 at 10:21:26PM -0600, Rob Landley wrote: On 12/21/14 17:42, enh wrote: On Sun, Dec 21, 2014 at 1:07 PM, James McMechan james_mcmec...@hotmail.com wrote: fortunately n-curses devolves tremendously when

Re: [Toybox] [PATCH] optional fatter cat(1)

2014-12-29 Thread dmccunney
On Mon, Dec 29, 2014 at 7:45 AM, Marc André Tanner m...@brain-dump.org wrote: I plan to implement vi over the next year I agree that there is a need for a clean vi(m) like editor. Based on my experience I got from writing my own work in progress clone[0], the problem is that while the basic

Re: [Toybox] [PATCH] fix newline on stdin for

2014-12-29 Thread Rob Landley
On 12/26/2014 04:36 PM, stephen Turner wrote: including list. On Fri, Dec 26, 2014 at 5:35 PM, stephen Turner stephen.n.tur...@gmail.com mailto:stephen.n.tur...@gmail.com wrote: speaking of which (and going back to simple is complex), i have an openssl- (or

Re: [Toybox] [PATCH] optional fatter cat(1)

2014-12-29 Thread dmccunney
On Mon, Dec 29, 2014 at 1:00 PM, Rich Felker dal...@libc.org wrote: On Mon, Dec 22, 2014 at 10:21:26PM -0600, Rob Landley wrote: I plan to implement vi over the next year, but it's one of the four realy big commands required by posix (sed, awk, sh, vi) and I've been debugging sed against

Re: [Toybox] [PATCH] fix newline on stdin for

2014-12-29 Thread stephen Turner
Forgot to include the list. On Mon, Dec 29, 2014 at 5:57 PM, stephen Turner stephen.n.tur...@gmail.com wrote: (I did about half the work once to make landley.net work with https and hit the I don't have root access on the server, how do I tell my ISP where to install a certificate and it

Re: [Toybox] [PATCH] optional fatter cat(1)

2014-12-29 Thread David Seikel
On Mon, 29 Dec 2014 16:10:07 -0500 dmccunney dennis.mccun...@gmail.com wrote: On Mon, Dec 29, 2014 at 1:00 PM, Rich Felker dal...@libc.org wrote: On Mon, Dec 22, 2014 at 10:21:26PM -0600, Rob Landley wrote: I plan to implement vi over the next year, but it's one of the four realy big

Re: [Toybox] [PATCH] optional fatter cat(1)

2014-12-29 Thread Roy Tam
2014-12-30 8:18 GMT+08:00 David Seikel onef...@gmail.com: On Mon, 29 Dec 2014 16:10:07 -0500 dmccunney dennis.mccun...@gmail.com wrote: On Mon, Dec 29, 2014 at 1:00 PM, Rich Felker dal...@libc.org wrote: On Mon, Dec 22, 2014 at 10:21:26PM -0600, Rob Landley wrote: I plan to implement vi

Re: [Toybox] Screen vs. tmux

2014-12-29 Thread Rob Landley
On 12/28/2014 09:12 PM, Jason Spiro wrote: Rob Landley rob@... wrote: I plan to implement vi over the next year, but it's one of the four realy big commands required by posix (sed, awk, sh, vi) and I've been debugging sed against real-world data for _weeks_ now. [...] There are some others

Re: [Toybox] abduco+dvtm tmux screen

2014-12-29 Thread Jason Spiro
Marc André Tanner mat@... wrote: In general I would like to see toybox focus on clean, POSIX compilant replacements of the basic utilities (thing core/find utils, sed, awk etc) instead of duplicating stuff like tmux. Agreed. The only reason why I mentioned tmux is because Rob mentioned[1],

[Toybox] [PATCH] mix: fix help and loop

2014-12-29 Thread Isaac Dunham
In the channel selection loop, if (TT.chan) had been combined with a strcmp; the else conditionals were premised on if (TT.chan) alone. The help text had been only partially updated for a couple option changes. --- toys/other/mix.c | 12 +++- 1 file changed, 7 insertions(+), 5

Re: [Toybox] [PATCH] fix newline on stdin for

2014-12-29 Thread Rob Landley
On 12/29/2014 04:58 PM, stephen Turner wrote: Forgot to include the list. On 12/29/2014 04:57 PM, stephen Turner wrote: (I did about half the work once to make landley.net http://landley.net work with https and hit the I don't have root access on the server, how do I tell my ISP

Re: [Toybox] [PATCH] fix newline on stdin for

2014-12-29 Thread Isaac Dunham
On Mon, Dec 29, 2014 at 08:22:32PM -0600, Rob Landley wrote: On 12/29/2014 04:58 PM, stephen Turner wrote: Also about your todo list, i heard that mawk was fastest among awks but sadly its gpl2 so not sure if you could preserve the code/structure that makes it fast but i'm hoping. If its

Re: [Toybox] [PATCH] fix newline on stdin for

2014-12-29 Thread stephen Turner
On Mon, Dec 29, 2014 at 11:09 PM, Isaac Dunham ibid...@gmail.com wrote: On Mon, Dec 29, 2014 at 08:22:32PM -0600, Rob Landley wrote: On 12/29/2014 04:58 PM, stephen Turner wrote: Also about your todo list, i heard that mawk was fastest among awks but sadly its gpl2 so not sure if you

Re: [Toybox] abduco+dvtm tmux screen

2014-12-29 Thread stephen Turner
In general I would like to see toybox focus on clean, POSIX compilant replacements of the basic utilities (thing core/find utils, sed, awk etc) instead of duplicating stuff like tmux. I agree this is best, atleast for 1.0 Agreed. The only reason why I mentioned tmux is because

Re: [Toybox] Screen vs. tmux

2014-12-29 Thread Rich Felker
On Tue, Dec 30, 2014 at 04:04:42AM +, Jason Spiro wrote: But before I could deal with THAT today I tried to swap in the linux 3.18 kernel in aboriginal and build i686 and SOMEBODY ADDED PERL BACK as a build preprequisite. (I literally spent YEARS getting that removed last time, and

[Toybox] Patches for basename, blkid, cat, and cp

2014-12-29 Thread Samuel Holland
Hello, I've started working through the test suite trying to expand it and fix where commands are failing. Here's what I've got so far for basename, blkid, cat, and cp. The cp test rewrite was done a few months ago, and looking at it now it seems a bit dense. I was trying to minimize the number

[Toybox] [PATCH] add -r to unshare

2014-12-29 Thread Isaac Dunham
unshare -r runs a command in a new PID namespace where the user is root. unshare -r COMMAND ... will run COMMAND ... in a new PID namespace that makes the current user uid 0 and gid 0. geteuid()/getegid() will return (short)-1 or something similar if called after unshare(), notwithstanding the