I noticed there is a project for a samterm on the project ideas page.
Has anyone started on this? It seems like a really good idea.
I guess ideally it would be usable without X (in text mode) but would
still keep the nice view and selection interface.
Luxuries like syntax coloring would be nice
I find it useful to be able to edit files using my regular editor
after I break X, or if I don't feel like starting it up.
I like curses stuff even in X because it is nice to open up an editor
and have it tempoarily reuse the terminal window without spawning
another and thrashing my layout.
Luxuries like syntax coloring would be nice but really not critical.
Would you like reading a book with all adjectives bolded and
nouns italicized?
You may want to take a look at ALGOL 68.
I hadn't thought of it like that before. Good point.
Excuse me while I also remove indentation from my
Yes, indeed. Both acme and samterm ship with their very own window
manager, so you can fullscreen acme in rio and pretend you're using
wmii. And samterm is even worse: a stacking window manager
within a
stacking window manager (so you can stack while you stack).
There is a good reason why
Sounds like vi.
except with a clean command set and less legacy baggage.
Let me rephrase that, given the nature of this list. There's not
much science to simple string hash functions. Cryptographic hash
functions are another matter entirely. I'll also add that 31
happens to be a prime number.
The first thing that struck me was that 31 in binary is all ones,
as
I would like to change the way tag selection works in my dwm.
The way I think it should work is if you press two (or more) tag
select keysbefore you release one of them, dwm would select both
tags. Likewise for tagging windows. I think this would make the
tagging stuff much more usable and
You want the KeyRelease event. Note that, by default, X11
will generate
spurious repeat KeyPress events. Years ago I read the
relevant SDL code
(which maintains a vector of which keys are currently down) to
see if it
had a nice way of handling these events. It turns out it
just had
I'm not sure I'm understanding what you mean but I think you can
achieve that only changing your config:
#define TAGKEYS(KEY,TAG) \
{
MODKEY, KEY, toggleview, {.ui
= 1 TAG} }, \
(n.b. toggleview instead of view)
You don't need to release modkey
As you can see, I misspoke earlier: the events have *exactly*
the same time
field. Combining this with what I said about the queuing
(the atomic
insertion), I think you'll agree that doing XPeekEvent inside the
KeyRelease handler, and discarding the pair of events if the time,
keycode,
toggle functions. Thanks for all the help!
- Original Message -
From: Wolf Tivy wti...@my.bcit.ca
Date: Monday, September 20, 2010 9:44 pm
Subject: [dev] [dwm] tagging interface
To: dev@suckless.org
I would like to change the way tag selection works in my dwm.
The way I think it should work
hey,
sounds quite interesting, but what's wrong with a simple
diff-file instead of instructions where to insert c-code? -.-
v4hn
A diff would be better, but my dwm has some other crap, and I
don't have the unmodified, and those are just excuses for the
fact that i don't know how to make
By the previous tags I mean the other tagset. It can be toggled with
view(0), MODKEY+Tab by default. If you want to add that functionality
to your patch add
selmon-seltags ^= 1; /* toggle sel tagset */
before
selmon-tagset[selmon-seltags] = newtags;
It will probably be
I suppose your goal was code economy, so maybe you don't care,
but: by
not adding the code to deal with repeats, you're forcing the resulting
release/press pairs to be handled by the toplevel event loop, one
undoing the effect of the other.
Visually though it shouldn't be an issue: like
There are various functions I think you could use. apropos XCheck?
In particular, XCheckIfEvent seems well suited to this situation-
-feed
in a predicate which specifically finds the repeated KeyPress (matches
time, key, etc.). But this can perform unnecessary computation
since it
am finding it pretty useful.
- Original Message -
From: Ethan Grammatikidis eeke...@fastmail.fm
Date: Wednesday, October 6, 2010 1:54 pm
Subject: Re: [dev] [dwm] tagging interface
To: dev mail list dev@suckless.org
On 23 Sep 2010, at 3:28 am, Wolf Tivy wrote:
Can you explain what
What should we do for programs which need controls which don't
repeat? Make a new kind of input device which looks just like a
keyboard but
which isn't because keyboard keys repeat, by definition?
Obviously some programs do need non-repeats, in which case, by all means, jump
thru the
Yeah, I just wasn't so keen on having to hold down each number when
selecting tags, so I tried to alter it so you could do something like
so:
KeyDown: Modkey
KeyPress: 1
KeyPress: 2
KeyUp: Modkey
to select 1 | 2, obviously, rather than
KeyDown: Modkey
KeyDown: 1
KeyDown: 2
KeyUp:
Hi everyone.
I have been using DWM now for a number of months, and so I am confused
as to why I'm having so much trouble recompiling surf. I have
downloaded it from the arch linux AUR. Can anyone let me
know the steps
that I should take to recompile with my changes to config.h?
I've been interested in sta.li for a while but luck has been against me.
surf leaks memory or something at maximum speed when I visit the
elevenislouder link on the sta.li website, and hg hangs trying to clone
hg.suckless.org/stali-toolchain. Furthermore, the hg repository hasn't
been touched in 7
Hello!
some fixes for sic attached. story below.
sic was saying error: cannot resolve hostname insert any host: Success so I
went to the source.
The Success was because the code was written assuming the failure would set
errno, but it didn't.
I fixed it to print out the right error message, but
Ok, it works if I make the port 6667, which is also not in my /etc/services.
Should port just be 6667 instead of mucking around with symbolic port
resolution?
- Original Message -
From: Wolf Tivy wti...@my.bcit.ca
Date: Saturday, October 9, 2010 9:27 pm
Subject: [dev] [sic][patch] fixes
So moving towards that ideal, my first step would be some good
documentation or tools for gettign ABS to build static with bionic or
uClibc or whatever, and then a statically linked pacman repository.
But that's only for the hacked archlinux form of sta.li.
That goes further than what I
2. Demonstrate stand-alone static binaries that have been linked
against bionic/x86.
This assumes we have bionic itself working. Has anyone actually built it
without building all of android? I got the source, but I can't make it build.
I've tried a few things, but I hate makefiles. Especially
It can be built alone with jam I _think_, I've been toying with
it but
it takes some work and I haven't gotten it all figured out (it seems
to be making incorrect assumptions about where some header files are,
and missing some files that i think get moved around by the whole
build), and as
I've managed to make it compile a good chunk of the object files,
but not malloc/free so its somewhat wasted.
It'll talk eventually, keep up the pressure.
When I get a chance to go at it again I believe the android distribution
has some clean kernel headers included. I may try to move those to
Instead of going the NetSurf route, I would suggest to re-use the
chromium source code, even if it's much more monstrous than webkitgtk.
surf could become a headless chromium where each surf window behaves
exactly like a chromium tab (+ some dashboard surf window on demand
like for downloads
2) dmenu v4.2.1 appears to be leaking memory. It is missing the
routines to teardown/cleanup memory structures present in previous
versions. This patch also adds them.
dmenu doesn't run long and the OS frees all the memory used
by the process. Once it's decided that the process is going to
I think we should stop creating unwanted complexity. As for all
suckless software our goal is to create software that works for
everyone without having tons of configure options and features to
choose from. For those exceptional cases where people use something
like dmenu in a modified way
Hi everyone!
I found a little bug in my combo patch. The mouse click tagging stuff
doesn't use keypresses, so my code got a bit confused. No big deal
but incorrect. I'm going to update the wiki but I thought I'd let
you all know in case anyone is using it. If you aren't using it, you
really ought
oops. That patch just moved the bug. This one squashes it.
- Original Message -
From: Wolf Tivy wti...@my.bcit.ca
Date: Wednesday, November 24, 2010 9:18 pm
Subject: [dev] [dwm] combo patch bugfix
To: dev@suckless.org
Hi everyone!
I found a little bug in my combo patch. The mouse
Hi everyone, I added an option for automatically joining a channel. I find it to be pretty useful. Makes sic easier to use in scripts.Updated the man page with the new option too. Don't forget to quote or the rest of the command gets eaten by the #. Also included in the patch is the fix for that
You may find it a bit silly question, but what is the proper way to
replace standard status bar info with dzen2?
I do have my fancy sh script that generates everything I want to be
displayed. I just don't know how to put it in the status bar.
Print it to standard out. Pipe it to dzen2.
I have recently tried and compared surf with uzbl. surf is much snapier and
manages all google related websites like a charm. the biggest drawback that
i find is its inability to remember passwords or usernames as I type them
into websites. this sort of negates its snappiness since i have to
Totally +1. I'd like to have a patch just for this two things, too. I don't
need the navigational stuff although it sounds interesting but I think these
are unrelated changes.
Two things? I thought the homepage thing was pretty nifty too. :) Is
that what you mean by navigation stuff? The
Hi!
Here is a patch that moves the spacial navigation option to a more
conspicuous location so that it is easier to change. The other options
like it (loadimages, plugin, script) were already there so I just put it
with them. I don't know why this wasn't done in the first place when the
others
JS execution brings me to a kind of semi-related topic... Did anybody try
to enable/integrate the webkit developer console in surf? I like these in
other browsers for the DOM inspection and resource tracking.
Maybe could have a look at uzbl ( http://www.uzbl.org/ ) iirc it
implements
like this in your .xinitrc:
while true
do
xsetroot -name `date` `uptime | sed 's/.*,//'`
sleep 1
done
exec dwm
That's what you want, put that wherever your DM expects it.
This thread is a train wreck of confusion, ignore everything but that
script.
As
As for tags, I think joining two tags in the current view was one of
the early aha moments I had when implementing dwm.
Not using this feature frequently is fine though. But you will develop
new working styles when joining tags that you haven't previously
considered possible.
Cheers,
i really like dillo because it is fast, but i would really like to
control it like surf ...
so i would propose to use neither fltk nor gtk for a dillo gui.
Agree. However, I think you still need some kind of widget
madnes for html forms.
Too bad most of the web requires javasuck these days,
40 matches
Mail list logo