Re: [dev] Special target ".POSIX" in Makefiles

2022-01-01 Thread Ralph Eastwood
at 20:10, Mattias Andrée wrote: > .c.linux-amd64-o: > $(CC) -c -o $@ $< $(CFLAGS_LINUX_AMD64) $(CPPFLAGS_LINUX_AMD64) > > .c.openbsd-amd64-o: > $(CC) -c -o $@ $< $(CFLAGS_OPENBSD_AMD64) $(CPPFLAGS_OPENBSD_AMD64) Those are both useful suggestions! Thank you! -

Re: [dev] Special target ".POSIX" in Makefiles

2022-01-01 Thread Ralph Eastwood
ep, and that platform (or generally configuration) specific building should be done in an external step (be it a shell script or some overly-sophisticated CI [another topic]). An alternative could be a script or even make step that can 'save' and 'restore the build state of a particular platform into the 'obj/$(TARGET)' directory. Best regards, Ralph -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev] Special target ".POSIX" in Makefiles

2022-01-01 Thread Ralph Eastwood
; -o $@ Perhaps just listing all of the object files and source + dependencies would be the easiest way in this instance? Best regards, Ralph -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: Re: [dev] oasis: small linux system inspired by stali

2017-03-29 Thread Ralph Eastwood
ms it's achievable with (GNU?) make but with significantly more headache [2]. [0] http://gittup.org/tup/ex_a_first_tupfile.html [1] https://ninja-build.org/manual.html#ref_headers [2] http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/#basic -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev] [vis] ui separation and mainloop considerations

2015-04-05 Thread Ralph Eastwood
about the area could compare libev/libuv concerning functionality vs sucklessness. -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev] [sbase][PATCH] Add col command

2015-03-03 Thread Ralph Eastwood
per Plan 9. > mcol(1) sounds good - looking up synonyms gave me 'cavalcade' and other similarly bad alternatives. -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev] [sbase] [PATCH] ls -R support

2015-02-21 Thread Ralph Eastwood
Updates README. On 21 February 2015 at 10:56, Ralph Eastwood wrote: > Attached; add support for the ls -R flag without column support. > > The patch updates usage flags and man page but not README. > > -- > Tai Chi Minh Ralph Eastwood > tcmreastw...@gmail.com -- Tai Ch

[dev] [sbase] [PATCH] ls -R support

2015-02-21 Thread Ralph Eastwood
Attached; add support for the ls -R flag without column support. The patch updates usage flags and man page but not README. -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com 0001-ls-add-support-for-R-flag.patch Description: Binary data

[dev] [sbase] [PATCH] Update chgrp and chown manpages for -h

2015-02-16 Thread Ralph Eastwood
Attached. -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com 0001-Update-the-manpages-of-chgrp-and-chown-for-h.patch Description: Binary data

[dev] [sbase] [PATCH] Update usage of chown, chgrp, du and cp

2015-02-16 Thread Ralph Eastwood
Attached. -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com 0001-Update-usage-flags-of-chgrp-chown-du-and.patch Description: Binary data

Re: [dev] Suckless web rendering engine

2015-02-15 Thread Ralph Eastwood
On 15 February 2015 at 19:02, Calvin Morrison wrote: > check out dillo > > On 15 February 2015 at 13:52, Ralph Eastwood wrote: >> On 15 February 2015 at 18:23, Marc Weber wrote: >>> http://www.netsurf-browser.org/ could be close. >>> also have a look at: ht

Re: [dev] Suckless web rendering engine

2015-02-15 Thread Ralph Eastwood
source code/design) etc. It is by far more suckless than any other implementation I've come across. -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev] [sbase] [PATCH] ls fallback if ioctl does not work

2015-02-15 Thread Ralph Eastwood
ort COLUMNS; ls -C; This wouldn't work - cheers though, life would be more convenient if it were! -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

[dev] [sbase] [PATCH] Updated chown, chgrp symlink dereferenncing -[HLP] patches

