You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Ernie Rael <er...@raelity.com> on 2020/04/09 15:56:50 UTC
dlight terminal emulator
The NetBeans terminal emulator gets an error when I start it. (cygwin).
Any insights that might provides a solution, or save me some time
tracking it down appreciated.
Malformed argument has embedded quote:
exec /cygdrive/F/cygwin64/bin/bash.exe \"--login\"
The extra quotes directly come from TerminalSupportImpl.getCommand
because "isExpandMacros()" returns true. It may indirectly happen
because of the nested way it gets started
args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c,
exec /cygdrive/F/cygwin64/bin/bash.exe "--login"];
With the debugger, I set exapandMacros to false and the terminal started
up ok. (very cool).
I haven't found any docs on dlight yet, or maybe some system property I
can set or ???
Any hints? (other than running on linux ;-) )
-ernie
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: dlight terminal emulator
Posted by Ernie Rael <er...@raelity.com>.
On 4/9/2020 6:04 PM, Ernie Rael wrote:
> On 4/9/2020 9:01 AM, Neil C Smith wrote:
>> On Thu, 9 Apr 2020 at 16:57, Ernie Rael <er...@raelity.com> wrote:
>>> I haven't found any docs on dlight yet, or maybe some system property I
>>> can set or ???
>> Is this related to https://issues.apache.org/jira/browse/NETBEANS-3254 ?
>
> Guess not, I tried turning on those properties. Good thought, though.
>
> The full error below (spread out). So does anyone know where "pty" is
> comming from?
Found it in an obvious place. Not the names I was looking for.
-ernie
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: dlight terminal emulator
Posted by Ernie Rael <er...@raelity.com>.
On 4/9/2020 9:01 AM, Neil C Smith wrote:
> On Thu, 9 Apr 2020 at 16:57, Ernie Rael <er...@raelity.com> wrote:
>> I haven't found any docs on dlight yet, or maybe some system property I
>> can set or ???
> Is this related to https://issues.apache.org/jira/browse/NETBEANS-3254 ?
Guess not, I tried turning on those properties. Good thought, though.
The full error below (spread out). So does anyone know where "pty" is
comming from?
$ file pty
pty: PE32+ executable (console) x86-64 (stripped to external PDB), for
MS Windows
I ask because I can't find the source anywhere. (Not that options, like
"--login", should be quoted to bash) But if I do
$ bash -c "exec bash \"-i\""
that works. But maybe it's getting passed to pty as
$ bash -c "exec bash "-i""
Which is probably more likely. But even that works
So maybe pty is preemptively giving up without even trying...
Filed https://issues.apache.org/jira/browse/NETBEANS-4143.
-ernie
INFO [nativeexecution.support.logger]: [188225 ms.] Unable to start pty
process:
binary=F:\tmp\dlight_err\24ad3743\899701107\pty;
args=[--set-erase-key, F:\cygwin64\bin\bash.exe, -c,
exec /cygdrive/F/cygwin64/bin/bash.exe "--login"];
rc=Cannot run program "F:\tmp\dlight_err\24ad3743\899701107\pty":
Malformed argument has embedded quote:
exec /cygdrive/F/cygwin64/bin/bash.exe \"--login\"
>
>> Any hints? (other than running on linux ;-) )
> That's the fix for everything! ;-)
>
> Best wishes,
>
> Neil
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: dlight terminal emulator
Posted by Neil C Smith <ne...@apache.org>.
On Thu, 9 Apr 2020 at 16:57, Ernie Rael <er...@raelity.com> wrote:
> I haven't found any docs on dlight yet, or maybe some system property I
> can set or ???
Is this related to https://issues.apache.org/jira/browse/NETBEANS-3254 ?
> Any hints? (other than running on linux ;-) )
That's the fix for everything! ;-)
Best wishes,
Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists