[dev] [sbase] [PATCH] Refactor rmdir

2014-06-09 Thread FRIGN
Hello, just a quick thing I stumbled upon. Using arg.h here catches things like "rmdir -p" instead of attempting to actually delete the folder "-p". This helps the user check what is implemented and what not instead of silenty passing it on. Cheers FRIGN -- FRIGN >From 013a887cce0a3c23852466

Re: [dev] [sbase][PATCH] Implement unexpand

2014-06-09 Thread Dimitris Papastamos
On Mon, Jun 09, 2014 at 05:14:24PM +0300, Tuukka Kataja wrote: > Hi, > a new contributor here. I was browsing through the sources of sbase and > decided to tackle the missing unexpand. Thanks for your contribution. All three patches have been applied. Cheers, sin

[dev] [st][PATCH] FAQ fix typo and escape code for smkx

2014-06-09 Thread Hiltjo Posthuma
Hi, This fixes 2 small typos in the FAQ. Kind regards, Hiltjo From 1931f296777a888f3890bd95dafe3f8c384cadae Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Mon, 9 Jun 2014 17:19:15 +0200 Subject: [PATCH] FAQ: update typo and escape code for smkx --- FAQ | 4 ++-- 1 file changed, 2 inserti

[dev] [sbase] [PATCH] Implement -i flag for expand

2014-06-09 Thread Tuukka Kataja
Implement -i flag for expand and update the man page. Not sure if this is wanted, but as it is already mentioned in the source I thought it might as well be implemented. - Tuukkadiff --git a/expand.1 b/expand.1 index 98c66ab..6ae819b 100644 --- a/expand.1 +++ b/expand.1 @@ -13,6 +13,9 @@ are p

[dev] [sbase][PATCH] Fix expand when one of multiple files can't be opened

2014-06-09 Thread Tuukka Kataja
Currently when multiple files are specified and one of them can't be opened, expand doesn't correctly skip over the missing file. This patch fixes that. - Tuukkadiff --git a/expand.c b/expand.c index f859452..2bcc668 100644 --- a/expand.c +++ b/expand.c @@ -39,7 +39,7 @@ main(int argc, char *a

Re: [dev] [st] redraw content after window size increased

2014-06-09 Thread Andreas Herz
On 06/06/14 at 12:42, Eon S. Jeon wrote: > On Fri, Jun 06, 2014 at 01:18:56PM +0200, Andreas Herz wrote: > > > > Is this intended to keep lightweight or is this something missig? > > > > Yes, this is intended. st doesn't have scroll-buffer, and resizes screen > buffer to fit exactly to the windo

[dev] [sbase][PATCH] Implement unexpand

2014-06-09 Thread Tuukka Kataja
Hi, a new contributor here. I was browsing through the sources of sbase and decided to tackle the missing unexpand. Patch attached. Implements unexpand and adds man page for it plus adds a mention of unexpand to man page of expand. Also updates TODO, README, LICENSE and Makefile accordingly.

Re: [dev] [st] [PATCH] Hide X cursor when typing.

2014-06-09 Thread Martin Kopta
On Mon, Jun 09, 2014 at 09:22:52AM +0200, Colona wrote: > On Mon, Jun 09, 2014 at 09:06:08AM +0200, Christoph Lohmann wrote: > > Greetings. > > > > On Mon, 09 Jun 2014 09:06:08 +0200 Colona wrote: > > > Add a new configuration variable, xcursorhide, to hide the X cursor when > > > typing > > > i

Re: [dev] [st] [PATCH] Hide X cursor when typing.

2014-06-09 Thread Sime Ramov
On Mon, 9 Jun 2014 09:15:12 +0200, Martin Kopta wrote: > Great! I am using unclutter [0] for this but I will probably use this > patch instead. Thanks! There's also xbanish: .

Re: [dev] [st] [PATCH] Hide X cursor when typing.

2014-06-09 Thread Colona
On Mon, Jun 09, 2014 at 09:06:08AM +0200, Christoph Lohmann wrote: > Greetings. > > On Mon, 09 Jun 2014 09:06:08 +0200 Colona wrote: > > Add a new configuration variable, xcursorhide, to hide the X cursor when > > typing > > in the terminal. The cursor is displayed again when the mouse is moved.

Re: [dev] [st] [PATCH] Hide X cursor when typing.

2014-06-09 Thread Martin Kopta
On Mon, Jun 09, 2014 at 03:38:24AM +0200, Colona wrote: > Add a new configuration variable, xcursorhide, to hide the X cursor when > typing > in the terminal. The cursor is displayed again when the mouse is moved. > PointerMotionMask is disabled in bmotion (through xsetpointermotion()) to > avoid

Re: [dev] [st] [PATCH] Hide X cursor when typing.

2014-06-09 Thread Christoph Lohmann
Greetings. On Mon, 09 Jun 2014 09:06:08 +0200 Colona wrote: > Add a new configuration variable, xcursorhide, to hide the X cursor when > typing > in the terminal. The cursor is displayed again when the mouse is moved. > PointerMotionMask is disabled in bmotion (through xsetpointermotion()) to >