Re: Segfault using `watch -c` with ANSI escapes in output

2017-04-19 Thread Duncan Roe
On Wed, Apr 19, 2017 at 11:14:02AM +0200, Csaba Raduly wrote: > On Wed, Apr 19, 2017 at 8:35 AM, Duncan Roe wrote: > > > > Where does "watch" come from? It's not on my cygwin installation: > > > >> 16:12:50$ type watch > >> -bash: type: watch: not found > > > > https://cygwin.com/cgi-bin2/package-

Re: Segfault using `watch -c` with ANSI escapes in output

2017-04-19 Thread Jon Turney
On 18/04/2017 16:10, Brian Inglis wrote: On 2017-04-18 06:36, Adam Dinwoodie wrote: I'm seeing a segfault from using `watch -c` with commands that output ANSI colour sequences, which is a bit sad given the whole point of the `-c` is to get the ANSI colour sequences to be displayed. Simple test c

Re: Segfault using `watch -c` with ANSI escapes in output

2017-04-19 Thread Csaba Raduly
On Wed, Apr 19, 2017 at 8:35 AM, Duncan Roe wrote: > > Where does "watch" come from? It's not on my cygwin installation: > >> 16:12:50$ type watch >> -bash: type: watch: not found > https://cygwin.com/cgi-bin2/package-grep.cgi?grep=watch%5C.exe&arch=x86_64 gives us https://cygwin.com/cgi-bin2/pa

Re: Segfault using `watch -c` with ANSI escapes in output

2017-04-18 Thread Duncan Roe
On Tue, Apr 18, 2017 at 01:36:34PM +0100, Adam Dinwoodie wrote: > I'm seeing a segfault from using `watch -c` with commands that output > ANSI colour sequences, which is a bit sad given the whole point of the > `-c` is to get the ANSI colour sequences to be displayed. > > Simple test case: > >

Re: Segfault using `watch -c` with ANSI escapes in output

2017-04-18 Thread Brian Inglis
On 2017-04-18 06:36, Adam Dinwoodie wrote: > I'm seeing a segfault from using `watch -c` with commands that output > ANSI colour sequences, which is a bit sad given the whole point of the > `-c` is to get the ANSI colour sequences to be displayed. > Simple test case: > $ echo -e '\e[0;32mGreen\

Segfault using `watch -c` with ANSI escapes in output

2017-04-18 Thread Adam Dinwoodie
I'm seeing a segfault from using `watch -c` with commands that output ANSI colour sequences, which is a bit sad given the whole point of the `-c` is to get the ANSI colour sequences to be displayed. Simple test case: $ echo -e '\e[0;32mGreen\e[0;0m' >escapes $ cat escapes # Text is gree