Re: [dev] [st] [PATCH] Let curses do the dirty work for flash

2015-02-14 Thread Ivan Delalande
On Sun, Feb 15, 2015 at 12:34:03AM +0100, Ivan Delalande wrote: > - flash=\E[?5h\E[?5l, > + flash=\E[?5h$<80/>\E[?5l, By the way, I looked at other term definitions of this capability and I noticed this interesting difference: vt200|vt220, similar for xterm, konsole, etc.

[dev] [sbase] [PATCH] sort: use size_t for pointer offsets

2015-02-14 Thread Jakob Kramer
This patch is not meant to be applied like that. Where should the “estrtoll” function be put? A new file in libutil/? Should I give it another name, because it takes other arguments than strtoll? Or is this function unnecessary? >From 0c32b05e4b7d60ea03c83117cfdeffd64ee9e556 Mon Sep 17 00:00

[dev] [st] [PATCH] Let curses do the dirty work for flash

2015-02-14 Thread Ivan Delalande
Use the terminfo delay syntax ($) in our flash capability to avoid hardcoding a fixed delay in redraw() when called from tsetmode() with DECSCNM. We need to turn on the npc capability so that delays are made with xon/xoff instead of padding characters. --- st.c| 21 ++--- st.in

[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 index 1