Re: [dev] Lessons Learned from 30 Years of MINIX

2016-03-06 Thread stanio
* Anselm R Garbe 2016-03-06 15:56 > I agree, though this is not stricly a problem with monolithic approaches > either. > In the end you have to trust the process governor to limit the > privileges of a process (or thread) to its specification/requirement. > If the governor is only one SPOF

Re: [dev] Lessons Learned from 30 Years of MINIX

2016-03-06 Thread stanio
* Anselm R Garbe 2016-03-06 14:20 > On 6 March 2016 at 13:47, robin wrote: > > Microkernels defenitely resonates with the unix philosophy "do one thing and > > do it well". > > Having everything, except FUSE and such, in the kernel is doing more than > > one thing. >

Re: [dev] [surf] Why yank to primary instead of clipboard?

2016-02-03 Thread stanio
* Kamil Cholewiński 2016-02-03 10:05 > On Wed, 03 Feb 2016, robin wrote: > Middle click. > [...] > Yes, this is really confusing and frustrating, I have to reach for the > mouse when otherwise dealing with an almost keyboard-only environment. try Shift-Insert

Re: [dev] Fmask [c posix]

2015-12-30 Thread stanio
meta-meta * Hiltjo Posthuma 2015-12-30 12:21 > What's next? Linking interesting tweets? https://twitter.com/ggreenwald/status/682187313644998656

Mailing lists suck less. (was Re: [dev] Mailing lists sucks.)

2015-12-13 Thread stanio
mailing lists rock as much as it gets in the field. and as a side note: http://www.wired.com/2015/09/sorry-ello-real-anti-facebook-good-old-email/ cheers --s

Re: [dev] [sbase] cal doesn't highlight current day

2015-11-16 Thread stanio
Hi * Manu Raster 2015-11-16 22:45 > Another really useful function would be an optional column in the > calendar displaying 'ISO week dates' (DIN ISO 8601). They are quite > common in business parlance but I haven't seen them in any cal command > yet. you might give ncal a try. (it comes from

Re: [dev] [surf] Using more memory than firefox

2015-06-02 Thread stanio
* Ivan Tham 2015-06-02 16:37 Extra: How do I open a link in surf using the keyboard in the current window and in a new window? vanilla surf: when carret browsing is active, you may search for the link's text and press enter (opens in the current window). otherwise: look at the

Re: [dev] [sbase][offtopic] sbase in the wild

2015-03-13 Thread stanio
* Vampyrah Broadcasting 2015-03-13 21:11 My teacher is pregnant, so our class made a present for her: personally painted rompers. I decided to put cat.c 20150303 from sbase on the romper truly brilliant, Dennis! --s

Re: [dev] st: selecting text affects both primary and clipbaord

2015-03-12 Thread stanio
* Alex Pilon 2015-03-12 15:17 Also, do most numpad-less laptop keyboards even have Insert all I've ever seen do. or a middle mouse button? some do have middle. all i've ever seen have at least 2 buttons. you can emulate middle button as simultaneous left+right. --s

Re: [dev] st: selecting text affects both primary and clipbaord

2015-02-20 Thread stanio
* k...@shike2.com 2015-02-20 17:39 I agree here, it shouldn't modiy the CLIPBOARD seletction. Sometime is good to have different things in both selections. If nobady claims about it I will apply your patch. I'd leave it as is, in order not to break scrips which expect to read something from

Re: [dev] st: selecting text affects both primary and clipbaord

2015-02-20 Thread stanio
* Greg Reagle 2015-02-20 20:07 It is true that the only reason I select text in st is to copy it, but I still don't want it clobbering my clipboard. does the current behaviour break some scripts or habits of yours and how?

Re: [dev] keyboard layouts and shorcuts

2015-02-19 Thread stanio
shortcuts to stay on the same key +1

Re: [dev] [website] [proposal] Add suckless logo and minor style change

