[dev] [st] keep some glyph modes for the cursor

2017-02-06 Thread Nils Reuße
cursor. I find the current behaviour very disruptive, so here is a patch that keeps a few (arbitrarily chosen) modes for the cursor. Any comments? Thanks and king regards Nils [1] http://git.suckless.org/st/tree/st.c#n3963 [2] http://i.imgur.com/R2yCEaC.png diff --git a/st.c b/st.c index

Re: [dev] [st] can't use Xterm font

2015-02-23 Thread Nils Reuße
ersus type 1, but I am no expert in font technology. If you're using an ubuntu flavor, bitmap fonts are disabled by default. To enable them, do $ cd /etc/fonts/conf.d/ $ sudo rm 70-no-bitmaps.conf $ sudo ln -s ../conf.avail/70-yes-bitmaps.conf then run $ fc-cache -f and search for fixed: $ fc-list | grep -i fixed nils

Re: [dev] [st] crash on font resize (patch inside)

2015-02-15 Thread Nils Reuße
ng to apply. Regards, Thanks! While you're at it, you could bump the copyright note as well. Best, Nils diff --git a/st.c b/st.c index 1deb7bc..b9d30a7 100644 --- a/st.c +++ b/st.c @@ -3938,7 +3938,7 @@ run(void) { void usage(void) { - die("%s " VERSION " (c) 20

Re: [dev] [st] crash on font resize (patch inside)

2015-02-15 Thread Nils Reuße
On 14.02.2015 22:55, Nils Reuße wrote: hi folks, i found a bug in st (latest git): if you keep downsizing your fontsize until either xw.ch or xw.cw gets 0, st crashes, because there is an unchecked division in cresize. my patch fixes the problem, but i haven't checked for a better sol

[dev] [st] crash on font resize (patch inside)

2015-02-14 Thread Nils Reuße
hi folks, i found a bug in st (latest git): if you keep downsizing your fontsize until either xw.ch or xw.cw gets 0, st crashes, because there is an unchecked division in cresize. my patch fixes the problem, but i haven't checked for a better solution. nils diff --git a/st.c b/st.c

Re: [dev] [st] delele behaves as backspace... again

2014-11-06 Thread Nils R
gt; - Use a suckless shell that is terminfo compliant. > - Modify the keys generated by st. This option is not dificult, because you > only have to modify the values in your config.h (I think I should put this > option in the FAQ to). > > Regards, > Hi, thanks for your mail(s)! I was out of town for work (unexpectedly) and had no access to my machine with st/zsh. Will reply tomorrow with more details. Best, Nils

[dev] [st] delele behaves as backspace... again

