r forward
declare them.
gcc can help you here - compile with -Wall and -Wextra :)
Perhaps see how using the bell character works for you. You could even
do it with a shell script:
... | grep 'your-regex' | while read line; do printf '\x7'; done
Cheers,
Rob
message packing
I've seen, but do you know a way to make it suck even less?
Seems pretty straightforward otherwise :)
Cheers,
Rob
;s no J, only
J). I do this all the time.
You might find this useful - I think J makes more sense working as an
operator, once you get used to it.
" fix J to be an operator command
func! Joinoperator(submode)
norm $mj
'[,']join
norm 'jl
endfunc
nnoremap J :silent set operatorfunc=3DJoinoperatorg@
Cheers,
Rob
still locked, but the right side of the screen (when
horizontal, the "bottom" if rotated) is unmasked.
The unmasked content appears to be live, as my clock was updating. The
"mask" seems to become un-rotated when the monitor is being
re-initialized.
Rob
onstantly output the current client list to a file,
you'll have to use alarm(3), threads or something similar.
Rob
void
list_cur_tag(const Arg *arg) {
Client *c;
FILE *f;
if(!arg || !arg->v || !selmon)
return;
f = fopen(arg->v, "w");
if(!f){
fprintf(stderr, "open
On 29 September 2011 20:08, Jeremy Jackins wrote:
> hg clone http://hg.suckless.org/sandy
> gives
> abort: HTTP Error 500: Internal Server Error
Secret coup against Sandy
On 1 October 2011 19:55, Kiriakos at Kindstudios wrote:
> I'm using many aliases in my terminal sessions and want to be able to use
> them with dmenu
Just a guess - in dmenu_run, source the file that defines your aliases,
before doing anything else.
Rob
it in tomorrow if I get some time.
Thanks,
Rob.
On 5 October 2011 09:54, Bastien Dejean wrote:
> Rob a écrit :
>
>> I find unclutter sometimes locks my focus to a window, I try to shift focus
>> (dwm), it just jumps back.
>
> You probably need to launch unclutter with the -noevents option.
That's fixed it, thank you very much!
Rob
compile time check similar to what dwm uses, in this case, it
checks if gc_header_s is the same size as GC_HEADER_SPACE.
Rob
On 26 October 2011 14:51, Peter John Hartman wrote:
> I do something similar:
>
> if [[ $foo != "" ]]; then
[ -n "$foo" ]
if you're going for POSIX.
column to be more or
less even, and then a couple of buddy-list windows squashed to the side.
I only adjust if I have many chat windows and the tile method starts
putting them into the slave-column, so I can to push them back into the
master column.
tl;dr: I mainly stick to tile.
Rob
I'm hoping to try out your patch(es) at some point
this week, and hoping to mess around with the key bindings, I assume you
can change the master layout while keeping the slave one the same with a
binding, right?
Cheers,
Rob
curl fail on this. Anyway, time for a
shameless self-plug.
http://github.com/jeffwar/wgetlite
Handles it fine. The only thing it's lacking is HTTPS support at the
moment.
Rob
reading this.
Rob
7;m
pretty sure it'll work.
Obviously TAG_INIT wants to be your starting tag mask.
Rob
diff -r ee36ffbd4252 dwm.c
--- a/dwm.c Sun Nov 06 20:36:23 2011 +0100
+++ b/dwm.c Sun Nov 13 18:34:07 2011 +
@@ -647,7 +647,7 @@
if(!(m = (Monitor *)calloc(1, sizeof(Monitor
die("fatal
On 18 November 2011 11:41, Roger wrote:
> Anything can be worked around one way or another. For reference, standard
> benchmark tools also never look at just "one thing".
Exactly, short of writing a C-parser and doing some heuristic on the
syntax tree,
you'll just end up missing things anyway.
On 18 November 2011 12:24, pancake wrote:
> should we support code written by bitches?
main(argc, argv)
int argc;
char **argv;
{
}
// SLOC of two, should be zero
#define SEMI ;
int main(int argc, char **argv)
{
int i SEMI
for(i = 0 SEMI i < argc SEMI i++)
printf("argv[%d] = %s\n", i
a word, or Shift+Home, Backspace
to delete a line. Unix has C-W and C-U, it's just muscle memory.
Rob.
e -s with
-g in config.mk)
Rob
On 22 December 2011 23:10, Bjartur Thorlacius wrote:
>> Tiny cleanup patch. Now more memory is allocated than necessary.
>
> Is that a good thing or a typo?
Looking at the code, it appears to be a typo, now the exact amount
of memory is allocated
Rob
e
used select() until we got input on stdin, then just read all of stdin
at once, not bothering to select() again? Unless you're reading over a
network, I don't think there's that much of a delay.
Cheers,
Rob
s you can somehow clone the window or something
(I'm not very clued up on X11).
Rob
nd of the stick, I thought you meant a tagset which
was shared between each monitor or something, thanks for clearing that up.
Personally I prefer the way it's set up at the moment, but I'd be interested
in seeing any patches anyway.
Cheers,
Rob
fact, if combined with a patch that would keep the set of visible
> tags on both screens in sync, I think it would be exactly what I want. Does
> anyone know how to achieve the latter?
Check /(toggle)?(view|tag)/ functions in dwm.c
Or you could change arrange() so it sets the tagset for all other monitors too
Rob
On Fri, Jan 20, 2012 at 07:01:22PM +, Bjartur Thorlacius wrote:
> Does this actually go out and send a SIGTERM to the PID of the owner
> of the window, or merely destroy the window?
Surely it just destroys the window, you can't get a PID for any X window,
since it could be a networked one
On Wed, Feb 01, 2012 at 09:58:14PM +0400, Nikolay G. Petrov wrote:
> Can you tell me why if I start skype, gui interface is absent, not
> apear, but a skype process persist?
dwm doesn't have a systray, which skype minimises itself to regardless.
Try stalonetray or trayer.
can't find
the environment variable.
Thanks,
Rob
#include
#include
#include
#include "util.h"
int main(int argc, char **argv)
{
char *print_me;
if(argc < 2){
print_me = "y";
}else{
char *arg, *p;
int i, len = 1;
for(i = 1; i < argc; i++)
len +=
ck performance tests to be sure, though.
What's more, that version prints "a\nb\n" for ./yes a b,
instead of "a b\n".
Forgot completely about puts() though.
Rob
> the sourcecode for finding out how arguments are handled.
What Anselm is on about, is that it prevents the programmer from
adding more and more flags, keeping the complexity low, not from
having a different style for each application.
Rob
On Sat, Feb 11, 2012 at 01:50:38PM -0500, Joseph Iacobucci wrote:
> On 02/11/2012 05:03 AM, Anselm R Garbe wrote:
> > It does not contain other potential features that were requested
> > during the years, like displaying some text in case the user hits his
> > keyboard. Such features will be subjec
st, terminfo of st and ssh to lots of various servers?
>
> [1] http://martin.kopta.eu/trash/st-htop.png
for s in $(grep '^Host' .ssh/config | awk '{print $2}')
do ssh $s tic - < path/to/st.info
done
or whatever to get tic to read stdin
Thanks,
Rob
[1] http://lists.suckless.org/dev/1104/7444.html
rams I use work fine in st, except htop, and I just have a script
run (attached), which alter's htop's config so when it's running in st it'll
use black and white mode.
Although I wrote my own process monitor (http://github.com/jeffwar/utop)
with vi key bindings, since I foun
On Sun, Feb 12, 2012 at 05:14:22PM +0100, Martin Kopta wrote:
> On 02/12/2012 04:26 PM, Rob wrote:
> >All the programs I use work fine in st, except htop, ..
>
> I am glad to hear that.
I use urxvt as my main terminal though, but as far as I'm aware, anyway.
> >Altho
On 15 February 2012 07:34, hiro <23h...@googlemail.com> wrote:
> Fuck off.
> (It's the same I told my gf btw)
Ha! That's a good one, people on suckless having girlfriends...
from my point of view.
> Adding 60 SLOC with no real benefits is not ok, from my point of view.
That's why it's a patch and not in tip
> But yes, I understand someone may like to moving X clients around
> between monitors just for funny.
You've got to have some sense of humour when using dwm/this mailing list
Rob
On Wed, Feb 22, 2012 at 03:19:28PM +0100, clamiax wrote:
> That's most likely due to your wrong workflow, which includes moving X
> clients between monitors. I'm not complain about multi-head setup, I'm
> just telling you that moving windows between monitor without any kind
> of criteria is a flaw
On 25 April 2012 08:16, hiro <23h...@googlemail.com> wrote:
> This is about the lamest usecase for slock I've ever heard of.
> Next people will complain locking the toilet door with it didn't work
> and someone saw their junk. Prepare to get a lawyer Amselm.
I frequently use slock on my bog door,
On 16 May 2012 02:58, Kurt H Maier wrote:
> On Tue, May 15, 2012 at 09:52:10PM -0400, James Turner wrote:
>>
>> XKBlib.h has been around since 1993 is an extra header file really that
>> bad?
>
> Are you arguing that it's good code because it's old code?
You were arguing that it's bad because it'
st in curl-7.26.0). I'm pretty sure that
> writable argv is guaranteed by C89, although that doesn't really mean
> anything in practice... but it works on Linux.
You can't depend on this - what if another user's process snapshots ii's
argv array before ii overwrites it?
Rob
tached patch removes the arguments (no functional changes). I hope
> the current behavior is correct.
>
> --Andrew Hills
Might be worth winging this in while you're at it.
Rob
diff -r c84141b8303e st.c
--- a/st.c Wed Sep 05 01:32:42 2012 +0200
+++ b/st.c Wed Sep 05 19:20:24 2012 +0100
@
reate a local branch with my patches applied and I will hack
> through its history.
>
> What are you guys suggesting/using?
I imagine you can keep your own local branch, and rebase it upon
suckless' master branch, when it changes.
Cheers,
Rob
writing to the list -
anyone got any smart ideas about this?
Cheers,
Rob
Thanks for the good suggestions - I'll have a pop at the daemon and
see how it goes.
Cheers,
Rob
7 pts/6S 0:00 sleep 60
$ tr '\0' '\n' < /proc/$pid/environ | grep PASS
PASS=hello
Of course, the "attacker" would need read permission on /proc/$pid,
which is normally 600.
Rob
I completely removed that behaviour, I hate focus stealing.
Not a bad idea you've had there though.
Cheers,
Rob
On 4 March 2013 10:36, Markus Teich wrote:
> Hi,
>
> a month ago i started using dwm.
> In my rules i send firefox clients to tag 2.
> Now, after starting d
ull" or maybe upload the core dump?
Rob
ely merge to called
> 'patched' that I use for building. There's no reason to keep patches
> as patch files in git.
In that case, you might find stacked git (stg) useful [1]. I use it to
keep patches on top of origin/master and apply certains ones depending
on which machine I'm on.
Rob
[1]: http://www.procode.org/stgit/
Interesting mix of top- and bottom-posting. I'll not disturb it.
Anyway, 1999 was 14 years ago. I think uint64_t is the least of our
worries if we're porting to some exotic architecture where gcc can't at
least emulate a 64-bit integer. I mean even tcc has a runtime library
for that.
On Tue, Jun
It seems st enters a heavy draw cycle when system time is moved back (e.g.
ntp).
This patch should fix it.
Cheers,
Rob
0001-Fixed-lock-up-when-system-time-jumps-backwards.patch
Description: Binary data
On Thu, Jun 20, 2013 at 11:41:02PM +0200, Silvan Jegen wrote:
> On Wed, Jun 19, 2013 at 09:26:13PM +0100, Rob wrote:
> > It seems st enters a heavy draw cycle when system time is moved back
> > (e.g. ntp).
> > This patch should fix it.
>
> I had the same problem and thi
sortorder * (b->mtime - a->mtime);
- else
- return sortorder * strcmp(a->name, b->name);
+ return sortorder * (tflag ? b->mtime - a->mtime : strcmp(a->name,
b->name));
}
void
With line wrapping as appropriate.
Thanks,
Rob
On Sat, Oct 05, 2013 at 03:47:05PM +0400, Alexander S. wrote:
> 2013/10/5 Rob :
> > On Fri, Oct 04, 2013 at 05:45:56PM +0400, Alexander S. wrote:
> > I disagree - rather than adding a sort call and changing the program's
> > runtime complexity, can't we just r
the diffs. They are all in the last patch. I will have to write some
> rpgit utility.
This looks great - I've been waiting for rohrpost to be published, I'm getting
tired of everything locked in mutt's UI and would love to see it, regardless
of how complete it is. You never know, others might help finish the job.
Rob
* files that seemed to be missing key tags like track number, artist,
> album
>
> It would print the filename, the artist and the album, tab-delimited, so
> it was easy to then script moving the offending files into the right
> place with cut, xargs, awk, etc.
Still got that script lying around?
Rob
problem at all to just open another terminal.)
Yeah I posted a simple fix to this ages ago [1] but it never went upstream.
Rob
1: http://lists.suckless.org/dev/1306/16039.html
's X11 configure and make flags.
Rob
t be worth the
hassle.
Patch is attached anyway.
Cheers,
RobFrom fad6b54c1c84031291b76644aa9d944ec1dcd091 Mon Sep 17 00:00:00 2001
From: Rob Pilling
Date: Sun, 1 Dec 2013 11:40:49 +
Subject: [PATCH 2/2] id(1) can handle uid arguments
---
id.1 |6 +++---
i
mp; xmessage connected
[ssh-machine %] ...
`xmessage connected' will be executed even though ssh hasn't exit(0)'d
yet.
Rob
On Thu, 12 Dec 2013, Fernando C.V. wrote:
On Wed, Dec 11, 2013 at 10:36 PM, Rob wrote:
[local-machine %] ssh user@host & && xmessage connected
[ssh-machine %] ...
`xmessage connected' will be executed even though ssh hasn't exit(0)'d
yet.
bash: syntax error near
er did this:
printf '%f\n' 2
If you "throw it into the standard library's printf", even forgetting
about how we do that, you'd still interpret 2 as an int, when printf
expects a float. And that's only the beginning, what about %n, or not
passing enough arguments?
Rob
10 | xargs open"
} },
};
Where xurls[1] is a script that pulls out urls from the text, then I can
pick one in dmenu and open[2] it in a browser.
If this doesn't qualify as core-st I'll happily stick it on the patches
page. Feedback welcome.
Rob
1: https://raw.github.com/bobrippling
p. I'm currently held back by a bug in the preprocessor when
handling glibc/Debian's unistd.h and it also looks like I'll need to
support GNU's transparent union extension too.
If anyone's interested. It's hosted here [1] and I'm all ears to
critiques and feedback.
Thanks,
Rob
1: https://github.com/bobrippling/ucc-c-compiler
Alexander Huemer wrote:
On Fri, Dec 20, 2013 at 08:21:34PM +0100, Alexander Huemer wrote:
Hi Rob!
On Fri, Dec 20, 2013 at 01:56:15PM +, Rob wrote:
Attached is a patch which gives st the ability to spit out its current
screen text to another program.
IMHO it makes sense here to use
koneu wrote:
Rob wrote:
Yeah, based it off url-select, love that feature. urxvt takes 8 seconds
or so to open on my laptop, so necessity is the mother of invention and
all that.
Configure with --disable-everything and use urxvtd. Faster (and more
stable) than st for me.
Wow, it is pretty
Strake wrote:
On 20/12/2013, Rob wrote:
https://github.com/bobrippling/ucc-c-compiler
Why are you rewriting libc?
I think calling it a libc rewrite does it too much justice. When I
started out I needed something I could statically link against that
would be simple to debug, and had
c.php?id=45364
Here you can see one possible way to make it look and act:
http://dzen.geekmode.org/dwiki/lib/exe/fetch.php?cache=cache&media=dzen:dzen_menu_shot.png
HTH, Rob.
On Thu, May 20, 2010 at 04:12, wrote:
> - scroll uses a heuristic in passing integer parameter borrowed from
> meillo, I guess, and extended to scroll a page up/down or to the
> begin/end of document. Scrolling vertically and horizontally differs
> just in the GtkAdjustment used. So I've put
Hi, I'm wondering how to have custom css for a specific site, specifically
like the css here: http://userstyles.org/styles/31211
I can get it to work by putting the code into my ~/.surf/style.css file, but
it applies the style to all webpages, and I only want it to apply to a
certain domain. Is thi
Hmmm, perhaps I should be asking this question elsewhere then. Thank you.
On Sat, Jul 24, 2010 at 12:27 PM, Szabolcs Nagy wrote:
> * Rob Mason [2010-07-24 11:14:36 -0400]:
>
> > Hi, I'm wondering how to have custom css for a specific site,
> specifically
> &g
101 - 170 of 170 matches
Mail list logo