On Thu, Jan 19, 2017 at 12:54:33AM +0500, Mihail Konev wrote:
> On Sat, Jan 07, 2017 at 10:52:40AM +0500, Mihail Konev wrote:
> > Signed-off-by: Mihail Konev
> > Moved-from: https://github.com/Alexpux/mingw-w64/pull/3
> > Reference: https://cygwin.com/ml/cygwin-developers/
On Sat, Jan 07, 2017 at 10:52:40AM +0500, Mihail Konev wrote:
> Signed-off-by: Mihail Konev
> Moved-from: https://github.com/Alexpux/mingw-w64/pull/3
> Reference: https://cygwin.com/ml/cygwin-developers/2016-11/msg2.html
> ---
> v11: const the exported isatty
>
> ming
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull/3
Reference: https://cygwin.com/ml/cygwin-developers/2016-11/msg2.html
---
v11: const the exported isatty
mingw-w64-crt/Makefile.am | 1 +
mingw-w64-crt/def-include/msvcrt-common.def.in
On Sat, Dec 10, 2016 at 05:30:32AM +0500, Mihail Konev wrote:
>
> mingw-w64-crt/Makefile.am | 1 +
> mingw-w64-crt/def-include/msvcrt-common.def.in | 2 +-
> mingw-w64-crt/lib64/moldname-msvcrt.def| 2 +-
> mingw-w64-crt/stdio/isatty.c
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull/3
Reference: https://cygwin.com/ml/cygwin-developers/2016-11/msg2.html
---
v8-v10:
Change comment-outs in def files.
Error-check GetModuleHandle.
Edit description.
mingw-w64-crt/Makefile.am
>From 6918551906f65025b008e17398982e0352038a84 Mon Sep 17 00:00:00 2001
From: Mario Kleiner
Date: Tue, 22 Nov 2016 03:35:56 +0100
Subject: [PATCH] Fix typos for -DCOMPILE_MULTIMON_STUBS
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull/4/
---
mingw-w64-head
Before, isatty() was an alias for WinAPI _isatty().
This resulted in wrong result for mintty.
Implement pipe name check in crt isatty().
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull/3
Reference: https://cygwin.com/ml/cygwin-developers/2016-11/msg2.html
Before, isatty() was an alias for WinAPI _isatty().
This resulted in wrong result for mintty.
Implement pipe name check in crt isatty().
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull/3
Reference: https://cygwin.com/ml/cygwin-developers/2016-11/msg2.html
Before, isatty() was an alias for WinAPI _isatty().
This resulted in wrong result for mintty.
Implement pipe name check in crt isatty().
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull/3
Reference: https://cygwin.com/ml/cygwin-developers/2016-11/msg2.html
On Fri, Nov 18, 2016 at 08:37:33AM +0500, Mihail Konev wrote:
>
> all: test
>
> a.exe: main.c
> $(CC) -Wall -Wextra main.c
>
> test: a.exe
> @echo
> @echo " -- Test not a tty --"
> @echo
Sorry, forgot 'all:
Before, isatty() was an alias for WinAPI _isatty().
This resulted in wrong result for mintty.
Implement pipe name check in crt isatty().
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull/3
Reference: https://cygwin.com/ml/cygwin-developers/2016-11/msg2.html
; make
&& make install' must be performed.
Should be a makefile bug.
This gives undefined reference to 'isatty'
when compiling hello-isatty program:
Commenting all _isatty-s except ADD_UNDERSCORE one
gives msvcrt _isatty being called.
commit a0e3a797e29638803a8ff9b621e9ba5f6f12
Before, isatty() was an alias for WinAPI _isatty().
This resulted in wrong result for mintty.
Implement a pipe name check in a static isatty().
This makes io.h include NT and Windows APIs.
The change isn't strictly standard, as it adds
'static' to the isatty() signature.
Signed
On Sun, Nov 13, 2016 at 09:44:49PM +0100, Corinna Vinschen wrote:
> On Nov 14 00:31, Mihail Konev wrote:
>
> I'm opposed to checking the pipes for *-msys-* additionally to
> *-cygwin-* for no good reason. You're adding just another test to the
> checking code and pote
Before, isatty() was an alias for WinAPI _isatty().
This resulted in wrong result for mintty.
Implement a pipe name check in a static isatty().
This makes io.h include NT and Windows APIs.
The change isn't strictly standard, as it adds
'static' to the isatty() signature.
Signed
Before, isatty() was an alias for WinAPI _isatty().
This resulted in wrong result for mintty.
Implement a pipe name check in a static isatty().
This makes io.h include NT and Windows APIs.
The change isn't strictly standard, as it adds
'static' to the isatty() signature.
Signed
Before, isatty() was an alias for WinAPI _isatty().
This resulted in wrong result for mintty.
Implement a pipe name check in a static isatty().
This makes io.h include wchar.h, errno.h, io.h, winternl.h, and windows.h.
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64
On Sun, Nov 13, 2016 at 07:16:01AM +0100, Vincent Torri wrote:
> i still don't understand why not using GetConsoleMode() and see if it
> fails or not.
>
> if it fails : redirection is done with named pipes
Redirection is then done, but is it a file or mintty stdin ?
> if not : it's standard win32
Applications now could call iscygtty(STDIN_FILENO)
in order to detect whether they are running from
Cygwin/MSys terminal.
Without that, they have no choice but to think that
stdin is redirected from a named pipe.
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull
On Sat, Nov 12, 2016 at 12:06:02PM +0500, Mihail Konev wrote:
>
> Doing it through shared memory should be depenedent on cygwin headers
> (if reliable at all for not-a-cygwin-process-child).
>
Oh. We *are* cygwin-fork()-ed if running from a mintty ;)
But still this should be
Applications now could call iscygtty(STDIN_FILENO)
in order to detect whether they are running from
Cygwin/MSys terminal.
Without that, they have no choice but to think that
stdin is redirected from a named pipe.
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull
On Sat, Nov 12, 2016 at 06:34:54AM +0500, Mihail Konev wrote:
> On Fri, Nov 11, 2016 at 11:19:45AM -0500, Earnie wrote:
> > On 11/10/2016 5:43 PM, Mihail Konev wrote:
> > > Applications now could call iscygtty(STDIN_FILENO)
> > > in order to detect whether they are run
Applications now could call iscygtty(STDIN_FILENO)
in order to detect whether they are running from
Cygwin/MSys terminal.
Without that, they have no choice but to think that
stdin is redirected from a named pipe.
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull
Applications now could call iscygtty(STDIN_FILENO)
in order to detect whether they are running from
Cygwin/MSys terminal.
Without that, they have no choice but to think that
stdin is redirected from a named pipe.
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull
Applications now could call iscygtty(STDIN_FILENO)
in order to detect whether they are running from
Cygwin/MSys terminal.
Without that, they have no choice but to think that
stdin is redirected from a named pipe.
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull
On Fri, Nov 11, 2016 at 11:19:45AM -0500, Earnie wrote:
> On 11/10/2016 5:43 PM, Mihail Konev wrote:
> > Applications now could call iscygtty(STDIN_FILENO)
> > in order to detect whether they are running from
> > Cygwin/MSys terminal.
> >
>
> Should this be sha
On Thu, Nov 10, 2016 at 11:59:30PM +0500, Mihail Konev wrote:
> Running curses in conemu is possible.
>
> But even then, the iscygtty() is supposed to check
> whether it is present with a mintty-like stdin, and nothing else.
To reword: conemu handles to an application either a CMD
Applications now could call iscygtty(STDIN_FILENO)
in order to detect whether they are running from
Cygwin/MSys terminal.
Without that, they have no choice but to think that
stdin is redirected from a named pipe.
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull
There are files that were catenated.
CFLAGS += -Wall -Wextra -O3
all:
@echo
$(MAKE) normal
@echo
$(MAKE) pedantic
@echo
$(MAKE) ansi
@echo
.PHONY: normal
normal:
$(LINK.c) -o a.exe main.c
.PHONY: pedantic
pedantic: CFLAGS += -pedant
There are files that were catenated.
Running curses in conemu should be possible with
https://conemu.github.io/en/CygwinMsysConnector.html
But even then, the iscygtty() is supposed to check
whether it is present with a mintty-like stdin, and nothing else.
all: test
a.exe: main.c
$(CC) -
Wrong destination address :)
I didn't tried ConEmu.
Is it possible to run cygwin curses app in it, like a text editor, btw?
But with msys mintty and standard Console results do differ.
- Forwarded message from Mihail Konev -
From: Mihail Konev
To: Vincent Torri
Date: Thu, 1
- Forwarded message from Mihail Konev -
From: Mihail Konev
To: David Wohlferd
Date: Thu, 10 Nov 2016 23:22:48 +0500
Subject: Re: Fwd: [Mingw-w64-public] [PATCH mingw-w64] Add include/iscygtty.c
On Wed, Nov 09, 2016 at 08:21:51PM -0800, David Wohlferd wrote:
> Shouldn't these
Applications now could call iscygtty(STDIN_FILENO)
in order to detect whether they are running from
Cygwin/MSys terminal.
Without that, they have no choice but to think that
stdin is redirected from a named pipe.
Signed-off-by: Mihail Konev
Moved-from: https://github.com/Alexpux/mingw-w64/pull
33 matches
Mail list logo