2014-11-01 Thread Nils R
-terminal, zsh: ^[[3~ gnome-terminal, bash: ^[[3~ Any hints? Or reasons, why the behaviour was reverted? Best, Nils

Re: [dev] [st] latest git fails to compile on openbsd

2014-06-06 Thread Nils R
Roberto E. Vargas Caballero schrieb am 06.06.2014 15:22: > On Fri, Jun 06, 2014 at 03:18:03PM +0200, Martin Kopta wrote: >> On Fri, Jun 06, 2014 at 01:55:17PM +0200, Nils R wrote: >> > in commit c6fcb78b3a9a73b691875048848430c18870a0fc[1], Colourmap was >> > renam

[dev] [st] latest git fails to compile on openbsd

2014-06-06 Thread Nils R
aration of 'Colormap' was here My patch below solves it for me, but i only tested on openbsd. Any thoughts? Nils [1]: http://git.suckless.org/st/commit/?id=c6fcb78b3a9a73b691875048848430c18870a0fc diff --git a/st.c b/st.c index 8b65450..45b9a02 100644 --- a/st.c +++ b/st.c @@ -18

Re: [dev] st stutter and freeze during window resize via mouse drag

2014-04-05 Thread Nils R
irely on entries in the terminfo db People compiling from git on non-openbsd systems should always get the latest st.info. If you want to change the behaviour of backspace, do it and push for a new stable release, then we can ask upstream again to incorporate these changes :) Best, Nils

Re: [dev] st stutter and freeze during window resize via mouse drag

2014-04-04 Thread Nils R
Nils R schrieb am 04.04.2014 09:03: > Roberto E. Vargas Caballero schrieb am 03.04.2014 17:40: > > > >http://lists.suckless.org/dev/1401/19619.html > > > > I'm having the same problem as the person in this link. > > > > > > > > I'm using

Re: [dev] st stutter and freeze during window resize via mouse drag

2014-04-04 Thread Nils R
hat should be fine for the moment, but a stable releases once in a while--at least regarding st.info-- would make updating these information upstream easier in the future. Regards, Nils

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

2014-03-21 Thread Nils R
{terminfo[smkx]} } function zle-line-finish () { emulate -L zsh printf '%s' ${terminfo[rmkx]} } zle -N zle-line-init zle -N zle-line-finish else for i in {s,r}mkx; do (( ${+terminfo[$i]} )) || debian_missing_features+=($i) done unset i fi 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. Thanks again for your help Nils

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

2014-03-17 Thread Nils R
Nils R schrieb am 17.03.2014 20:16: > Christoph Lohmann schrieb am 17.03.2014 18:14: > > Greetings. > > > > On Mon, 17 Mar 2014 18:14:49 +0100 Martti Kühne > > wrote: > > > Although I couldn't exactly verify what the ${terminfo[@]} array is, > > >

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

2014-03-17 Thread Nils R
CTRL-v + DEL: | zsh | bash | ksh | +---+---+---+ st| ^[[P | ^[[P | ^[[P | <- never works xterm | ^?| ^?| ^?| <- deletes backwards in zsh, bash; not in ksh rxvt | ^[[3~ | ^[[3~ | ^[[3~ | <- works in zsh, bash; not in ksh For CTRL-v + SHIFT + TAB i couldn't get any output, is there another way than CTRL-V + key combo? Best, Nils

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

2014-03-17 Thread Nils R
siderate and lazy right here. > > cheers! > mar77i > > [0]http://git.suckless.org/st/tree/st.info > > Hi Martti, although i know nothing about it, terminfo entries seem to suck. Before merging the code for beginning-of-line into ${terminfo[khome]}, there were 3 different codes set for the same action, ^[[1~ being just one of them. The same applies to kdch1, which is mapped in st to \E[3~, whereas the zsh config again had 3 different entries for it. Maybe it has something to do with \E vs. ^[, whatever the difference might be. Nils

Re: [dev] [st] parse relative font size instead of pixelsize

2013-12-17 Thread Nils Reuße
On 12/17/2013 10:06 AM, Nils Reuße wrote: Hi suckless@, i tried to set a font and fontsize in config.h with the xft notation FONT-SIZE: static char font[] = "Source Code Pro Medium-18:style=Regular"; The font was recognized, but not the font size, defaulting to 12. The sam

[dev] [st] parse relative font size instead of pixelsize

2013-12-17 Thread Nils Reuße
th pixelsize). I prefer size over pixelsize because size scales to the current display resolution, while pixelsize has to be increased (either in config.h or on starting st), e.g. if you switch between a non-hd (home) and hd screen (work). What do you think? Best, Nils diff --git a/st.c

Re: [dev] [st] goals / non-goals for st?

2009-10-30 Thread Nils
On Fri, Oct 30, 2009 at 09:06:29PM -0400, Andrew Antle wrote: > Because it's hilarious! Especially when Lamb Sandwich starts whining. It's nothing but arrogant, unfriendly and wannabe-elitist to talk like this on a public mailing list. And I'm not even going to respond to Uriels mails.

Re: [dev] [st] goals / non-goals for st?

2009-10-30 Thread Nils
On Fri, Oct 30, 2009 at 08:42:19PM +, Aled Gest wrote: > It would be nice to see a features thread that didn't degenerate into > a competition of who's the biggest cock. Thank you for this post. If I look at the rest of this discussion it really makes me wonder why I'm still subscribed to thi

Re: [dev] [surf] SearchEngines patch

2009-09-23 Thread Nils
On Thu, Sep 24, 2009 at 10:16:28AM +1000, Jessta wrote: > I don't think url parameter replacement is really the domain of the > web browser Oh yeah, you're right. My window manager should do it.

Re: [dev] [surf] SearchEngines patch

2009-09-23 Thread Nils
any url starting with g applies this SearchEngine. Jup, I fixed this by adding a > ... || *(uri + strlen(searchengines[i].token)) != ' ' to the "continue-if". New patch is uploaded on surf.suckless.org. Nils

Re: [dev] [surf] SearchEngines patch

2009-09-23 Thread Nils
On Wed, Sep 23, 2009 at 03:04:55PM +0200, cryptix wrote: > Realized this is still bad. > > If you have 10 SearchEngines and only the last one matches in the > parseuri() for loop, you would still have the other 9 allocated.. > Getting rid of prefix altogether seams to be the cleanest approach. > n

[dev] [surf] SearchEngines patch

2009-09-22 Thread Nils
for everyone, if you find any bugs please feel free to report them to me. :) Keep on surfing, Nils / McManiaC diff -r fee97b4579f2 config.def.h --- a/config.def.h Mon Sep 21 03:27:20 2009 +0200 +++ b/config.def.h Wed Sep 23 01:21:45 2009 +0200 @@ -30,3 +30,6 @@ { 0,

Re: [dev] unsubscribe

2009-08-19 Thread Nils
You guys make me wanna unsubscribe, too. ;)