Re: Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ...

2019-09-21 Thread Ken Brown
On 9/20/2019 5:11 AM, Houder wrote: > As I said already, the snippet should NOT be executed in general. Perhaps > it is another left-over from old times that should have been deleted. You're absolutely right. Prior to commit b0717aae0, the code looked like this: if (strncmp (path, ".\

Cygwin 3.0.7 on Windows 10: ANSI Escape Sequences not affecting color when run in Windows Terminal

2019-09-21 Thread connor horman
When using windows terminal, programs using the C Functions provided by cygwin1.dll to print to stdout (such as printf, puts), do not render the text color as would be appropriate when using an ANSI Escape sequence, such as "\033[38;2;255;0;0m". The functionality has been confirmed on native linux

Re: Cygwin 3.0.7 on Windows 10: ANSI Escape Sequences not affecting color when run in Windows Terminal

2019-09-21 Thread Eliot Moss
On 9/21/2019 12:06 PM, connor horman wrote: When using windows terminal, programs using the C Functions provided by cygwin1.dll to print to stdout (such as printf, puts), do not render the text color as would be appropriate when using an ANSI Escape sequence, such as "\033[38;2;255;0;0m". The fun

Re: Solved. Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ...

2019-09-21 Thread Ken Brown
On 9/6/2019 5:53 PM, Houder wrote: > However an exception can be made for e:/ (or e:\), as follows: > > -- >char flag = '\0'; >// strip trailing dirsep's, while remembering the last one >if (isdirsep (dir[strlen (dir) - 1])) > { >flag = dir[strlen (dir)

Re: Cygwin 3.0.7 on Windows 10: ANSI Escape Sequences not affecting color when run in Windows Terminal

2019-09-21 Thread Ken Brown
On 9/21/2019 12:06 PM, connor horman wrote: > When using windows terminal, programs using the C Functions provided > by cygwin1.dll to print to stdout (such as printf, puts), do not > render the text color as would be appropriate when using an ANSI > Escape sequence, such as "\033[38;2;255;0;0m". T

tcl-tk-dev X dependencies?

2019-09-21 Thread lloyd.wood.yahoo.co.uk via cygwin
gcc -O2 -DNO_ZLIB -Wall -Wextra -Wconversion -pedantic -I./include    -c -o main.o main.c In file included from ./include/tcl_utils.h:40:0, from main.c:38: /usr/include/tk.h:96:13: fatal error: X11/Xlib.h: No such file or directory  #   include ^~~~ compilati