This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 267566

Summary: Add support for bright foreground/background ANSI colors
Product: platform Reporter: _ gtzabari <gtzabari>
Component: Output WindowAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ gtzabari 2016-08-13 06:09:40 UTC
Product Version: NetBeans IDE Dev (Build 201608090002)
Java: 1.8.0_102; Java HotSpot(TM) 64-Bit Server VM 25.102-b14
Runtime: Java(TM) SE Runtime Environment 1.8.0_102-b14
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev

I am outputting the following text to the output tab:

ESC[37;42mAddedESC[37;41mRemoved
ESC[37;1;42mAddedESC[37;1;101mRemoved

The text is supposed to render as follows:
1. [gray foreground, dark green background] [gray foreground, dark red background]
2. [white foreground, dark green background] [white foreground, light red background]

This works properly in the Windows 10 console and in ConEmu, but in Netbeans "[37;1;101m" renders with a green background instead of a light red background.
Comment 1 _ gtzabari 2016-08-13 13:58:56 UTC
It looks like these colors are called AixTerm color codes. They are used by most terminals and Windows 10. See http://unix.stackexchange.com/a/93872/60809 and http://superuser.com/a/1105718/57662