Re: [dev] [sw] Suckless web-framework

2010-04-05 Thread Anthony J. Bentley
reminds me -- has anyone used hubbub? I'd love an excuse to make a project with it. --Anthony J. Bentley

Re: [dev] Re: stali and OpenBSD userland etc.

2010-04-10 Thread Anthony J. Bentley
On Sat, Apr 10, 2010 at 06:26:12PM +0200, finkler wrote: > What is missing in OBSD: > base64 It's not quite the same, but OpenBSD does have b64encode/b64decode. Part of uuencode I believe. --Anthony J. Bentley

[dev] st on OpenBSD?

2010-08-22 Thread Anthony J. Bentley
Hi guys, I am interested in using st on OpenBSD, but it does not compile since OpenBSD does not implement posix_openpt et al: st.c: In function 'ttynew': st.c:243: warning: implicit declaration of function 'posix_openpt' st.c:245: warning: implicit declaration of function 'grantpt' st.c:247: warn

Re: [dev] Stripping html from email

2010-08-23 Thread Anthony J. Bentley
> Is there currently a tool or script that I can use to strip html > from emails? Basically, it should work like this: > > - Read the message from stdin > - If there is no html, leave as is > - If it finds both html and plain text, strip the html attachment > - If it finds html but no plain text,

Re: [dev] browser flash videos and mpeg plugins

2011-02-26 Thread Anthony J. Bentley
> Hi! > Have a look at cclive, which support most of sites : > http://cclive.sourceforge.net/ Similarly, get_flash_videos: https://code.google.com/p/get-flash-videos/ -- Anthony J. Bentley

Re: [dev] browser flash videos and mpeg plugins

2011-02-26 Thread Anthony J. Bentley
till open in memory and you can grab it from there. -- Anthony J. Bentley

Re: [dev] browser flash videos and mpeg plugins

2011-02-26 Thread Anthony J. Bentley
I haven’t tried it, don’t trust random scripts from the Internet, read it through first… -- Anthony J. Bentley

Re: [dev] Re: Version control for Sta.li

2011-03-20 Thread Anthony J. Bentley
> > I just found a version control system that I hadn't heard of and might wo > rk well for Stali: Fossil. It's by the author of SQLite Here’s an interview with the author. http://cisx1.uma.maine.edu/~wbackman/bsdtalk/bsdtalk194.ogg Word in the grapevine is that NetBSD is switching to it.

Re: [dev] suckless wget/curl

2011-05-27 Thread Anthony J. Bentley
n, or b) if there is already a suckless one, pointing it out to them so they can use it. I don’t think they have implemented anything yet. -- Anthony J. Bentley

Re: [dev] Re: sbase

2011-06-09 Thread Anthony J. Bentley
On Thu, Jun 9, 2011 at 6:58 PM, Connor Lane Smith wrote: > On 9 June 2011 13:40, stateless wrote: >> Attached cmp.c and cmp.1. > > Thanks! I'm also not bothering with '-', so I took that out, which > meant we could simplify the code a lot. Don’t we have /dev/std

Re: [dev] tiny pdf viewer (with vim key shortcuts)

2014-05-01 Thread Anthony J. Bentley
patrick295767 patrick295767 writes: > What about a lightweight pdf viewer for giving talks ? > > I am now modifying and recompiling xpdf. It is quite a light pdf viewer. > > You plug your Linux box, and give a great talk ;) ! MuPDF is nice but has a disgusting license (AGPL).

Re: [dev] [GENERAL] License manifest

2014-05-12 Thread Anthony J. Bentley
wc -w * | sort -n 73 wtfpl 118 isc 155 zlib 171 mit 197 unlicense 221 bsd 978 cc0 1234 lgpl3 1577 apache2 1965 cc-by 2154 cc-by-sa 2968 gpl2 4372 lgpl2.1 5214 gpl3 5535 agpl3 26932 total Personally, I stick with ISC. -- Anthony J. Bentley

Re: [dev] [GENERAL] License manifest

