Re: [dev] sbase manpages display current date

2024-09-06 Thread Brandon Pribula
Sent with Proton Mail secure email. On Friday, September 6th, 2024 at 1:23 PM, Страхиња Радић wrote: > Дана 24/09/06 07:33PM, Brandon Pribula написа: > > > If the change to the man pages is acceptable I'm happy to submit the > > changes in whatever fashion.

[dev] sbase manpages display current date

2024-09-06 Thread Brandon Pribula
the change to the man pages is acceptable I'm happy to submit the changes in whatever fashion. Thanks, Brandon Sent with Proton Mail secure email.

Re: [dev] Found a bug in surf

2015-01-25 Thread Brandon Mulcahy
On Sun, Jan 25, 2015 at 12:41:37PM +0100, Vampyrah Broadcasting wrote: > With what command can I open the web console in uzbl? The Uzbl documentation is the place to find the answer that question, not the suckless-dev mailing list. Anyway, it's :show_inspector.

Re: [dev] [PATCH] [sbase] Use utflen in cols(1)

2014-12-05 Thread Brandon Mulcahy
On Fri, Dec 05, 2014 at 10:39:49PM +, Dimitris Papastamos wrote: > On Fri, Dec 05, 2014 at 02:18:03PM -0800, Robert Ransom wrote: > > On 12/5/14, Brandon Mulcahy wrote: > > > -It does not handle non-ASCII UTF-8 runes > > > -or TAB characters correctly. > > >

Re: [dev] [PATCH] [sbase] Use utflen in cols(1)

2014-12-05 Thread Brandon Mulcahy
On Fri, Dec 05, 2014 at 10:39:49PM +, Dimitris Papastamos wrote: > On Fri, Dec 05, 2014 at 02:18:03PM -0800, Robert Ransom wrote: > > On 12/5/14, Brandon Mulcahy wrote: > > > -It does not handle non-ASCII UTF-8 runes > > > -or TAB characters correctly. > > >

[dev] [PATCH] [sbase] Use utflen in cols(1)

2014-12-05 Thread Brandon Mulcahy
--- cols.1 | 3 +-- cols.c | 14 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/cols.1 b/cols.1 index 8f15cb3..5383e47 100644 --- a/cols.1 +++ b/cols.1 @@ -27,8 +27,7 @@ This implementation of .B cols assumes that every byte is a character which takes up one col

[dev] [PATCH] [sbase] Handle non-power-of-two tab sizes in expand(1)