2015-02-03 Thread stanio
* FRIGN 2015-02-03 14:35 The entire suckless-website has a horizontal approach with only one thin dotted line separating the menu from the content. hm. apart from the ss discussion, an appealing variant would be to vertically align suckless.org with the content in the main area. (whether the

Re: [dev] Found a bug in surf

2015-01-21 Thread stanio
* Vampyrah Broadcasting 2015-01-21 19:34 I wanted to copy the current URL. Is there any way to do this? Hi, Ctrl+y (mnemonic yank) The manpage describes the default keybindings. cheers --s

Re: [dev] Found a bug in surf

2015-01-21 Thread stanio
* Vampyrah Broadcasting 2015-01-21 19:50 Ctrl-y does nothing. how do you test? you try to paste, I guess. could be an issue of copy and paste addressing different selections. after yanking (i.e. ctrl-y) you might try xclip -o -selection primary xclip -o -selection secondary

Re: [dev] Found a bug in surf

2015-01-21 Thread stanio
* Vampyrah Broadcasting 2015-01-21 20:35 I tried xclip -o -selection primary and that worked I'm not an expert, but there are these primary and secondary selection, the clipboard and a bunch of other buffers. They differ in how the content is requested and exchanged and who owns the content

Re: [dev] surf vertical and horizontal same-origin policy patch

2015-01-08 Thread stanio
Hi sounds very interesting. thanks. will review, test and report when I get some spare time…

Re: [dev] [surf] [PATCH] add per-site user styles

2015-01-08 Thread stanio
* Christoph Lohmann 2015-01-07 21:46 cope with two goals: 1.) Make userstyles.org usable for surf. could you provide some examples of useful userstyles.org styles. All I've seen on userstyles.org is either for sites I don't visit regularly or is about setting a car (fire, skull) as background

Re: [dev] Operating system choice

2014-11-21 Thread stanio
* koneu 2014-11-21 13:22 + microkernel is inferior to monolithic in almost all aspects microkernel is beautiful --s

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

2014-10-09 Thread stanio
* hiro 2014-10-09 15:10 then buy a watch. very good point: does one need the time in the status if one has a a watch. the status bar is not selectable, or modifiable, it is not even read-only (you can't save it, colpy it etc.), it is look-at-only. think about this

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

2014-10-09 Thread stanio
* Martti Kühne 2014-10-09 15:59 ...sorry, but what about screenshots? sure, it is that simple: xwd | cut -d' ' -f6-11 | ocr | xclip -i ok, I admit, I should have written “for the most part” to be correct. --s

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

2014-10-09 Thread stanio
* Markus Teich 2014-10-09 16:01 I have no watch. They always break in the first year of wearing them. get an analogue, manual one, give it some love and it will love you for many years. Also I seldomly would like to copy the time to some place, so look-at-only is pretty good for me. if I

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

2014-10-09 Thread stanio
* Simon Lieb 2014-10-09 16:10 What about using the ClkStatusText click in dwm’s config.h buttons array to send status bar content to X selections ? what about sending date directly to X selections? :o) I mean, I get your point. Let me try another formulation: apart from looking at

Re: [dev] [PATCH] Reorder-and-extend-glyph-attributes

2014-07-31 Thread stanio
* Markus Teich 2014-07-31 12:39 at suckless conf last year 20h mentioned, he originally implemented blinking support to warn him about outlook and gmail users in mutt. epic! then he clearly needs at least two blinking modes: one for each. what about hotmail?

Re: [dev] [PATCH] Reorder-and-extend-glyph-attributes

2014-07-31 Thread stanio
you're doing great job with st, guys, keep up! didn't want to distract you from the discussion but couldn't resist 20h's briliant irony. --s

Re: [dev] xscreenshot(1) using suckless image format

2014-07-28 Thread stanio
Is there a reliable way to get the X id of a window in a shell script? This xwininfo could help. that's very helful, thanks a lot, Marcus! cheers --s

Re: [dev] Graphics library that sucks the least?...

2014-07-10 Thread stanio
* Evan Gates 2014-07-10 19:54 I like this idea with one qualification, when launched from a terminal the new program takes the place of that terminal. Ah, that reminds me, I once thought that tabbed which I otherwise don't find use for might be forced to act as placeholder for all the windows

Re: [dev] Misbehaving floating window in dwm

