Re: [dev] dvtm cmd-fifo issue

2014-01-26 Thread Peter A. Shevtsov
le for key-bindings are also available as fifo command. Thanks! -- Peter A. Shevtsov

[dev] dvtm cmd-fifo issue

2014-01-26 Thread Peter A. Shevtsov
ates new client OK When I do echo togglemouse > /tmp/dvtmfifo it doesn't work Also when I do echo focusn 2 > /tmp/dvtmfifo or echo setmfact "+0.05" > /tmp/dvtmfifo it doesn't work nither. Thanks! -- Peter A. Shevtsov

Re: [dev] mail clients

2013-06-11 Thread Peter A. Shevtsov
On 11/06/13 at 09:18am, Alex Pilon wrote: > Any body know of a suckless method of using IMAP mostly > offline/disconnected? Offlineimap sucks and is brittle. I'm quite happy with fdm[1]. [1] http://fdm.sourceforge.net/ -- Peter A. Shevtsov

Re: [dev] WebKitGTK/surf problems

2013-05-29 Thread Peter A. Shevtsov
no luck with web inspector :( -- Peter A. Shevtsov

[dev] WebKitGTK/surf problems

2013-05-27 Thread Peter A. Shevtsov
#x27;t respond, so I have to kill its process. Thanks. [0] http://crux.nu/gitweb/?p=ports/contrib.git;a=blob_plain;f=webkit/Pkgfile;hb=3.0 [1] http://surf.suckless.org/ [2] https://bitbucket.org/severusweb/ports/raw/71cadb6e225ebf2b650974630cdfb9560a6915d9/surf/Pkgfile -- Peter A. Shevtsov

Re: [dev] [st] "Del" key ain't working

2013-04-04 Thread Peter A. Shevtsov
On 04/04/13 at 04:33pm, Chris Down wrote: > This has been discussed on the mailing list many times before, please > search before posting. > > Chris Oh, it was in the FAQ! Sorry for the noise :( -- Peter A. Shevtsov

[dev] [st] "Del" key ain't working

2013-04-04 Thread Peter A. Shevtsov
framebuffer console I get ^[[3~ Thanks! -- Peter A. Shevtsov

Re: [dev] [surf] Weird WebInspector behaviour in surf-0.6

2013-02-26 Thread Peter A. Shevtsov
but in the other webkit-based browsers (except chromium, but it ain't built on webkitgtk). Can anybody share the configuration flags for building webkitgtk with working web inspector. Thanks! -- Peter A. Shevtsov

Re: [dev] [surf] Weird WebInspector behaviour in surf-0.6

2013-02-11 Thread Peter A. Shevtsov
On 11/02/13 at 08:57am, Gregor Best wrote: > On Mon, Feb 11, 2013 at 01:11:53PM +0700, Peter A. Shevtsov wrote: > > [...] > > I've tried all other Ctrl-Shift hotkeys and they all work fine. I also > > redefined Web > > Inspector to Ctrl-t and its behavior remains t

Re: [dev] [surf] Weird WebInspector behaviour in surf-0.6

2013-02-10 Thread Peter A. Shevtsov
On 11/02/13 at 06:38am, Christoph Lohmann wrote: > Greetings. > > First: That one is hard to debug. > > On Mon, 11 Feb 2013 06:38:07 +0100 "Peter A. Shevtsov" > wrote: > > Hello! > > > > It seems that new Web Inspector feature ain't work

[dev] [surf] Weird WebInspector behaviour in surf-0.6

2013-02-10 Thread Peter A. Shevtsov
hen I press the keys combination for the third time, Web Inspector pane dissapears. [1] http://ompldr.org/vaGZlcQ -- Peter A. Shevtsov

[dev] Re: [9base][awk] printf and utf-8

2013-01-21 Thread Peter A. Shevtsov
On 22/01/13 at 02:32pm, Peter A. Shevtsov wrote: > It seems that it counts every cyrillic letter as two, i. e. it ain't count > letters > (or runes) but bytes. Indeed, echo latin кириллица | /usr/local/plan9/bin/awk '{printf("%d %d\n", length($1), length($2))}' 5 18

[dev] [9base][awk] printf and utf-8

2013-01-21 Thread Peter A. Shevtsov
Hello, I've found the bug in 9base's awk. It seems that printf works incorrectly with utf-8 strings. The way it counts string lengs is weird: echo latin кириллица | /usr/local/plan9/bin/awk '{printf("[%20s][%20s]\n", $1, $2)}' and the output is: [ latin][ кириллица] It seems t

[dev] Re: Associative arrays implementation in rc shell scripts

2013-01-17 Thread Peter A. Shevtsov
bnwr on #suckless irc suggested two more variants: One, without bc forks -- http://vpaste.net/E91PL And another one as recursive function -- http://vpaste.net/tgCMz

[dev] Associative arrays implementation in rc shell scripts

2013-01-16 Thread Peter A. Shevtsov
Hello, I've made a simple associative arrays implementation in rc shell script. Thanks to bnwr on irc for the idea with odd and even indices. What do you think? I'm rc newbie and would like to improve my skills. Any feedback would be appreciated. Thanks! #!/usr/local/plan9/bin/rc path=$PLAN9/

Re: [dev] syntog - toggle synaptics touchpad

2012-12-26 Thread Peter A. Shevtsov
On 26/12/12 at 05:41pm, Chris Hall wrote: > On Wed, Dec 26, 2012 at 4:04 PM, Peter A. Shevtsov > wrote: > > that xssstate is redundant in your perfect world where xautolock and xidle > > exists! > The latter 2 suck hard, xssstate is useful in scripting and allows me > to

Re: [dev] syntog - toggle synaptics touchpad

2012-12-25 Thread Peter A. Shevtsov
On 25/12/12 at 09:51pm, Chris Hall wrote: > if you have synclient installed then enabling is synclient TouchpadOff=0 > and disabling is synclient TouchpadOff=1 > > you can read the state via synclient -l > I have a few lines of sh bound to mod-n to toggle. > > I really don't think this needs to b

Re: [dev] syntog - toggle synaptics touchpad

2012-12-24 Thread Peter A. Shevtsov
On 24/12/12 at 06:23pm, Comrade DOS wrote: > 2012/12/24 Peter A. Shevtsov > > > Hello, > > > > I've just finished the small utility to toggle state of synaptics > > touchpad. Maybe > > some of you would find it useful. But first of all, I'd like you

[dev] syntog - toggle synaptics touchpad

2012-12-23 Thread Peter A. Shevtsov
Hello, I've just finished the small utility to toggle state of synaptics touchpad. Maybe some of you would find it useful. But first of all, I'd like you to review my code (I'm not so good at C, actually). syntog is available in here - https://bitbucket.org/severusweb/syntog/src Thanks!

[dev] [surf] [patch] Don't load favicon.ico

2012-12-05 Thread Peter A. Shevtsov
Hello, I've noticed recently that WebKit tries to load favicon.ico even if there is no mention about it in HTML page's head section. Since surf doesn't show favicons I made the patch to prevent WebKit to download favicons. diff --git a/surf.c b/surf.c index b69c615..e95658b 100644 --- a/surf.c ++

Re: [dev][9base] Compile with musl

2012-11-27 Thread Peter A. Shevtsov
On 26/11/12 at 09:23pm, Galos, David wrote: > I've attached a patch which allows 9base to be compiled with the > musl-libc, when CC=musl-gcc and -D__MUSL__ is added to the CFLAGS. > > It's trivial stuff, a few missing headers, a couple changed function > calls, and it turns out musl defines setjmp

Re: [dev][9base] Compile with musl

2012-11-26 Thread Peter A. Shevtsov
On 26/11/12 at 09:23pm, Galos, David wrote: > I've attached a patch which allows 9base to be compiled with the > musl-libc, when CC=musl-gcc and -D__MUSL__ is added to the CFLAGS. > > It's trivial stuff, a few missing headers, a couple changed function > calls, and it turns out musl defines setjmp

Re: [dev] antialiased fonts in st

2012-10-06 Thread Peter A. Shevtsov
Hello. On 05/10/12 at 10:48am, pancake wrote: > I'm suggesting this change because truetyped fonts with antialias are hard > to read, probably more than transparent terminals. > > -#define FONT "Liberation Mono:pixelsize=12:antialias=true:autohint=false" > +#define FONT "Liberation Mono:pixelsize

Re: [dev] [st] [PATCH] no bright bold

2012-10-05 Thread Peter A. Shevtsov
On 05/10/12 at 04:10pm, Peter A. Shevtsov wrote: > Hello. > > On 05/10/12 at 10:30am, Christoph Lohmann wrote: > > Hello. > > > > On Fri, 05 Oct 2012 10:30:04 +0200 "Peter A. Shevtsov" > > wrote: > > > And another one. > > > &

Re: [dev] [st] [PATCH] no bright bold

2012-10-05 Thread Peter A. Shevtsov
Hello. On 05/10/12 at 10:30am, Christoph Lohmann wrote: > Hello. > > On Fri, 05 Oct 2012 10:30:04 +0200 "Peter A. Shevtsov" > wrote: > > And another one. > > > > Since it was corrected in changeset 345 it seems that it should be done > > once m

[dev] [st] [PATCH] no bright bold

2012-10-05 Thread Peter A. Shevtsov
And another one. Since it was corrected in changeset 345 it seems that it should be done once more. diff -r f80a970a2fda st.c --- a/st.c Fri Oct 05 09:38:10 2012 +0200 +++ b/st.c Fri Oct 05 14:54:00 2012 +0700 @@ -2193,7 +2193,6 @@ if(base.mode & ATTR_REVERSE) te

[dev] [st] [PATCH] fix underline

2012-10-05 Thread Peter A. Shevtsov
Hello, I've noticed that underlined text displays incorrect in the recent st hg tip. So I made this patch. diff -r 097a8580d33c st.c --- a/st.c Thu Oct 04 22:59:45 2012 +0200 +++ b/st.c Fri Oct 05 14:39:03 2012 +0700 @@ -2234,7 +2234,7 @@ winy + font->ascent, (FcC