2014-12-04 Thread Brandon Mulcahy
--- expand.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/expand.c b/expand.c index 2449a8e..35b7a9a 100644 --- a/expand.c +++ b/expand.c @@ -28,6 +28,8 @@ main(int argc, char *argv[]) break; case 't': tabstop = estrtol(EARGF(usage(

[dev] [PATCH] [sbase] Fix basename suffix treatment

2014-12-03 Thread Brandon Mulcahy
Explicitly use "." instead of the result of basename(3) when argv[0] is an empty string in order to avoid a segfault. Skip suffix treatment if the result of basename(3) is "/", per POSIX. Fix the suffix check, which was previously checking for a match at any location in the string. --- basename

Re: [dev] [PATCH] [sbase] Fix basename suffix treatment

2014-12-03 Thread Brandon Mulcahy
Whoops, I wrote argv[0] instead of s a couple of times. Ignore this patch. I'll submit another momentarily. On Wed, Dec 03, 2014 at 05:37:16PM -0500, Brandon Mulcahy wrote: > Skipped suffix treatment if the result of basename(3) is "/", per POSIX. > > Fixed the suffix che

[dev] [PATCH] [sbase] Fix basename suffix treatment

2014-12-03 Thread Brandon Mulcahy
Skipped suffix treatment if the result of basename(3) is "/", per POSIX. Fixed the suffix check, which was previously checking for a match at any location in the string. Also, strstr used to segfault on: basename '' . --- basename.c | 12 1 file changed, 8 insertions(+), 4

Re: [dev] Project ideas: goblin

2014-11-25 Thread Brandon Mulcahy
On Tue, Nov 25, 2014 at 02:08:48PM -0500, Greg Reagle wrote: > From http://suckless.org/project_ideas: > > Write the most useful unix userland commands in the new Go language > > created by Google to form a robust base for future Unix-like > > userlands that do not suffer from the vulnerabilities t

[dev] [abduco] [patch] more descriptive execvp error message

2014-11-08 Thread Brandon Mulcahy
irectory >From a7075936e6f2c422a6439ac85c9139c5a0c0cbef Mon Sep 17 00:00:00 2001 From: Brandon Mulcahy Date: Sat, 8 Nov 2014 12:42:57 -0500 Subject: [PATCH] Use more descriptive execvp error message --- abduco.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/abduco.c b/abduco.c inde

Re: [dev] environment variables versus runtime configuration (rc) files versus X resources

2014-11-03 Thread Brandon Mulcahy
On Mon, Nov 03, 2014 at 11:31:38PM +0100, FRIGN wrote: > On Mon, 3 Nov 2014 17:01:13 -0500 > Brandon Mulcahy wrote: > > > I'm not advocating a more general approach, however; that minor convenience > > would be nowhere near worth the headache of having to figure ou

Re: [dev] environment variables versus runtime configuration (rc) files versus X resources

2014-11-03 Thread Brandon Mulcahy
On Mon, Nov 03, 2014 at 05:21:20PM -0500, Greg Reagle wrote: > On Mon, Nov 3, 2014, at 05:14 PM, Martti Kühne wrote: > > On Mon, Nov 3, 2014 at 10:30 PM, Brandon Mulcahy > > wrote: > > > choice (besides doing something like `export option=a; command; export > > >

Re: [dev] environment variables versus runtime configuration (rc) files versus X resources

2014-11-03 Thread Brandon Mulcahy
On Mon, Nov 03, 2014 at 10:46:06PM +0100, Markus Teich wrote: > Brandon Mulcahy wrote: > > I do wish the concept of aliasing were a bit more general. It'd be nice to > > be able to have something like it in dmenu without having to resort to > > wrapper scripts. >

Re: [dev] environment variables versus runtime configuration (rc) files versus X resources

2014-11-03 Thread Brandon Mulcahy
One thing I like about command-line options is that you can either specify them "automatically" via a shell alias or manually. Having an option be an environment variable instead of a command-line option denies the user that choice (besides doing something like `export option=a; command; export opt

Re: [dev] [PATCH] [st] Use inverted defaultbg/fg for selection when bg/fg are the same

2014-10-27 Thread Brandon Mulcahy
On Sun, Oct 26, 2014 at 11:01:24PM -0300, dequis wrote: > This patch allows that text to be read by selecting it, turning it into > text with white bg and black fg (given default values for defaultbg/fg), > just like most normal unformatted text when selected. > --- > st.c | 11 --- > 1 fi

Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Brandon Mulcahy
On Sat, Oct 25, 2014 at 04:29:58PM -0200, Daniel Camolês wrote: > When the choice you have is between 500k or 2 million lines of code, > it hurts to call anything suckless. I think the web needs a serious > reboot. It started out as a markup language for presentation-only, and > then it was morphed

[dev] [PATCH] [sbase] Add logname(1)

2014-10-16 Thread Brandon Mulcahy
Another easy one. One of the context lines will have to be updated in Makefile to apply after the link(1) patch. >From 99c822c371c0e51464b9093a66dd5c73e3fae8e2 Mon Sep 17 00:00:00 2001 From: Brandon Mulcahy Date: Thu, 16 Oct 2014 17:15:16 -0400 Subject: [PATCH] Add logname(1) --- Makefile |

Re: [dev] golang: time.Tick() and ntp

2014-10-08 Thread Brandon Mulcahy
On Thu, Oct 09, 2014 at 04:17:29AM +0200, Markus Teich wrote: > Brandon Mulcahy wrote: > > Is there a reason this wouldn't work? > > > > for { > > // ... > > time.Now().Format("Mon 02 Ý 15:04:05"), > > // ... > > tim

Re: [dev] golang: time.Tick() and ntp

2014-10-08 Thread Brandon Mulcahy
On Wed, Oct 08, 2014 at 12:23:59PM +0200, Markus Teich wrote: > The second problem is when using ntp to synchronize the clock. In this > case the channel provided by time.Tick() stops to send on that channel and > therefore the whole loop stops and the status bar is not updated anymore. > > Can you

Re: [dev] [PATCH] dmenu git xft - tiny update

2014-10-04 Thread Brandon Mulcahy
On Sat, Oct 04, 2014 at 09:04:59PM +0100, Dimitris Papastamos wrote: > On Sat, Oct 04, 2014 at 04:01:11PM -0400, Brandon Mulcahy wrote: > > The xft dmenu patch just needed a context line added and a context line > > removed > > to apply cleanly to git HEAD. > > Ca

[dev] [PATCH] dmenu git xft - tiny update

2014-10-04 Thread Brandon Mulcahy
The xft dmenu patch just needed a context line added and a context line removed to apply cleanly to git HEAD. diff --git a/config.mk b/config.mk index c0d466b..04e2dce 100644 --- a/config.mk +++ b/config.mk @@ -12,9 +12,13 @@ X11LIB = /usr/X11R6/lib XINERAMALIBS = -lXinerama XINERAMAFLAGS = -DXI

Re: [dev] Makefile/markdown based static site generator

2013-02-19 Thread Brandon Invergo
://gitorious.org/bi-websites/m4-bloggery/ It's either fun or not fun, depending on how you look at it. -brandon

Re: [dev] xinerama and dbe mutual exclusion

2013-01-19 Thread Brandon Invergo
netbook had to take a little trip back to the manufacturer; it was on a slow device like that where redrawing issues would arise during scrolling. Does anyone else have a slow, non-Intel architecture device to test it on? -brandon

Re: [dev] Git? Bitch Please

2012-11-30 Thread Brandon Invergo
> but yeah, a part from that fossil is nice, but there's little userbase and > i doubt there are transition tools to convert a repo from/to fossil. git > is much more widespread. http://fossil-scm.org/index.html/help/import

[dev] [st] patch to restore Readline Alt-Backspace functionality

2012-11-19 Thread Brandon Invergo
s the functionality. -brandon diff -r fd5f564c962d config.def.h --- a/config.def.h Fri Nov 16 11:32:17 2012 +0100 +++ b/config.def.h Mon Nov 19 17:09:35 2012 +0100 @@ -141,7 +141,7 @@ { XK_KP_7, XK_ANY_MOD, "\033Ow", +1,0,0}, { XK_KP_8,

Re: [dev] [st] Keyboard patches

2012-11-13 Thread Brandon Invergo
> This is a new path series that fix some problems related to the > keyboard, and also add the key definitions that were missed in st. I'm glad that you're thorough and you've put a lot of work into making st robust, but how do these patches help us in 2012-soon-to-be-2013? -brandon

Re: [dev] [announce] rat - ridiculously abysmal tar

2012-11-06 Thread Brandon Invergo
> Which languages qualify as suckless? Only Brainfuck. Anything more is superfluous.

Re: [dev] [st] patch to support mouse wheel scrolling

2012-11-06 Thread Brandon Invergo
> You're not saying that emacs sucks right? No, I'm not. I forgot to add that those escape sequences for Emacs will work fine in less and man pages and such, since they are the same as hitting the up and down arrow keys. The only difference is in programs with a cursor. -brandon

[dev] [st] patch to support mouse wheel scrolling

2012-11-06 Thread Brandon Invergo
for them I would recommend setting them to "\033[A" and "\033[B", which will move the cursor one line at a time, eventually scrolling when it reaches the edge of the terminal. Enjoy, -brandon diff -r 19d11014bc63 config.def.h --- a/config.def.h Mon Nov 05 04:02:20 2012

Re: [dev] [st] 0.3 release

2012-11-05 Thread Brandon Invergo
they're doing it (or just come up with a better solution on our own). -brandon

Re: [dev] [st] 0.3 release

2012-11-05 Thread Brandon Invergo
ous function (is that true?). I started working on it but like I said, I had to put it aside before I could finish it and there is no way I can return to working on it anytime soon, so hopefully this info could help someone else get started and improve the rendering performance once and for all. Anyway, congrats on the release! Cheers, Brandon

Re: [dev] I don't want to live on this planet anymore

2012-10-31 Thread Brandon Invergo
> Except that we need to learn how to use the tools thst exist instead if > implementing our own. You shouldn't need programing ability for something > like this Every programming assignment you'll receive has already been written many times over before. The point isn't to create something novel.

Re: [dev] I don't want to live on this planet anymore

2012-10-31 Thread Brandon Invergo
> I quickly overcame the assignment with: > > paste names.txt grades.txt > > My professor responded by saying "you are doing it the wrong way". > > It's preposterous to not use the tools given to us by unix gods. You *were* doing it the wrong way. The assignment wasn't about the final result, whic

Re: [dev] [st] xft: line drawing

2012-09-26 Thread Brandon Invergo
> For those alternative charsets remapping some ranges of the symbols is > required, which could be easily done using UTF=E2=80=908 characters. But how exactly should this work? I tried naively just filling gfx[] with the appropriate mappings (i.e. ['x'] =3D '|' (pretend that's the unicode vertica

[dev] [st] xft: line drawing

2012-09-25 Thread Brandon Invergo
nyone else have this problem or is it just me? -brandon

Re: [dev] [PATCH] st: fix BORDER after XDBE patch

2012-08-03 Thread Brandon Invergo
Crap, thanks for catching this. I just pushed it to default. Works great, thanks again! -brandon Gaetan Bisson writes: > Hi, > > The BORDER setting to st has recently been broken by the XDBE patch; > this is fixed by the patch below, which also removes bufh/bufw since > they ar

Re: [dev] st: improved double-buffering with Xdbe

2012-07-30 Thread brandon
orks For Me (tm). You're not doing anything strange in your xorg.conf like disabling the dbe extension, are you? Has anyone else tried it that can confirm or deny this behavior? -brandon

Re: [dev] st: improved double-buffering with Xdbe

2012-07-28 Thread Brandon Invergo
FYI I've applied this patch to st's default branch (commit #245) Enjoy, -brandon Brandon Invergo writes: > Hi, > As some background, I've been using st on an Arm device (Genesi Efika > MX) which has relatively low specs compared to your average x86/amd64 > computer.

Re: [dev] Binary Space Partitioning Window Manager

2012-07-28 Thread Brandon Invergo
ent (manual tiling only). -brandon

Re: [dev] st development

2012-05-07 Thread Brandon Invergo
se volunteers, I can try to contribute a bit. I'm pretty overloaded as it is right now, though, so I'd prefer to just submit the occasional patch. As I said before, I've been working on a scrollback buffer, but I haven't been able to touch the code for the past week or two. Regards, -Brandon

Re: [dev] st: improved double-buffering with Xdbe

2012-04-27 Thread Brandon Invergo
I'm holding down a button to scroll, not when I simply cat a long file (I think). I haven't dug into this, nor have I noticed any possible problems in that part of the code yet though. I'll report back when I have something more than handwaving to show. -brandon On Fri, 2012-04-27

Re: [dev] st: improved double-buffering with Xdbe

2012-04-25 Thread brandon
On 24.04.2012 10:55, Mihail Zenkov wrote: The provided diff is against the default branch, however I also got it working for the xft branch. I can provide a diff for that too if you want but the only extra difference is that any Xft draw-related calls should work on xw.buf rather than xw.win (

Re: [dev] st: improved double-buffering with Xdbe

2012-04-23 Thread brandon
On 23.04.2012 22:08, Gregor Best wrote: Works fine here on -tip. It'd be great if you could update your patch to include the Makefile-change, though :) Good to hear. I've attached an updated diff with the config.mk change!diff -r e1414acbe547 -r 9139a212811d config.mk --- a/config.mk Mon Feb 27

[dev] st: improved double-buffering with Xdbe

2012-04-20 Thread Brandon Invergo
on it to try to improve further the speed if I can. Cheers, Brandon Invergo diff -r e1414acbe547 st.c --- a/st.c Mon Feb 27 12:48:13 2012 +0100 +++ b/st.c Fri Apr 20 09:10:28 2012 +0200 @@ -24,6 +24,7 @@ #include #include #include +#include #if defined(__linux) #include @@ -178,7 +

Re: [dev] Suckless Smartphone?

2011-06-12 Thread Brandon LaRocque
On Sun, Jun 5, 2011 at 10:31 AM, ilf wrote: > Apparently all smartphones suck. Hard. Depends on what you need it for. > So, what's your smartphone of choice? > What did you do to make it suck less? iPhone 4. I just ignore the obvious flaws and it just feels less sucky.

Re: [dev] Distribution

2011-06-12 Thread Brandon LaRocque
I'd say one of the BSD's or (Gen|Fun)too. But that's just me. On Fri, Jun 3, 2011 at 7:41 AM, Sir Cyrus wrote: > What's the most suckless Linux distribution? > >

[dev] [surf] disk cache location and size

2011-03-06 Thread Brandon Ros
how does surf (or WebKit, seeing how surf is a thin layer of glue on top of WebKit) handle caching? where are the files stored? how can I change this location to say a directory mounted as a tmpfs/ramfs? Thank you, Brandon

Re: [dev] which minimal os

2011-02-11 Thread Brandon LaRocque
Thanks, Andrei. Will give it a look. I've only ever heard it spoke it in passing. Guess I should give it a run, just to see. On Fri, Feb 11, 2011 at 11:15 PM, Andrei wrote: > Hello Brandon, > I believe CRUX did have some influence on Arch but the latter has nothing to > do

Re: [dev] which minimal os

2011-02-11 Thread Brandon LaRocque
Wasn't CRUX the biggest influence on the creation of Arch? I could be wrong. I haven't used it, though. What's the difference between it and Arch? It's one of the distros one doesn't really hear much about, from what I've seen. On Fri, Feb 11, 2011 at 9:57 PM, Andrei wrote: > evening, > I'd sugge

Re: [dev] which minimal os

2011-02-11 Thread Brandon LaRocque
Thanks. Will give this a look. *salute* On Sat, Feb 12, 2011 at 12:42 PM, Stanley Lieber wrote: >> I never had a computer that could run plan9 without a couple hundred >> issues, so I still haven't been able to take the time to learn it, > > In case anyone is interested, I've uploaded a couple of

Re: [dev] which minimal os

2011-02-11 Thread Brandon LaRocque
I never had a computer that could run plan9 without a couple hundred issues, so I still haven't been able to take the time to learn it, unfortunately. I usually stick to Funtoo, Gentoo, or OpenBSD - if I'm not using Windows 7 (I know, I know - this is the Suckless mailing list ;D). But that's me.

[dev] A Suckless Filesystem

2011-02-05 Thread Brandon LaRocque
Which one do you use? Why do you use it? What does it have that the others don't?

Re: [dev] [OT] Music?

2010-09-11 Thread Brandon LaRocque
Here's what I listen to: Brand New, La Dispute, mewithoutYou, Taking Back Sunday, The Republic of Wolves, Eminem, Lamb of God, Sublime, The Spill Canvas, Marilyn Manson, Big D and the Kid's Table, Bright Eyes, Cursive, The Good Life, Choking Victim, Leftover Crack, Star F*cking Hipsters, Circle Ta

Re: [dev] Suckless Way to Learn How To Program

2010-08-27 Thread Brandon LaRocque
Thanks! :) -- Brandon LaRocque

[dev] Suckless Way to Learn How To Program

2010-08-13 Thread Brandon LaRocque
consist of, for self-learners. Thank you. -- Brandon LaRocque

Re: [dev] unsubscribe

2010-07-20 Thread Brandon LaRocque
Sometimes. On Tue, Jul 20, 2010 at 2:25 PM, Ammar James wrote: > These emails are always the best part of this mailing list anyways. > > -- Brandon LaRocque

[dev] [surf] Title not changed when history is changed while in source view

2010-03-21 Thread Brandon Ros
Steps to reproduce: 1. Open surf 2. Go to a web page 3. Go to a different web page 4. Switch to source view 5. Press the keyboard shortcut for going back in history 6. Notice that the title is incorrect This applies to moving forward and backward in history.

[dev] [surf] Search engine keyboard shortcut suggestion

2010-03-20 Thread Brandon Ros
I hope this idea will not be immediately rejected because it may remove simplicity. Just how the URL is set by xprop, after pressing a keyboard shortcut then typing some search terms, the terms are URL-encoded, then appended to a fixed url. Example: Ctrl+K, suckless mailing list, surf's URL is se