[fpc-devel] Compiler message colour scheme
Sven Barth
pascaldragon at googlemail.com
Wed Nov 25 14:40:37 CET 2020
Tomas Hajny via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am Mi.,
25. Nov. 2020, 13:31:
> On 2020-11-25 10:31, Nikolai Zhubr via fpc-devel wrote:
> > 25.11.2020 1:52, Tomas Hajny via fpc-devel:
>
>
>
>
> Hi Nikolai,
>
> >> No problem, thanks for testing. Unfortunately, it doesn't work for me
> >> under Windows (Win 10 Pro 64-bit) either with the original version or
> >
> > Have you also checked with this registry trick for win10:
> >
> > [HKEY_CURRENT_USER\Console]
> > "VirtualTerminalLevel"=dword:00000001
> >
> > (As per https://superuser.com/a/1300251/109090)
> .
> .
>
> If I read the article correctly, it says that an application may enable
> this processing explicitly using SetConsoleMode, or that it may be
> enabled for all applications / consoles using the mentioned registry
> key. The code added to the compiler contains the mentioned
> SetConsoleMode setting, thus it should be sufficient according to the
> article. However, the call fails (here) with error 87 (invalid
> parameter). And btw, changing the registry key doesn't help (i.e. I
> still get the same error). The same call (SetConsoleMode) performed
> without setting the respective flag (ENABLE_VIRTUAL_TERMINAL_PROCESSING)
> succeeds. I'm willing to have a look at additional hints, but I won't
> perform additional research myself for this.
>
How current is your Windows 10? VT100 support was added only two years ago
or so.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20201125/fb4d0ec2/attachment.htm>
More information about the fpc-devel
mailing list