2014-05-12 Thread Anthony J. Bentley
ws, corporate assholes never really give back. > With the GPL you at least get their crown jewels, if they piss you off. Yeah, ask Landley how much useful code Busybox got out of all those lawsuits. Corporations are terrible at writing code. We don't want their garbage. -- Anthony J. Bentley

Re: [dev] [GENERAL] License manifest

2014-05-12 Thread Anthony J. Bentley
Christoph Lohmann writes: > Greetings. > > On Mon, 12 May 2014 22:02:57 +0200 "Anthony J. Bentley" w > rote: > > Christoph Lohmann writes: > > > On Mon, 12 May 2014 18:18:37 +0200 FRIGN wrote: > > > > Well, let's take a look at the GPL fir

Re: [dev] [GENERAL] License manifest

2014-05-12 Thread Anthony J. Bentley
PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Clearly, the GPL is just as simple to understand and explain to others as a permissive license. After all, copyright law is complex. -- Anthony J. Bentley

Re: [dev] [GENERAL] License manifest

2014-05-12 Thread Anthony J. Bentley
Nick writes: > Quoth Anthony J. Bentley: > > Nick writes: > > > GPL is nearly as conceptually simple as permissive licenses, I > > > think. > > > > ... > > > > Clearly, the GPL is just as simple to understand and explain to others > > as

Re: [dev] [surf] WebKit1 deprecated

2014-05-28 Thread Anthony J. Bentley
> Probably. There isn't javascript support yet, either (though they're > working on it). Current released versions do support using libmozjs-1.8.5. I can't speak to how well it works, having never enabled it. No doubt it is incomplete, but it might be in a usable state. -- Anthony J. Bentley

Re: [dev] suckless distro

2014-06-25 Thread Anthony J. Bentley
or large. Said interface should not come at the cost of complexity, but good makefiles are simple anyway (the one in their example is two lines). -- Anthony J. Bentley

Re: [dev] reboot, arrow in the knee because of the GNU GPL???

2014-06-25 Thread Anthony J. Bentley
rought up on this list in previous discussions. -- Anthony J. Bentley

Re: [dev] reboot, arrow in the knee because of the GNU GPL???

2014-06-25 Thread Anthony J. Bentley
Sylvain BERTRAND writes: > On Wed, Jun 25, 2014 at 09:32:33PM -0600, Anthony J. Bentley wrote: > > Sylvain BERTRAND writes: > >> I firmely disagree with you on this: the event of somebody hurt > >> by the GNU GPL with real life facts is of highest importance for >

Re: [dev] Why do you use tmux/screen?

2014-07-01 Thread Anthony J. Bentley
sing the irssi and tmux keybindings, so I removed irssi from the equation. One window per channel, with one pane running tail -f and the other redirecting text to stdin. Now I only have one set of keybindings to memorize. -- Anthony J. Bentley

Re: [dev] Introducing the imagefile-format

2014-07-28 Thread Anthony J. Bentley
FRIGN writes: > The only reason I used ntohl() and htonl() here is > the fact they're POSIX, and endian.h isn't. Isn't yet... http://austingroupbugs.net/view.php?id=162 -- Anthony J. Bentley

Re: [dev] surf rewrite for WebKit2GTK

2014-10-26 Thread Anthony J. Bentley
nitely like some > "suckless cleanup" in this direction, just like in other directions. Duktape isn't perfect but it's at least within the realm of sanity: http://duktape.org/ -- Anthony J. Bentley

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

2014-10-31 Thread Anthony J. Bentley
ero meaningful content. What a robust technology to base the suckless world on. The real disgusting parts of HTML5 are CSS and Javascript, and the XML bits that are seeping in, like MathML. An XHTML world would embrace those, or replace them with alternatives that are even worse. XML is just SGML with a little air freshener sprayed over it. -- Anthony J. Bentley

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