2015-02-15 Thread Ralph Eastwood
I've updated the patches for chown and chgrp to reflect the new lchown/lchgrp functions. -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com From d6bab3f610f1626854e4075e38a3635423121c31 Mon Sep 17 00:00:00 2001 From: Tai Chi Minh Ralph Eastwood Date: Mon, 9 Feb 2015 19:53:24 + Su

Re: [dev] [ls] [PATCH] ls implementation or -R -C -q -u (WIP: please help test)

2015-02-15 Thread Ralph Eastwood
patchset rebased onto HEAD. -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com From a5b63e2e041d64a332cec73203ec460d950289b6 Mon Sep 17 00:00:00 2001 From: Tai Chi Minh Ralph Eastwood Date: Thu, 12 Feb 2015 15:03:31 + Subject: [PATCH 1/4] ls: fix using strcoll instead of strcmp --- ls

Re: [dev] [ls] [PATCH] ls implementation or -R -C -q -u (WIP: please help test)

2015-02-15 Thread Ralph Eastwood
s patch works (it needs cleaning > though). > Thank you! You caught it just as FRIGN did! I'm cleaning my patch a bit and it does work as expected too. Will reply with new patches shortly. Cheers, Ralph -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

[dev] [sbase] [PATCH] ls fallback if ioctl does not work

