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 235406

Summary: cygwin: low contrast in Terminal tab by default
Product: cnd Reporter: soldatov <soldatov>
Component: TerminalemulatorAssignee: issues@cnd <issues>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: default cygwin and latest NetBeans build

Description soldatov 2013-09-02 12:26:16 UTC
Created attachment 139575 [details]
default cygwin and latest NetBeans build
Comment 1 Andrew Krasny 2013-09-02 17:00:58 UTC
I was looking at this issue and, think that I'm not going to fix it.

I cannot change user's PS1 - that would be unfair.. 
I also cannot tweak colors - escape sequences are well-defined and expected to work as specified..

I can propose users to set PS1 in their .bashrc to other value. And this could be done conditionally depending on NBMAGIC env variable presence:

# Make prompt readable on a while bg (for NB)
if [ -n "${NBMAGIC}" ] ; then
   export PS1="\[\e]0;\w\a\]\n\[\e[34m\]\u@\h \[\e[35m\]\w\[\e[0m\]\n\$ "
fi

Not sure if it is a good idea to automate this bashrc modification from within the IDE...

I'm open for other ideas. Please re-open the issue with new suggestions.