Re: [dev][st][patch] new utf decoder

2014-03-21 Thread Silvan Jegen
Heyho On Thu, Mar 20, 2014 at 5:39 PM, Damian Okrasa dokr...@gmail.com wrote: Hey, this patch replaces current utf decoder with a new one, which is ~50 lines shorter and should be easier to understand. Parsing 5 and 6 sequences, if necessary, requires trivial modification of UTF_SIZ

Re: [dev][st][patch] new utf decoder

2014-03-21 Thread Silvan Jegen
On Fri, Mar 21, 2014 at 10:39 AM, Silvan Jegen s.je...@gmail.com wrote: Benchmarking the decoder with time for i in `seq 1`; do cat UTF-8-test.txt; done; Turns out that was a stupid idea since this approach probably just measures the time cat needs to start x1. If I create a file

Re: [dev] [st] problems with terminfo entries and zsh

2014-03-21 Thread Nils R
Roberto E. Vargas Caballero schrieb am 18.03.2014 12:30: You should read terminfo(5) I have no idea what the differences between home and khome are or why two versions for home exist. Anyway, here are my results: home is the definition for the home sequence, is the sequence that a

[dev] Project Oberon

2014-03-21 Thread Paul Onyschuk
I'm not completely sure if it's in interest of this mailing list, but underlying philosophy isn't far away from that of suckless community. Hope I don't upset anyone too much by posting this, on the other hand maybe someone will find it useful. I won't describe in detail what Oberon is, since

Re: [dev] Project Oberon

2014-03-21 Thread FRIGN
On Fri, 21 Mar 2014 12:51:26 +0100 Paul Onyschuk bl...@bojary.koba.pl wrote: I'm not completely sure if it's in interest of this mailing list, but underlying philosophy isn't far away from that of suckless community. Hope I don't upset anyone too much by posting this, on the other hand maybe

Re: [dev][st][patch] new utf decoder

2014-03-21 Thread FRIGN
On Fri, 21 Mar 2014 11:09:21 +0100 Silvan Jegen s.je...@gmail.com wrote: I ran the command only around 5 times so if the suckless community thinks performance is critical in this case we would need to do some proper benchmarking. Well, I do prefer slower, but more readable and thus

[dev] Using the scrollback from dvtm

2014-03-21 Thread Nick
Given dvtm's recent improvement to the I just want scrollback, don't draw your fancy stuff scenario I decided to install it for that. If I want to scrollback 2 pages, the only way I can see to do that is Ctrl-g pgup, Ctrl-g pgup. Which is quite a few keypresses. Is there a way to press a

Re: [dev] Using the scrollback from dvtm

2014-03-21 Thread Nick
Quoth Nick: If I want to scrollback 2 pages, the only way I can see to do that is Ctrl-g pgup, Ctrl-g pgup. Which is quite a few keypresses. Is there a way to press a prefix modkey, and have all presses of pgup and pgdown be taken as scrollback presses until something else is pressed? An

Re: [dev] Using the scrollback from dvtm

2014-03-21 Thread Bryan Bennett
On Fri, Mar 21, 2014 at 9:52 AM, Nick suckless-...@njw.me.uk wrote: Or should I be going about this in a different way? Try shift+PageUp/PageDn. This works for me in 0.11.

Re: [dev] Project Oberon

2014-03-21 Thread Paul Onyschuk
On Fri, 21 Mar 2014 13:18:45 +0100 FRIGN d...@frign.de wrote: I honeslty never heard of Project Oberon and I now read into the topic a bit more to find out. What bugs me is the fact Oberon is an object oriented programming language. This concept has already been discussed a lot on this ML and

Re: [dev] [st] problems with terminfo entries and zsh

2014-03-21 Thread Roberto E. Vargas Caballero
Now, the problem on openbsd is that there is no entry for {r,s}mkx once it gets installed with tic (checked with 'infocmp st'). I have no idea why, and will ask on their mailing list. Yeah, I had the same problem some time ago. Basically, OpenBSD curses does not use tic database anymore.

Re: [dev] Using the scrollback from dvtm

2014-03-21 Thread Nick
Quoth Bryan Bennett: On Fri, Mar 21, 2014 at 9:52 AM, Nick suckless-...@njw.me.uk wrote: Or should I be going about this in a different way? Try shift+PageUp/PageDn. This works for me in 0.11. Aaah, thanks, that's much better! I had to remap the xzoom keys from st, because my keyboard

Re: [dev][st][patch] new utf decoder

2014-03-21 Thread Damian Okrasa
utflen 181 utfencode35837 utfdecode 405641

Re: [dev][st][patch] new utf decoder

2014-03-21 Thread Damian Okrasa
Sorry for previous mail, but i had focus on send, and wanted to insert new line... It is number of function calls, on cat dwm cat UTF-8-demo yields: utflen 113 utfencode 8152 utfdecode 198346 So I think only utfdecode need to be optimised if necessary. 2014-03-21 19:00 GMT+01:00, Damian Okrasa

Re: [dev] Project Oberon

2014-03-21 Thread Aaron Burrow
However, and that's where I see the big problem, this system doesn't comply with the set of common POSIX-standards and thus would require huge changes or even complete rewrites of basic software we use every day. What do you think of minix 3?

Re: [dev] dmenu and unicode

2014-03-21 Thread Dmitrij D. Czarkoff
fREW Schmidt said: As far as I can tell dmenu doesn't work with unicode input. To see an example, check this out: perl -E'binmode(STDOUT, :encoding(UTF-8)); say \N{HEAVY BLACK HEART}' vs perl -E'binmode(STDOUT, :encoding(UTF-8)); say \N{HEAVY BLACK HEART}' | dmenu Anyone

Re: [dev] dmenu and unicode

2014-03-21 Thread fREW Schmidt
Just choose proper font, eg.: perl -E'binmode(STDOUT, :encoding(UTF-8)); say \N{HEAVY BLACK HEART}' | dmenu -fn -*-dejavu sans mono-medium-r-normal-*-*-*-*-*-*-*-iso10646-1 Shoot; I don't have that font. Is there a handy way to find out which fonts I have that work for this stuff? I

Re: [dev] dmenu and unicode

2014-03-21 Thread fREW Schmidt
On Sat, Mar 22, 2014 at 03:40:09AM +0100, Dmitrij D. Czarkoff wrote: fREW Schmidt said: Just choose proper font, eg.: perl -E'binmode(STDOUT, :encoding(UTF-8)); say \N{HEAVY BLACK HEART}' | dmenu -fn -*-dejavu sans mono-medium-r-normal-*-*-*-*-*-*-*-iso10646-1