2015-02-15 Thread Ralph Eastwood
Ralph Eastwood tcmreastw...@gmail.com From 6acec3c8e42a8fe81b8784cddd3c09af6485babc Mon Sep 17 00:00:00 2001 From: Tai Chi Minh Ralph Eastwood Date: Sun, 15 Feb 2015 14:38:01 + Subject: [PATCH 4/4] ls: add fallback if ioctl does not work --- ls.c | 10 ++ 1 file changed, 6 insertions(

[dev] [ls] [PATCH] ls implementation or -R -C -q -u (WIP: please help test)

2015-02-15 Thread Ralph Eastwood
ut. ls -q replaces non printable characters with '?'; I'm not sure how to make files with non-printable characters as yet, all I know is this code path works with input that does not have non-printable characters. Let me know how this works for you. Cheers, Ralph -- Tai Chi Minh

[dev] [sbase] [PATCH] uudecode: fix error messages...

2015-02-15 Thread Ralph Eastwood
If the input file has no filename specified, give an error message. Also make sure all error messages have newlines. Thanks Evil_Bob for noticing the acceptance of invalid, null filename case! Cheers, Ralph -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com From

Re: [dev] [sbase] [PATCH] uuencode base64 encoding/decoding and stdout output for uudecode

2015-02-13 Thread Ralph Eastwood
http://git.musl-libc.org/cgit/libc-testsuite/ > That is true, most of sbase is at the lower end of the scale complexity and probably doesn't need a full test suite. Anyways, I'll let Dimitris get back to understanding my code on this one! :) -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev] [sbase] [PATCH] uuencode base64 encoding/decoding and stdout output for uudecode

2015-02-13 Thread Ralph Eastwood
On 13 February 2015 at 09:12, FRIGN wrote: > On Wed, 11 Feb 2015 13:43:06 + > Ralph Eastwood wrote: > > Hey Ralph, > >> Attached is another patch for uudecode which I think works properly >> now *cross fingers*. > > can we trust this code? Don't se

[dev] [sbase] [PATCH] uniq [input [output]] support

2015-02-11 Thread Ralph Eastwood
Attached to probably complete uniq functionality to POSIX-2008? From 0025ad0d56cae46275bfec1d9fe61f82e6ec5eb5 Mon Sep 17 00:00:00 2001 From: Tai Chi Minh Ralph Eastwood Date: Wed, 11 Feb 2015 15:18:10 + Subject: [PATCH 2/2] uniq.1: add [input [output]] information --- uniq.1 | 20

Re: [dev] [sbase] [PATCH] uuencode base64 encoding/decoding and stdout output for uudecode

2015-02-11 Thread Ralph Eastwood
On 10 February 2015 at 19:45, Ralph Eastwood wrote: > On 10 February 2015 at 19:23, Ralph Eastwood wrote: >> >> Hi, >> >> Attached patch gives support for uuencode -m, base64 encoding and decoding >> in uudecode. >> Flag, -o, added so that uudecode can out

Re: [dev] [sbase] [PATCH] readlink: add -m and -f flags

2015-02-11 Thread Ralph Eastwood
On 11 February 2015 at 10:58, Dimitris Papastamos wrote: > > Hi, > > Applied your patches, thanks! Can you send separate patches > to update the program usage + manpages for the options that you added? > I missed that initially. > I can do the manpages. I just noticed that my commit message sa

[dev] [sbase] [PATCH] uniq: add ascii implementation of -s and -f flags

2015-02-11 Thread Ralph Eastwood
From d2a69b69cffb30dcbf4d6c2ef874ac5263d71d1c Mon Sep 17 00:00:00 2001 From: Tai Chi Minh Ralph Eastwood Date: Wed, 11 Feb 2015 06:02:54 + Subject: [PATCH] uniq: add ascii implementation of -f and -s flags --- uniq.c | 35 --- 1 file changed, 32 insertions

[dev] [sbase] [PATCH] readlink: add -m and -f flags

2015-02-11 Thread Ralph Eastwood
As stated in the title. Cheers, Ralph From b141c652d8a71b4bbdf59e61fee175ccfbeaf50b Mon Sep 17 00:00:00 2001 From: Tai Chi Minh Ralph Eastwood Date: Wed, 11 Feb 2015 08:55:17 + Subject: [PATCH] readlink: add -m and -f flags --- readlink.c | 68

Re: [dev] [sbase] [PATCH] uuencode base64 encoding/decoding and stdout output for uudecode

2015-02-10 Thread Ralph Eastwood
On 10 February 2015 at 19:23, Ralph Eastwood wrote: > Hi, > > Attached patch gives support for uuencode -m, base64 encoding and decoding > in uudecode. > Flag, -o, added so that uudecode can output to stdout to override the > output in encoded files. > > uudecode -m is ac

[dev] [sbase] [PATCH] uuencode base64 encoding/decoding and stdout output for uudecode

2015-02-10 Thread Ralph Eastwood
. Cheers, Ralph From 74eb1a63aca246f471ab960075bec9da5b1054c0 Mon Sep 17 00:00:00 2001 From: Tai Chi Minh Ralph Eastwood Date: Tue, 10 Feb 2015 19:14:27 + Subject: [PATCH] uuencode: add support for base64 and -o to stdout --- uudecode.c | 132

[dev] [sbase] [PATCH] Symlink derefencing for chgrp, chown, cp, du, tar

2015-02-09 Thread Ralph Eastwood
relates to the, as yet, unimplemented -h flag. Cheers, Ralph From 912441f70fac4dafb7babadcfd2f028e80a42b2d Mon Sep 17 00:00:00 2001 From: Tai Chi Minh Ralph Eastwood Date: Mon, 9 Feb 2015 22:22:32 + Subject: [PATCH 8/8] du.1: add symlink dereferencing flags to manpage --- du.1 | 7 +

Re: [dev] rebooting the web (it was: surf rewrite for WebKit2GTK)

2014-10-29 Thread Ralph Eastwood
tailored per site, although not necessarily difficult for a programmer, will suffer difficulty of handling the sheer quantity of the web already out there and the suckiness of the approach. Cheers, Ralph -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev] rebooting the web (it was: surf rewrite for WebKit2GTK)

2014-10-29 Thread Ralph Eastwood
is probably the best tool what that job if it boils down to it. If web applications had to be thrown in my current model, I would allocate web applications to become another media attachment to the page. Can we coin a handy name for the web-reboot future discussions? Something along the lines of 'sweb'. -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev][sbase] Proposal of suckless compression