2014-10-31 Thread Anthony J. Bentley
"Dmitrij D. Czarkoff" writes: > Sorry for replying to single message with two. > > Anthony J. Bentley said: > > HTML5 has been some steps forward and some steps back. But one of the > > unambiguously good things they did was drop any pretense of SGML > > comp

Re: [dev] [sbase]building

2014-11-21 Thread Anthony J. Bentley
about -lrt in OpenBSD. OpenBSD's make is actively developed... so if there is some bug in POSIX compliance, why not report the bug? -- Anthony J. Bentley

Re: [dev] GCC situation

2014-11-24 Thread Anthony J. Bentley
amp;m=141612991809812&w=2 Another interesting C project is libfirm+cparser. -- Anthony J. Bentley

Re: [dev] [dmenu] [PATCHES 1-5] Changes and cleanup

2014-12-23 Thread Anthony J. Bentley
member foo by grepping for ^Ifoo. Similarly, the "function name at beginning of line" rule is so you can find the bar() function definition by grepping for ^bar(. -- Anthony J. Bentley

Re: [dev] [style] variable declaration locations and varriable length arrays vs malloc

2015-03-02 Thread Anthony J. Bentley
e: > > while ((d = readdir(dp))) { > char buf[strlen(path) + strlen(d->d_name) + 1]; > > } VLAs are a fundamentally broken feature because they do not allow any error checking. alloca() is the same. -- Anthony J. Bentley

Re: [dev] books that rock

2015-04-25 Thread Anthony J. Bentley
Programming Style by Kernighan & Plauger. My personal favorite computer-related book. -- Anthony J. Bentley

Re: [dev] surf release?

2015-06-01 Thread Anthony J. Bentley
7heo writes: > Suckless comes from suck less. We're not here to settle down on wrong > solutions. Suckless has settled on the wrong solutions for years. Case in point: customizing software by compiling it. How often do you recompile mv, cp and rm? Even compiling your kernel is something that shoul

Re: [dev] [dmenu] versioning and patching

2016-03-14 Thread Anthony J. Bentley
Boruch Baum writes: > 1] I want to request that dmenu produce 'correct' output for its > --version command. Currently, the ouput is identical to --help ouput and > gives no version information at all. --help and --version give the same output because they're both invalid

Re: [dev] "Note On Webkit Versions"

2016-05-01 Thread Anthony J. Bentley
at you). libagar? -- Anthony J. Bentley

Re: [dev] neatroff

2016-08-09 Thread Anthony J. Bentley
lways mandoc. But anti-Unix lack of piping blah blah. -- Anthony J. Bentley

Re: [dev] [st] Release planned?

