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.
Summary: | [PATCH] Terminal should invoke bash --login when invoking bash; should invoke bash, not sh, on Cygwin | ||
---|---|---|---|
Product: | cnd | Reporter: | inonit <inonit> |
Component: | execution | Assignee: | ilia |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | err, markiewb |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Patch described in submission |
Description
inonit
2010-08-15 15:27:53 UTC
Created attachment 101400 [details]
Patch described in submission
inonit, I am very much obliged to you for the localized problem and offered patch * problem with launching "bash" instead of "sh" when possible I've found that problem have already been fixed in rev 262799:b52d6a5c9fe1 (Bug #213470 - Terminal not working properly with Cygwin) * "bash --login" instead of "bash" I applied part of your patch here. Also I noticed a non-expected behavior when $USER or $HOSTNAME contain non-latin characters. Thank you! =Ilia And thank you! Presumably this then gets included as an update to a plugin at some point? ( fixed in http://hg.netbeans.org/cnd-main/rev/e89f53c6c247 ) Is this fix included in NetBeans 8.0 Beta? If so, at least on my setup, it does not work: Product Version: NetBeans IDE 8.0 Beta (Build 201401141042) Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b129 System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb) Output from within terminal: bash-3.2$ shopt | grep login_shell login_shell off Can you confirm? (In reply to inonit from comment #5) > Is this fix included in NetBeans 8.0 Beta? Of course the fix did not integrated in NetBeans 8.0 Beta. You can try development build from: http://bits.netbeans.org/download/trunk/nightly/latest/ verified in NetBeans IDE 7.4 (Build 20140320-3f80b6998498) Integrated into 'releases/release74', will be available in build *201403261440* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/1cb48d922294 User: Ilia Gromov <ilia@netbeans.org> Log: fixed Bug 189529 - [PATCH] Terminal should invoke bash --login when invoking bash; should invoke bash, not sh, on Cygwin - "bash" -> "bash --login" (transplanted from e89f53c6c247666a6d65f9264960807c79d71a5f) |