2014-09-24 Thread Ralph Eastwood
at ".txz" tarballs are not a norm yet. The introduction of bzip2 and xz always surprised me. Perhaps the authors of those formats were the only ones that approached GNU to have them included. -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev][sbase] Proposal of suckless compression

2014-09-24 Thread Ralph Eastwood
/wiki/Gzip -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev][sbase] Proposal of suckless compression

2014-09-24 Thread Ralph Eastwood
On 24 September 2014 13:14, Dmitrij D. Czarkoff wrote: > And there is. Check "-Z" option in the manual of you tar. GNU tar has the option, but also searches for the 'compress' binary, which isn't always installed by default. -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev][sbase] Proposal of suckless compression

2014-09-24 Thread Ralph Eastwood
coding in < 100 lines. The stream format can be quite simple: MAGIC|===DATA===|EOS|MD5SUM [0] http://git.suckless.org/sbase/plain/tar.c [1] https://github.com/rygorous/ryg_rans -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev][sbase] Proposal of suckless compression

2014-09-23 Thread Ralph Eastwood
ulness, this compression scheme would be a nice addition for suckless based tools to use e.g. package manager etc. Use outside of suckless is harder to gauge; there are a lot of compression methods out there. On 24 September 2014 01:29, Dmitrij D. Czarkoff wrote: > Ralph Eastwood said: >&

[dev][sbase] Proposal of suckless compression

2014-09-23 Thread Ralph Eastwood
, but would it be of interest to be included in sbase or is it beyond the scope of the collection of utilities? Cheers, Ralph -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev] Re: [RFC] Design of a vim like text editor

2014-09-17 Thread Ralph Eastwood
ght myself x86 assembly programming before C - that made pointers no mystery to me at all (I've heard many folks complain bitterly about not understanding pointers). -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev] [RFC] Design of a vim like text editor

2014-09-16 Thread Ralph Eastwood
Apologies, I need a better mail client. On 17 September 2014 07:39, Ralph Eastwood wrote: > Maxime Coste wrote: >> That last one is by far the most interesting, Bartos being very familliar >> with >> C++. Note that its not C that is advocated, but haskell... > >

Re: [dev] [RFC] Design of a vim like text editor

2014-09-16 Thread Ralph Eastwood
f (and so on) could somehow provide a clean systems language without feature bloat. For instance in C (yes C), I can immediately think of 6 different recursive mechanisms/keywords... is that many necessary??? [1] http://en.wikipedia.org/wiki/X_Macro [2] http://frama-c.com/ Cheers -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev] [RFC] Design of a vim like text editor

2014-09-16 Thread Ralph Eastwood
s perfectly adequate as the main operations are to do with text and you don't really need to worry about a lot of abstractions. -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev] [sandy] [PATCH] VIM key bindings.

2014-07-09 Thread Ralph Eastwood
ssion). I was working on a simpler ncurses, but I've neglected it recently. If that comes to fruition, I will like to make a suckless editor based on that. [1] http://invisible-island.net/ncurses/man/ncurses.3x.html -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com

Re: [dev] [st] mouse up scrolling not working in vim through tmux in st

2014-05-31 Thread Ralph Eastwood
rceforge.net/p/tmux/tickets/128/ > [3] http://invisible-island.net/vttest/vttest.html > > -- > Balazs > -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com diff -r 7adbbf32444e src/term.c --- a/src/term.c Thu Nov 21 18:13:38 2013 +0100 +++ b/src/term.c Sun Jun 01 06:02:51 2014

Re: [dev] [sic] [patch] const-correctness and formalities

2013-08-22 Thread Ralph Eastwood
is if you were doing some form of design-by-contract. However, in that case I'd suggest that C isn't the right language to use if that was the intention. Cheers, Ralph -- Tai Chi Minh Ralph Eastwood tcmreastw...@gmail.com