2014-07-03 Thread stanio
Similar issues arise with java windows when the wm name is not set. You might want to set it, e.g. by wmname LG3D http://tools.suckless.org/wmname --s.

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

2014-07-01 Thread stanio
* hiro 2014-07-01 13:45 I'd rather have the window manager manage all those persistent shell sessions. But tmux is such a beast that most people use is as their window manager in a window manager as well. tmux (or dvtm, or tabbed, or other multiplexer) run locally inside wm make sense for

Re: [dev] Plain text editor that sucks less - an alternative to VIM?

2014-06-30 Thread stanio
* Dimitris Zervas 2014-06-30 11:35 I am thinking of trying to implement vim key bindings one of these days (I can't work otherwise). that'd be great. including modes? --s_

Re: [dev] [st] [PATCH] Explicit cast in CEIL macro

2014-06-25 Thread stanio
* FRIGN 2014-06-24 17:07 Damn, you are right -.-. Back to the drawing board. FWIW CEILmy(x) ((int)(x) + ((x) - (int)(x) 0)) the porblem with CEIL(3.01) remains, though. --s.

Re: [dev] C coded lightweight Linux vector graphics editor

2014-06-23 Thread stanio
* Džen 2014-06-23 11:14 What about using pgf/tikz? do you mean as backend or as fileformat/syntax? tikz is quite powerful but I wouldn't call it simple. --s_

Re: [dev] C coded lightweight Linux vector graphics editor

2014-06-23 Thread stanio
* Džen 2014-06-23 13:09 As a back-end and syntax. TikZ actually is quite simple. The syntax is simple for simple things, true. But then you need to through it to pgf and tex and whether they as dependences make much sense… A lot of people find it difficult to use, but practice makes

Re: [dev][port] Porting sbase to Java

2014-04-02 Thread stanio
Thanks for bringing up that very important issue, I was annoyed too. Here is something else that bugs me a lot: PLEASE SPELL DWM HOW IT OUGHT BE DONE: IN CAPITALS. I suggest other suckless projects to do so either. And I would go so far to capitalize the executables, too. Though, that might be

Re: [dev][port] Porting sbase to Java

2014-04-02 Thread stanio
If the suckless community agrees, we can hire a designer to make each part of the slogan in an appropriate font and make a gif and a flash version of it. Then we can install mailing list software with support for automatically adding multimedia content to messages, before delivering them to the

Re: [dev][port] Porting sbase to Java

2014-04-02 Thread stanio
* Martti Kühne 2014-04-02 14:37 Uh, you are aware that date this thread was from is over now, do you? you're kidding me, right? Sounds to me like April 2 fools joke. --s_

Re: [dev] [proposal] Suckless Tox-Client as a Skype replacement

2014-03-24 Thread stanio
* hiro 2014-03-24 11:39 and SIP also has it's complexities which is clearly due to S http://youtu.be/yBkbj_S3etY (SCNR!) --s_

Re: [dev] [proposal] Suckless Tox-Client as a Skype replacement

2014-03-24 Thread stanio
* Nick 2014-03-24 00:01 Indeed I'm using Jitsi at the moment, despite the fact that it's in Java and has an interface that you'd expect for that. But it works, and is quite secure over the wire, and that counts for a great deal. Same here. I managed to force the parties I have video chat on

Re: [dev] [proposal] Suckless Tox-Client as a Skype replacement

2014-03-24 Thread stanio
Just to make two things clear: I'm not an expert in XMPP and SIP. The video came to my mind as I read the X argument: couldn't resist to post it. First time I saw it I spent quite some time to figure out whether it is fake. Ever since I love it. * FRIGN 2014-03-24 12:56 On Mon, 24 Mar 2014

Re: [dev] [proposal] Suckless Tox-Client as a Skype replacement

2014-03-24 Thread stanio
* FRIGN 2014-03-24 12:31 http://youtu.be/yBkbj_S3etY Looks like your mail went through a meat grinder. why? something wrong with the link? but you got there if you are citing the video description? sorry, don't get it. It was as offtopic as it gets anyway. --s_

Re: [dev] [proposal] Suckless Tox-Client as a Skype replacement

2014-03-24 Thread stanio
* FRIGN 2014-03-24 14:42 On topic, I would like to know how you would implement a chat client on the terminal. Dmitrij D. Czarkoff is all for a ii-like interface, but I'd be really glad to hear more opinions on that. Here you are: I'm fine with ii We can definitely look at things only with

Re: [dev] [proposal] Suckless Tox-Client as a Skype replacement

2014-03-24 Thread stanio
* Christoph Lohmann 2014-03-24 14:59 I’m waiting for bitlbee implementing tox. We already have really good IRC clients. +1 then you don't impose a particular interaction scheme on everyone. --s_

Re: [dev] What is bad with Python

2014-03-04 Thread stanio
* Szabolcs Nagy 2014-03-04 20:57 […] thanks you cared to explain --s.

Re: [dev] [dwm] Why fullscreen at all?

2014-02-23 Thread stanio
* Michael Hauser 2014-02-23 20:39 Why let applications that have their own fullscreen settings take away control from the window manager? [...] I may be missing something, but for most applications, unfloating them works just fine to return control, in your terms, to the dwm: they get managed

Re: [dev] [dwm] Why fullscreen at all?

2014-02-23 Thread stanio
* Michael Hauser 2014-02-24 01:13 sta...@cs.tu-berlin.de writes: I may be missing something, but for most applications, unfloating them works just fine to return control, in your terms, to the dwm: they get managed while they think they are full screen. (Here at least. I should admit I

Re: [dev] [dwm] Why fullscreen at all?

2014-02-23 Thread stanio
* Michael Hauser 2014-02-24 02:04 No, they do not float. If they did, I would be able to move or resize them. Also they cannot be toggled to float, as long in fullscreen mode. Try it and see. Don't have feh, ffx here; can't find how to go fullscreen in FBReader. I tried with midori, zathura,

Re: [dev] XML vs HTML (was: Article about suckless on root.cz)

2014-02-22 Thread stanio
* Hadrian Węgrzynowski 2014-02-21 22:16 Even if it would work, I think that web shouldn't be pixel-perfect, because we could just use some glorified-PDFs. It's utter nonsense that correct rendering of page is depending on some specific font and specific font size. It's utter nonsense to not

Re: [dev] XML vs HTML (was: Article about suckless on root.cz)

2014-02-22 Thread stanio
* Charlie Kester 2014-02-21 23:54 Or is the trend to create a separate, mobile version of the page, which simply changes the assumption to some smaller screen size? Or are people just ignoring the problem altogether? When they don't do and build a mobile version, it is often more usable than

Re: [dev] Re: Article about suckless on root.cz

2014-02-20 Thread stanio
Hi, Late reply, but surfing around reminded me you were about to write about surf. * Martin Kopta 2014-02-17 07:58 Next, the forth article will be about surf, so if you have any suggestion on what to include, please share. Looks like your audience has high technical pawareness. Still, I

tabs (was [dev] Re: Article about suckless on root.cz)

2014-02-17 Thread stanio
Hi, This answer by Christoph reminds me of something I wanted to ask: * Christoph Lohmann 2014-02-17 17:47 For surf you should mention the following points: * Integration with tabbed. I like the generality of the approach -- everithing should be embeddable the same way in a container with

Re: [dev] portable photoshop-like lite application based on C?

2013-12-02 Thread stanio
Hi, I've been envisioning a *very simple* GUI for doing - pointing, - selection, - moving a slider, which can be linked genericaly with most netpbm tools (I prefer netpbm to imagemagick). The command window would be simple a terminal. Some tools mostly just don't need gui (e.g. pnmtojpeg).

Re: Tags as tags (Was: [dev] Desktop warping for DWM?)

2013-11-17 Thread stanio
* FRIGN 2013-11-17 13:51 However, I already had gotten used to the workflow in a tiling manager. Having to use the mouse to scale the windows and rely on those few workspaces just showed me how much better it is to be able to assign tags to specific windows. This flexibility is just impossible

Re: [dev] tmux export buffer to pastebin

2013-07-19 Thread stanio
* Kai Hendry 2013-07-13 07:50 Since hopefully most of you are running http://st.suckless.org/ and tmux, perhaps you'll find this bind interesting: bind-key p capture-pane -S -32768 \; save-buffer /tmp/tmux-buffer \; run cat /tmp/tmux-buffer | curl -F 'sprunge=-' http://sprunge.us | tmux

Re: [dev] lynx?

2013-05-29 Thread stanio
* Thorsten Glaser 2013-05-28 20:25 Is there anyone on earth having figured out how to *use* that, as in navigate? with sth like this in your ~/.w3m/keymap it feels for me like surf (to be precise, surf feels like w3m). keymap C-u PREV_PAGE keymap C-d NEXT_PAGE

Re: [dev] lynx?

2013-05-28 Thread stanio
* markus schnalke 2013-05-28 13:07 these days, lynx was often mentioned when a text browser was meant. Is there really someone (apart from mirabilos) who uses lynx? Don't you rather use w3m? me. rarely intereactively, though. More with -dump. I do query dictionaries or similar which happen to

Re: [dev][surf]Some questions about surf.

2013-04-14 Thread stanio
* Hugues Moretto-Viry 2013-04-14 13:42 - Is there a way to define a default font as we do with dwm or tabbed? After looking the sources, I guess we can't for now. No. You probably are aware that you can put sth like this in .surf/style.css, but for the sake of completeness: *

Re: [dev] [surf] introduce .gitignore

2013-03-15 Thread stanio
Hi, * Alexander Huemer 2013-03-15 09:55 On Fri, Mar 15, 2013 at 04:16:01AM +0800, Chris Down wrote: Not adding file to the index has nothing to do with git knowing what to do. In a more complex directory structure like the following you want to be able to do 'git add dir1' and then have

Re: [dev][surf] [PATCH] Fixed keys handling for multilayout environments.

2013-03-15 Thread stanio
* Alexander Sedov 2013-03-15 16:13 There is a bug in GTK+ that does not allow capturing shortcuts using letter keys on layouts other than us. The bug is there for ages and there is probably no hope that it will get fixed. This patch switches shortcut handling method to GtkAccelGroup, which

Re: [dev] web browsers

2013-03-10 Thread stanio
* hiro 2013-03-10 14:26 default? is there a list of features not supported so I can check if my issues are not covered? no, of course. this is an ill posed problem. it would take infinite time and space to write or read. but feel free to start one. It might turn out to be fun to see what

Re: [dev] web browsers

2013-03-10 Thread stanio
* Nick 2013-03-10 16:56 triggered, no popup blockers seem to work on them (I'd guess adblock disables the appropriate .js, though privoxy doesn't out of the box.) same frustration here. --s.

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

2013-02-21 Thread stanio
* Sam Watkins 2013-02-21 06:21 or other tools with simpler regexps: html_split | grep '^!--' | sed 's/!-- *//; s/ *--$//' Yeah, I find this more readable. I'd even get rid of grep, sed is perfect for the job sed -n '/\s*^!--/{ s/!-- *//; s/

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

2013-02-21 Thread stanio
* sta...@cs.tu-berlin.de 2013-02-21 10:16 sed -n '/\s*^!--/{ shit. of course: sed -n '/^\s*!--/{ s/!-- *//; s/ *--$//; p; q; }' --s.

Re: [dev][surf] disable scrollbars patch

2013-02-21 Thread stanio
* Carlos Torres 2013-02-21 16:34 Attached you'll find a patch that adds the -b flag to disable scroll_b_ars, they can also be disabled with config.h Great. Currently I'm using a gtk hack to make bars less annoying and got accustomed to having a non-intrusive indication about the pane size and

Re: [dev] surf 0.6 issues

2013-02-17 Thread stanio
* Jens Nyberg 2013-02-17 16:14 2013/2/17 Donald Allen donaldcal...@gmail.com: 1. Attempting to play youtube videos frequently results in youtube reporting that This video is currently unavailable. after briefly Remove your cookie file. ~/.surf/cookies.txt probably. That will solve that

Re: [dev] [surf] patch for style toggling

2013-02-17 Thread stanio
* Christoph Lohmann 2013-02-16 16:30 The toggling has a relevance, but your »code.txt« should be a patch on yeah, sorry for not sending proper patch, my surf is ancient. I have to update it next days. But still, I think it doesn't hurt to have the function as I do. Then, you can have a

Re: [dev] [surf] patch for style toggling

2013-02-16 Thread stanio
. You seem to ignore the Arg function argument, which I use for saying which stylw. In combination with a modified simplyread() Javascript heurisic someone posted here a while ago, browsing is ok. Attached the relevant code. cheers --s. {MODKEY, GDK_t, setstyle, { .v = /home/stanio

Re: [dev] Find window with dmenu

2013-02-12 Thread stanio
* markus schnalke 2013-02-12 16:39 The following is NOT portable: sed -E 's/\s\+// ; /(vim|surf):/d' http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html If you want sed with Extended Regular Expressions, take awk. :-) For the particular case of emulating these multiple

Re: [dev] [dwmstatus] Mail counter

2012-12-21 Thread stanio
* s...@alternametz.org 2012-12-21 19:20 To me the less in suckless was nearer to the german suffix los than to german weniger but it's maybe a bit idealistic. It is. “suckless.org software that sucks less” http://suckless.org/philosophy best --s_

Re: [dev] I'm back

2012-11-22 Thread stanio
* Sam Watkins [2012-11-22 04:58]: On Wed, Nov 21, 2012 at 12:45:35PM +0100, sta...@cs.tu-berlin.de wrote: - borders are useful means yes to borders configuration border-width: 0 means no borders. problem solved how??? Either me or you misunderstood the other one. cheers --s_

Re: [dev] I'm back

2012-11-21 Thread stanio
- borders are useful - the information in the bar is quite useful, too. Don't mind if it is provided separately. But isn't it too much ofa hassle to interface it with dwm then? - never used mouse in the bar, and don't plan to. cheers --s_

Re: [dev] [surf] Disable javascript

2012-11-15 Thread stanio
* s...@alternametz.org [2012-11-15 12:56]: As a side note, I wonder how difficult would it be to create a generic toggle function for surf which could be called with any WebKitWebSettings boolean parameter in config.h such as auto-load-images, enable-scripts and so on ... look for

Re: [dev] [surf] Disable javascript

2012-11-15 Thread stanio
* sta...@cs.tu-berlin.de [2012-11-15 14:34]: * s...@alternametz.org [2012-11-15 12:56]: As a side note, I wonder how difficult would it be to create a generic toggle function for surf which could be called with look for 20120602113939.GA26438 in your mailbox or

Re: [dev] [surf] Disable javascript

2012-11-15 Thread stanio
* Nick suckless-...@njw.me.uk [2012-11-15 15:47]: Insert mode? Since when did surf become modal? Why is this needed (except for people who like to pretend they're using vim)? I agree, insert mode is quite special and maybe is worth having it as a patch rather than in mainline surf. It makes

Re: [dev] [st] toggle font

2012-10-11 Thread stanio
Hi, * Stephen Paul Weber singpol...@singpolyma.net [2012-10-11 15:56]: Somebody claiming to be sta...@cs.tu-berlin.de wrote: This patch (against tip) introduces an array of font names in the config instead FONT and allows to cycle through them with Ctrl-PgUp at runtime. I also need multiple

[dev] [st] toggle font

2012-10-09 Thread stanio
Hi, This patch (against tip) introduces an array of font names in the config instead FONT and allows to cycle through them with Ctrl-PgUp at runtime. I missed this feature a lot when light conditions and distance to display change, often so with a notebook, even more when different displays

Re: [dev] [st] Removing timeouts in main loop

2012-09-16 Thread stanio
* Roberto E. Vargas Caballero k...@shike2.com [2012-09-16 09:48]: The main loop waits until there is some data to read in file descriptors of the X server or the pseudo tty. But it uses a timeout in select(), which causes that st awake each 20 ms, even it doesn't have something to do. This

Re: [dev] [surf] eval() not needed?

2012-07-07 Thread stanio
{ CTRL, GDK_c, eval, STRING(removeHints()) eval expects arg-v to be char**, so your STRING resolves to sth like { .v = (const char *[]){simplyread(false, false) } } right? cheers --s_

Re: [dev] [surf] eval() not needed?

2012-07-06 Thread stanio
* Troels Henriksen at...@sigkill.dk [2012-07-06 09:31]: eval() was never needed per se. I put it in because you need it if you want robust keybindings to functions defined in script.js, and you need Ok. Didn't know. And still don't really get it... Can you give a hint? search of 'eval'

Re: [dev] [surf] eval() not needed?

2012-07-06 Thread stanio
* Troels Henriksen at...@sigkill.dk [2012-07-06 12:06]: sta...@cs.tu-berlin.de writes: * Troels Henriksen at...@sigkill.dk [2012-07-06 09:31]: I'm not sure what you mean by insert mode. the insert mode patch would let you have 2 modes of ui: - in normal mode, keystrokes are interpreted as

[dev] [surf] eval() not needed?

2012-07-05 Thread stanio
Seems like eval() is not needed for some time now. The trivial patch against tip to remove it is attached. --s_ diff -r e59e78e072e1 surf.c --- a/surf.cFri Jul 06 00:59:17 2012 +0200 +++ b/surf.cFri Jul 06 01:04:04 2012 +0200 @@ -827,12 +827,6 @@ } void -eval(Client *c, const Arg

Re: [dev] dwm tip changes

2012-06-24 Thread stanio
* Arian Kuschki arian.kusc...@googlemail.com [2012-06-23 23:52]: half/half editor/pdf file), it makes sense to put an app into full screen and then make it smaller again. +1 fullscreen often just happens to be the window mode which provides the best view. It is helpful to be able to tile the

Re: [dev] dwm tip changes

2012-06-24 Thread stanio
* Anselm R Garbe garb...@gmail.com [2012-06-24 11:06]: The problem with floating is that it toggles the client state. If initially treated as floating window, it will toggle to the tiled/monocle/.. layout. If then toggled back to floating, it won't be resized to fullscreen mode. This sucks

Re: [dev] [surf] crash when leaving a page containing java

2012-06-16 Thread stanio
* pancake panc...@youterm.com [2012-06-15 18:07]: it is possible to disable all plugins (flash/java..) in surf? That't how I browse around most of the time. I posted a toggle patch a week or two ago; search for message id 20120602113939.GA26438 or look here

[dev] [surf] generic toggle patch

2012-06-02 Thread stanio
Hi, Here is a simple patch to toggle binary webkit features by name. --s_ diff -r 51a6d05c2c84 config.def.h --- a/config.def.h Mon Mar 26 09:33:42 2012 +0200 +++ b/config.def.h Thu May 31 09:31:38 2012 +0200 @@ -42,4 +42,8 @@ { MODKEY, GDK_f, spawn,

[dev] [surf] alternate style patch

2012-06-02 Thread stanio
I use this as a simple heuristic to make some broken web pages more readable. It's proven very useful for reading news, docs, all sorts of long text, where the content is more important than what the author assumes is the best appearance. The patch just alternates the default and text_style css.

[dev] [surf] insert mode patch

2012-06-02 Thread stanio
Most of this code is certainly not by me, but I couldn't find such patch, and I tought it could be useful to have around. Surf starts in 'normal' mode, where all your keybindings have effect with and without pressing the modkey, e.g. both 'j' and '^j' scroll down a line. Pressing 'i' in

[dev] [surf] zoom text patch

2012-06-02 Thread stanio
This patch enables zooming text only, i.e. increase/decrease font size and preserve other elements' sizes. --s_ diff -r 51a6d05c2c84 config.def.h --- a/config.def.h Mon Mar 26 09:33:42 2012 +0200 +++ b/config.def.h Thu May 31 19:30:14 2012 +0200 @@ -32,6 +32,9 @@ {

Re: [dev] [surf] status area patch

2012-06-02 Thread stanio
* Kurt Van Dijck kurt.van.di...@eia.be [2012-06-02 19:48]: Have you tought on indicating the normal/insert mode of your earlier patch? Kurt yes. but then the patch depends on the insert mode patch. I would avoid dependencies where not needed. It is straightforward to add, though.

Re: [dev] [surf]keybind to scroll left/right

2012-05-24 Thread stanio
* Thuban thu...@singularity.fr [2012-05-24 07:53]: I was wondering if there is any way to have a keybind to scroll left or right, just like you can scroll up and down with C-k and C-j? sure. Here an example: - config.h - { MODKEY, GDK_j, scroll_v, { .i = +1

[dev] recommend suckless mail server

2012-04-20 Thread stanio
Hi, Can anyone suggest a suckless mail server? We need encrypted IMAP and SMTP. Or a suckless tool chain which achieves the above (e.g. instead SSL aware IMAP server, rsync a maildir from server machine to local machine) Thanks for any suggestions where to look into or if you share your

Re: [dev] regarding surf and cookie handling

2012-02-22 Thread stanio
userbase of 5 ;) the age of understatement... -- s.

Re: mouse tag switching with alternative keyboard layout (was [dev] Re: skype gui interface)

2012-02-04 Thread stanio
What versions of dwm are you using? Patched dwm based on changeset 64eb02a74f2b (Tip from end of September 2010). Wouldn't bother to apply the fix anyway, but thanks for replying -- I couldn't remember discussing such bug on the list. -- s.

Re: [dev] [dwm] Fullscreen programs in tile mode

2011-11-23 Thread stanio
In my setup and experience fullscreen brings programs to floating, e.g. xpdf, xzgv, flash player. If you then toggle floating for that window (Mod-Shift-Space), they get tiled. Isn't that what you want? * Manolo Martínez man...@austrohungaro.com [2011-11-23 10:11]: The question is, is there any

Re: [dev] Suckless Desktop Environment

2011-11-07 Thread stanio
* Christoph Lohmann 2...@r-36.net [2011-11-07 20:23]: terminology to make suckless more usable for the press. [...] Instead a whole environment could be promoted, which is usable across platforms. Why? Promote to whom? What is your final goal: to educate the masses in order to get better

Re: [dev] [surf] downloads

2011-11-05 Thread stanio
* Nick suckless-...@njw.me.uk [2011-11-04 19:30]: I'll look myself, but if anyone else finds one, please let us know. I've rarely had troubles downloading anything, maybe beacause I rarely do so from crappy places; Untl recently when I repeatedly got this on arxiv.org trying to download a pdf

Re: [dev] [surf] downloads

2011-11-05 Thread stanio
* sta...@cs.tu-berlin.de I post this anyway, someone might find it useful. Of course, something like Mozilla/5.0 (X11; U; Linux; en-us) AppleWebKit/531.2+ (KHTML, like Gecko, surf-VERSION) Safari/531.2+ would make more sense. Don't know how to use the static char useragent in the macro.

Re: [dev] [surf] downloads

2011-11-05 Thread stanio
* Troels Henriksen at...@sigkill.dk [2011-11-05 12:51]: There is a fix for this that involves using the webkit_download_get_suggested_filename function and passing it to wget's -O option, but I can't figure out how to prevent clobbering of an that might work?

Re: [dev] [surf] downloads

2011-11-05 Thread stanio
* Étienne Faure tinou...@gmail.com [2011-11-05 14:29]: I'm afraid not. I tested it quickly for the same vim.org issue: webkit_download_get_suggested_filename(o) returned download_script.php instead of, in this case, TagmaBufMgr.zip. I'm afraid, then curl won't do either. To be honest,

Re: [dev] [surf] downloads

2011-11-05 Thread stanio
* Étienne Faure tinou...@gmail.com [2011-11-05 14:59]: On Sat, Nov 5, 2011 at 14:40, sta...@cs.tu-berlin.de wrote: I'm afraid, then curl won't do either. As a matter of fact, it does: great. then use curl. It's acceptable dependence, just as much as wget is. Renaming the file

Re: [dev] [dwm] 2000 SLOC

2011-11-02 Thread stanio
* hiro 23h...@googlemail.com [2011-11-02 10:11]: I once envisioned a Plugin to directly go to Print Views of websites, since they tend to have considerably less suck on them. I used to do the same thing, also I processed these pages with a few scripts and htmlfmt. Do you mean, you plug

  1   2   >