2016-08-11 Thread Anthony J. Bentley
Christoph Lohmann writes: > Greetings. > > On Thu, 11 Aug 2016 16:17:30 +0200 Paul Menzel wrote: > > Dear suckless folks, > > > > > > st 0.6 was released in June 2015, that means over a year ago. > > > > Since then, there were another 76 commits included into the master branch. > > > > ``` >

Re: [dev] suckless.org TLS / HTTPS support

2017-09-01 Thread Anthony J. Bentley
ou might as well go all the way. -- Anthony J. Bentley

Re: [dev] [PATCH][blind] alloca #include for BSDs

2018-01-29 Thread Anthony J. Bentley
Nick writes: > Quoth Yuri: > > You should also change your config.mk files to allow external optimization > > and other flags. For example: > > > > > CFLAGS = -std=c99 -Wall -pedantic -O2 > > > > should be changed to > > > > > CFLAGS ?= -O2 > > > > > CFLAGS += -std=c99 -Wall -pedantic -O

Re: [dev] GPL free Linux

2018-11-11 Thread Anthony J. Bentley
Markus Wichmann writes: > Why would you do something so pointless? First of all, licences only > matter if you plan on redistribution, so most here won't care. Second, > all the GPL demands is that you distribute the source, which any good > distribution should do, anyway, right? GPL also demands

Re: [dev] GPL free Linux

2018-11-12 Thread Anthony J. Bentley
Hadrien Lacour writes: > On Sun, Nov 11, 2018 at 09:43:12PM -0700, Anthony J. Bentley wrote: > > Markus Wichmann writes: > > > Why would you do something so pointless? First of all, licences only > > > matter if you plan on redistribution, so most here won't care. S

Re: [dev] network usage graphs

2011-12-24 Thread Anthony J. Bentley
On 12/24/11, Szabolcs Nagy wrote: > * hiro <23h...@googlemail.com> [2011-12-24 02:00:47 +0100]: >> Deleting the first line of my log is currently done with sed 1d >> temp; mv temp original.dat. Is there no better way? > > sed -i 1d original.dat That’s a GNUism.

Re: [dev] sbase TODO patch

2012-02-10 Thread Anthony J. Bentley
stripped out of OpenBSD a couple years ago. The commit message by deraadt: "rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical)" -- Anthony J. Bentley

Re: [dev] New friends

2012-07-31 Thread Anthony J. Bentley
27;s sndio interface[1] goes the opposite route and moves audio to userland. I'm curious how the two compare. -- Anthony J. Bentley [1] http://www.openbsd.org/porting/audio-port.html

Re: [dev] Adding utmpx stuff

2012-10-09 Thread Anthony J. Bentley
in OpenBSD, it's in the archives: http://marc.info/?l=openbsd-tech&m=127910804900619&w=2 -- Anthony J. Bentley

Re: [dev] [st] Segmentation fault when clicking the top of window

2013-03-24 Thread Anthony J. Bentley
nthony J. Bentley GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolu

Re: [dev] ST 0.4 and OpenBSD 5.2

2013-04-19 Thread Anthony J. Bentley
Gregor Best writes: > I'm on OpenBSD -current at the moment and the latest git HEAD of st compiles > with the following patch: > > diff --git a/config.mk b/config.mk > index 88355c7..f1a24d7 100644 > --- a/config.mk > +++ b/config.mk > @@ -26,3 +26,4 @@ LDFLAGS += -g

Re: [dev] ST 0.4 and OpenBSD 5.2

2013-04-19 Thread Anthony J. Bentley
Christoph Lohmann writes: > Greetings. > > On Fri, 19 Apr 2013 21:11:22 +0200 "Anthony J. Bentley" w > rote: > > That's because the st makefiles use $(shell ...) which is a GNUism. > > I’ve applied your patch. Thanks. > > Shouldn’t using GNUi

Re: [dev] [st] [PATCH] 8bit-meta like xterm

2013-04-23 Thread Anthony J. Bentley
slower to type), and even the X11 defaults aren’t too bad. -- Anthony J. Bentley

Re: [dev] [st] problem reading man pages

2013-05-21 Thread Anthony J. Bentley
r have I mis-configured something? Would be helpful to specify what program generates your manpages. Manuals look fine here with st tip and mandoc... -- Anthony J. Bentley

Re: [dev] [st] problem reading man pages

2013-05-21 Thread Anthony J. Bentley
G David Modica writes: > On 19:01 Tue 21 May , Anthony J. Bentley wrote: > > Would be helpful to specify what program generates your manpages. Manuals l > ook > > fine here with st tip and mandoc... > > > > No idea how man pages are generated. I am running Arc

Re: [dev] Re: Why HTTP is so bad?

2013-05-23 Thread Anthony J. Bentley
Sam Watkins writes: > I'd say both HTTP and HTML started out fairly sane, HTML started out as SGML, which is even less sane than XML. Parsing HTML has grown much simpler over time as assumptions of XML and SGML have been ignored.

Re: [dev] Optimizing C compiler & c++ compiler/runtime

2013-12-20 Thread Anthony J. Bentley
ble for use in compilers.” http://pp.info.uni-karlsruhe.de/firm/ “cparser is a library containing a parser, lexer and semantic analysis for the ISO C99 language. It should be used as a compiler frontend, a base for source-source transformation, or source-checker tools.” http://sourceforge.net/