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 (monoli

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. > > IMHO the architectural deci

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 cheers --s

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 Fre

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 surf.suckless

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] Suckless unit testing in C?

2015-02-26 Thread stanio
* FRIGN 2015-02-26 10:43 > M Farkas-Dyck wrote: > > Sanity is not a democracy. > > Exactly! But having unwrapped lines corresponds to anarchy. And anarchy is > for idiots. A. can diverge badly but also (surprisingly to many) converge to very much sane results. I'd rather consider the ~70-wrappin

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] 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 fr

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 d

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 afai

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 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] [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] 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] tabs and clipboard

2015-01-04 Thread stanio
Hi, * Markus Teich 2015-01-04 13:03 > think). Since I also mostly use mono/fullscreen mode of dwm, opening single > Windows with no tabbing capability seems rather useless (more windows in the > view, more time spent finding the right one). how is searching in tabbed windows different from (bett

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] tax on internet?

2014-10-28 Thread stanio
* FRIGN 2014-10-28 16:10 > I know of the high poverty in Hungary. However, if you can't afford 3 > potatoes, why do you worry about an Internet tax? wait, wait, this is misconception. we are far beyond the point that internet connection is luxury good and you only need it after you've payed all th

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 i

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

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
* 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] [PATCH] Reorder-and-extend-glyph-attributes

2014-08-02 Thread stanio
Hi, * Christoph Lohmann 2014-08-02 11:34 > As mentioned in my last e‐mail: The number of sucking e‐mail providers > is greater than two, which requires variable blinking definitions to im‐ > plement e‐mail awareness correctly. > > Thinking this further would allow a simple integration of a glob

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] [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] 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 lo

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 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 perfe

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] Lightweight, non-bloated, fast image viewer?

2014-06-14 Thread stanio
* Charlie Murphy 2014-06-14 18:15 > If netpbm tools supported alpha, […] don't they? pam(5)'s _ALPHA extension --s.

Re: [dev] Microblogging?

2014-05-27 Thread stanio
hi, * Nick 2014-05-27 16:38 > That would be worth looking into, I'd have thought. Beyond that, > there's probably some IRC thing like bitlbee (maybe even bitlbee) > that can post to twitter et al, if that's your thing. yes, bitlbee implements some basic commands to interact with twitter. I have

Re: [dev] [GENERAL] License manifest

2014-05-13 Thread stanio
Hi, * Anthony J. Bentley 2014-05-13 04:31 > Summaries and general concepts are pointless because they are not what is > legally in effect. The only sensible license is one that is so simple that > it needs no summary. No. Every license, even two lines long, (and even the lack of a license) puts t

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][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

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 t

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] [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 wit

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
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 12:3

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 o

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] 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-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, zathur

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 > >

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 man

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

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] 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 fee

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] [surf] [PATCH] cookie policy

2014-01-30 Thread stanio
* Christoph Lohmann 2014-01-30 15:17 > About the modestring: The modestring is a given institution and > won’t be extended. If more than the alphabet is needed, something is re‐ > ally going wrong in the web. really really? how could that come! > Any comments? Regarding cookies: Vanil

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). Launc

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 impossi

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 > | t

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

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: * {font-f

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, whic

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 ha

Re: [dev] web browsers

2013-03-10 Thread stanio
* hiro 2013-03-10 17:20 > opera you can have usercss and userscripts on a per site basis. Does > someone have a good working system like that using surf? > -having to scroll horizontally because some stupid text doesn't fit in > fullscreen 1024x768 browser window I have 3 custom css bound to som

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] 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 peo

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] Makefile/markdown based static site generator

2013-02-21 Thread stanio
* sta...@cs.tu-berlin.de 2013-02-21 10:16 > sed -n '/\s*^$//; > p; > q; > }' --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 '^$//' Yeah, I find this more readable. I'd even get rid of grep, sed is perfect for the job sed -n '/\s*^$//; p; q; }' --s.

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 trivi

Re: [dev] surf 0.6 issues

2013-02-17 Thread stanio
* Jens Nyberg 2013-02-17 16:14 > 2013/2/17 Donald Allen : > > 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 problem. Man, wor

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

2013-02-16 Thread stanio
e posted here a while ago, browsing is ok. Attached the relevant code. cheers --s. {MODKEY, GDK_t, setstyle, { .v = "/home/stanio/.surf/text_style.css" } }, {MODKEY|GDK_SHIFT_MASK,GDK_t, setstyle, { .v = "/home/stanio/.surf/text_style_day.css" } }, {MODKEY,

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 m

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
* Nick [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 character handling less

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 > http://permalink.gm

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 201

Re: [dev] [st] toggle font

2012-10-11 Thread stanio
Hi, * Stephen Paul Weber [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 fonts, but I find

[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 plugg

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

2012-09-16 Thread stanio
* Roberto E. Vargas Caballero [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 > patch removes t

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 [2012-07-06 12:06]: > sta...@cs.tu-berlin.de writes: > > > * Troels Henriksen [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 if you were holding MODKEY

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

2012-07-06 Thread stanio
* Troels Henriksen [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' within surf.suckless

[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 *arg

Re: [dev] dwm tip changes

2012-06-24 Thread stanio
* Anselm R Garbe [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 more imho. I see

Re: [dev] dwm tip changes

2012-06-24 Thread stanio
* Arian Kuschki [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 window in this mode just as

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

2012-06-16 Thread stanio
* pancake [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 http://lists.suckless.org/dev/1206/11716.html the relev

Re: [dev] [surf] patch to remove resizing if small

2012-06-11 Thread stanio
* pancake [2012-06-11 17:05]: > Anyway, i have noticed that META-h means go back and scroll left, which probably that originates from the snippet I posted and didn't post the proper patch. In that case META-l should have the same issue. I have MOD|SHIFT-l/h for history navigation while MOD-l/h

Re: [dev] [surf] patch to remove resizing if small

2012-06-11 Thread stanio
> So, here is a patch to tip removing it. I think it should be applied > to tip by somebody with Power. +1 --s_

Re: [dev] [surf] status area patch

2012-06-02 Thread stanio
* Kurt Van Dijck [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. togglestat[5] = '\0';

[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 @@ { MODKEY|GDK_SHIFT_

[dev] [surf] status area patch

2012-06-02 Thread stanio
This patch writes several letters in the beginning of the title which represent the current status of boolean options: capital 'I' means 'showing images is enabled', while 'i' means it is disabled. Same for javascript, plugins, caret browsing,... I've had several implementations of this for a year

[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 'norma

[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. F

[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, SETPROP(

  1   2   >