[PATCH] Add support for ANSI.SYS SCP/RCP escape codes

2015-09-11 Thread James Clarke
This adds support for CSI s and u, which are equivalent to ESC 7 and 8, saving/restoring the cursor position. * console/display.c (handle_esc_bracket): Added support for CSI s and u. --- console/display.c | 12 1 file changed, 12 insertions(+) diff --git a/console/display.c b/consol

Re: pflocal socket bug

2015-09-11 Thread Svante Signell
On Fri, 2015-09-11 at 17:43 +0200, Samuel Thibault wrote: > Svante Signell, le Fri 11 Sep 2015 17:42:19 +0200, a écrit : > > It seems like EADDRNOTAVAIL is an appropriate error, > > It is appropriate according to POSIX. > > > Otherwise I can create a patch for the socklog package. WDYT? > > That

Re: pflocal socket bug

2015-09-11 Thread Samuel Thibault
Svante Signell, le Fri 11 Sep 2015 17:42:19 +0200, a écrit : > It seems like EADDRNOTAVAIL is an appropriate error, It is appropriate according to POSIX. > Otherwise I can create a patch for the socklog package. WDYT? That makes sense since POSIX allows it. Samuel

Re: pflocal socket bug

2015-09-11 Thread Svante Signell
On Fri, 2015-09-11 at 10:34 +0200, Svante Signell wrote: > On Fri, 2015-09-11 at 02:10 +0200, Samuel Thibault wrote: > > Hello, > > > > Thanks for the detailed description and testcase! I could fix it, this > > case was actually apparently completely untested: reference counting was > > never rea

Re: pflocal socket bug

2015-09-11 Thread Svante Signell
On Fri, 2015-09-11 at 02:10 +0200, Samuel Thibault wrote: > Hello, > > Thanks for the detailed description and testcase! I could fix it, this > case was actually apparently completely untested: reference counting was > never reaching zero, and thus the sock never actually shut down. Nice to see