[dev] [sbase] [patch v3] Add md5sum

2013-06-20 Thread stateless
Added LICENSE.lpl as well and updated the license and copyright details for the md5 code. Thanks, stateless 0001-Add-md5sum.patch Description: Binary data

[dev] [sbase] [patch v2] Add md5sum

2013-06-19 Thread stateless
Hi, This is a version of md5sum(1) using the md5 routines from 9base - slightly adapted to compile. Thanks, stateless 0001-Add-md5sum.patch Description: Binary data

[dev] [sbase] [patch] Add md5sum

2013-06-19 Thread stateless
Hi, Added md5sum(1) - using the OpenBSD md5.[ch] - Let me know if this makes sense. Thanks, stateless 0001-Add-md5sum.patch Description: Binary data

[dev] [sbase] [patch v2] Add expand(1)

2013-06-18 Thread stateless
Hi, Squashed the two other patches together. Thanks, stateless 0001-Add-expand-1.patch Description: Binary data

[dev] [sbase] [patch] Add comm

2013-06-18 Thread stateless
Hi all, Implemented comm(1). I have not tested this very thoroughly so take it with a grain of salt. Thanks, stateless 0001-Add-comm.patch Description: Binary data

[dev] [sbase] [patch] Implement -t n for expand

2013-06-17 Thread stateless
Hi, Can only handle a single numerical argument. Thanks, stateless 0001-Implement-t-n-for-expand.patch Description: Binary data

[dev] [sbase] [patch] Remove unnecessary exit(1) in usage()

2013-06-17 Thread stateless
Just a cleanup patch. 0001-Remove-unnecessary-exit-1-in-usage.patch Description: Binary data

[dev] [sbase] [patch] Add primitive expand(1)

2013-06-17 Thread stateless
Hi, Implemented expand(1) - no support for -t at the moment. The in/out routines might be useful on their own (paste.c also uses them) - so we can perhaps put them in util/? Thanks, stateless 0001-Add-primitive-expand-1.patch Description: Binary data

[dev] [sbase] [patch v2] add readlink

2013-06-15 Thread stateless
Hi, Messed up the usage line. Attached again. 0001-Add-readlink.patch Description: Binary data

[dev] [sbase] [patch] add readlink

2013-06-15 Thread stateless
Added readlink support. Let me know of any issues. 0001-Add-readlink.patch Description: Binary data

Re: [dev] sbase TODO patch

2012-02-10 Thread stateless
On Thu, Feb 9, 2012 at 1:55 PM, Galos, David wrote: > Hilarious. I particularly liked the way you needlessly reinvented > getenv(), and pointlessly used getopt() in printenv. Heh, true. The use of getopt() was mainly for adding support for -0 in printenv. Although that's probably useless anyway

Re: [dev] sbase TODO patch

2012-02-09 Thread stateless
Hi all, Implemented yes(1), sync(1) and printenv(1). Source is attached, haven't had time to write the manpage yet. Cheers, stateless /* See LICENSE file for copyright and license details. */ #include #include #include #include int main(int argc, char *argv[]) { int i; char *p;

Re: [dev] Re: sbase

2011-06-09 Thread stateless
No worries Rob! :)

Re: [dev] Re: sbase

2011-06-09 Thread stateless
Arrgh fucking gmail. /* See LICENSE file for copyright and license details. */ #include #include #include #include #include #include "util.h" static bool lflag = false; static bool sflag = false; int main(int argc, char *argv[]) { FILE *fp0, *fp1; int c; int line, byte; int ch0, ch1; in

Re: [dev] Re: sbase

2011-06-09 Thread stateless
Small update, attached cmd.c and cmd.1. /* See LICENSE file for copyright and license details. */ #include #include #include #include #include #include "util.h" static bool lflag = false; static bool sflag = false; int main(int argc, char *argv[]) { FILE *fp0, *fp1; int c; int line, byte;

Re: [dev] Re: sbase

2011-06-09 Thread stateless
Hi, Just to be on the same page and we don't start working on the same tools. I'll look into implementing id, kill and comm. Thanks, stateless

Re: [dev] Re: sbase

2011-06-09 Thread stateless
Attached cmp.c and cmp.1. /* See LICENSE file for copyright and license details. */ #include #include #include #include #include #include "util.h" static bool lflag = false; static bool sflag = false; int main(int argc, char *argv[]) { FILE *fp0, *fp1; int c; int line, byte; int ch0, ch1

Re: [dev] sbase

2011-05-23 Thread stateless
Added pwd. pwd.1 Description: Binary data /* See LICENSE file for copyright and license details. */ #include #include #include #include "util.h" int main(void) { char *buf, *p; long pathsize; pathsize = pathconf(".", _PC_PATH_MAX); if (pathsize < 0) pathsize = BUFSIZ; buf = malloc(pat

Re: [dev] skvm bug and question

2010-02-11 Thread stateless
Hi, Try to pull the tip.

Re: [dev] Fwd: skvm bug and question

2010-02-09 Thread stateless
Hi, Could you run it through valgrind and attach the output? You can also run it under gdb and see where it fails. thx On Tue, Feb 9, 2010 at 4:49 PM, Jonas H. wrote: > On 02/08/2010 06:04 PM, stateless wrote: >> >> How exactly did you execute skvm? > > $ skvm --help

Re: [dev] Fwd: skvm bug and question

2010-02-08 Thread stateless
On Sun, Feb 7, 2010 at 10:21 PM, Jonas H. wrote: > Hi there, > > when calling skvm with --help parameters, it crashes with a segmentation > fault. I think a program shouldn't crash when calling with "too long" > parameters. > > Question: Can I configure skvm to mount devices as $user, so that I >