Local terminal

2021-05-27 Thread Richard Grin

Hello,

On windows, if I want to open a local terminal in NetBeans I receive the 
message "Local Terminal requires cygwin. Please install cygwin and 
restart the IDE.".


Would it be possible to use wsl2 instead of cygwin? or the command 
prompt Windows?


Best regards,

Richard



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: How do I get local terminal to work for cross platform development Windows - Debian Buster

2021-03-22 Thread frui...@yahoo.co.uk.INVALID
 > Did you try using ssh to connect to the RPi?
That was a great idea:
I used PuTTY and I easily got a connection with a terminal window.
Changing to the directory where my compiled program resided on the RPi I was 
able to execute it and it produced the correct output, unlike in the NetBeans 
window on the Windows 10 machine.
So this is a very good workaround as you can run Netbeans on the Windows 
machine, make the executable on the target machine then open a ssh connection 
and run the executable on the target machine.
I still think that this is essentially a bug in NetBeans since you should be 
able to open terminals on both the Windows host and the RPi target from within 
Netbeans. In fact Netbeans seems to use ssh to connect with the target so the 
fat that it cannot open a terminal window (but I can using ssh) does look like 
a bug.
Either the bug should be fixed or the feature for opening terminal windows 
should be removed.
Thanks again Eric, excellent work around.
Fruitpi

On Friday, 12 March 2021, 08:23:33 GMT, Eric Bresie  
wrote:  
 
 Did you try using ssh to connect to the RPi?
Not sure if it’s quite the same but... 
https://netbeans.apache.org//kb/docs/cnd/remotedev-tutorial.html
 
Eric bresieebre...@gmail.com 
 
 On March 8, 2021 at 6:37:08 AM CST, frui...@yahoo.co.uk.INVALID 
 wrote:   > Do you need the Terminal window on the 
RPi3? 
Yes. The output displayed in the Netbeans output window (on the Windows 
development PC) is incorrect so I need to see what would actually happen on the 
RPi3.

> Don't you already have a terminal window there that you can use? 
I am not running Netbeans on the RPi3 I am running it a Windows PC and Netbeans 
should allow me to open a terminal window on the RPi3. If I cannot do that then 
I would need to setup the RPi3 as a VNC Server and then run a VNC Client on the 
Windows machine to allow me to open a terminal. So, yes it could be done but it 
is a bit messy since it is already a feature in Netbeans which should work.

>How is this blocking you?To  isolate the issue I have installed Netbeans on 
>the RPi3 and tried running it locally. The RPi3 installation still does not 
>permit a terminal window to be opened from within Netbeans it gives the 
>message "Local Terminal is not supported on this system". This eliminates a 
>lack of cygwin from the equation. It means that both my Linux (Debian Buster) 
>and Windows 10 installations are unable to open terminal windows on the local 
>machines. This must be a bug or very possibly just a configuration issue. It 
>is not a total block on using Netbeans but it is frustrating to think that 
>there may be a very simple configuration setting that could solve the problem.
Fruitpi

On Sunday, 7 March 2021, 22:53:19 GMT, Geertjan Wielenga 
 wrote:  
 
 Do you need the Terminal window on the RPi3? Don't you already have a terminal 
window there that you can use? How is this blocking you?
Gj
On Sun, Mar 7, 2021 at 11:01 PM frui...@yahoo.co.uk.INVALID 
 wrote:

 Thanks for the quick response but I think that you have answered a different 
problem.If I run Netbeans on Windows locally and try to open a Terminal Window 
I get the message 
""Local Terminal requires cygwin. Please install cygwin and restart the IDE".
This is annoying but it is not the problem that I am trying to fix (at least at 
the moment).

My problem is that, from Windows, I have opened a project not on the local host 
but on the RPi3. I have then manged to compile, build and run it on the 
RPi3.However if in Netbeans I try to open a terminal window which I assume is 
on the RPI3 I get the message "Local Terminal is not supported on this system" 
- this is not the same error message as opening a terminal on the windows 
machine.
Are you saying that installing cygwin on the Windows machine would allow me to 
open a terminal window on the Windows machine and on the RPi3?In my head, at 
least for now, these are separate issues?


On Sunday, 7 March 2021, 21:29:24 GMT, Geertjan Wielenga 
 wrote:  
 
 
https://ourcodeworld.com/articles/read/680/how-to-configure-an-integrated-terminal-command-prompt-in-netbeans-for-windows

Gj
On Sun, Mar 7, 2021 at 10:25 PM frui...@yahoo.co.uk.INVALID 
 wrote:

I am running Apache Netbeans 12.2 on Windows 10.My target machine runs 
Raspberry Pi OS (Debian Buster).
I have managed to develop a very simple C program using Netbeans on the Windows 
machine and to get it to compile and build on the RPi3.When I run it though the 
output in the Netbeans output window is incorrect, instead of "\n" appearing as 
a Carriage Return (CR) and Line Feed (LF) only the LFs appear.
If, in NetBeans on the Windows machine, I try to open a terminal window I get 
the message "Local terminal is not supported on this system".
What is the problem, how can I get Netbeans running on the Windows machine to 
open a terminal window on the Linux machine ?


  
   
   

Re: Re: How do I get local terminal to work for cross platform development Windows - Debian Buster

2021-03-12 Thread Eric Bresie
Did you try using ssh to connect to the RPi?

Not sure if it’s quite the same but...

https://netbeans.apache.org//kb/docs/cnd/remotedev-tutorial.html

Eric Bresie
ebre...@gmail.com (mailto:ebre...@gmail.com)

> On March 8, 2021 at 6:37:08 AM CST, frui...@yahoo.co.uk.INVALID 
> (mailto:frui...@yahoo.co.uk.INVALID)  (mailto:frui...@yahoo.co.uk.invalid)> wrote:
>
> > Do you need the Terminal window on the RPi3?
> Yes. The output displayed in the Netbeans output window (on the Windows 
> development PC) is incorrect so I need to see what would actually happen on 
> the RPi3.
>
> > Don't you already have a terminal window there that you can use?
> I am not running Netbeans on the RPi3 I am running it a Windows PC and 
> Netbeans should allow me to open a terminal window on the RPi3. If I cannot 
> do that then I would need to setup the RPi3 as a VNC Server and then run a 
> VNC Client on the Windows machine to allow me to open a terminal. So, yes it 
> could be done but it is a bit messy since it is already a feature in Netbeans 
> which should work.
>
> >How is this blocking you?
> To isolate the issue I have installed Netbeans on the RPi3 and tried running 
> it locally. The RPi3 installation still does not permit a terminal window to 
> be opened from within Netbeans it gives the message "Local Terminal is not 
> supported on this system". This eliminates a lack of cygwin from the 
> equation. It means that both my Linux (Debian Buster) and Windows 10 
> installations are unable to open terminal windows on the local machines. This 
> must be a bug or very possibly just a configuration issue. It is not a total 
> block on using Netbeans but it is frustrating to think that there may be a 
> very simple configuration setting that could solve the problem.
>
> Fruitpi
>
>
> On Sunday, 7 March 2021, 22:53:19 GMT, Geertjan Wielenga 
>  (mailto:geertjan.wiele...@googlemail.com.invalid)> wrote:
>
>
> Do you need the Terminal window on the RPi3? Don't you already have a 
> terminal window there that you can use? How is this blocking you?
>
> Gj
> On Sun, Mar 7, 2021 at 11:01 PM frui...@yahoo.co.uk.INVALID 
> (mailto:frui...@yahoo.co.uk.INVALID)  (mailto:frui...@yahoo.co.uk.invalid)> wrote:
> > Thanks for the quick response but I think that you have answered a 
> > different problem.
> > If I run Netbeans on Windows locally and try to open a Terminal Window I 
> > get the message
> > ""Local Terminal requires cygwin. Please install cygwin and restart the 
> > IDE".
> >
> > This is annoying but it is not the problem that I am trying to fix (at 
> > least at the moment).
> >
> > My problem is that, from Windows, I have opened a project not on the local 
> > host but on the RPi3. I have then manged to compile, build and run it on 
> > the RPi3.However if in Netbeans I try to open a terminal window which I 
> > assume is on the RPI3 I get the message "Local Terminal is not supported on 
> > this system" - this is not the same error message as opening a terminal on 
> > the windows machine.
> >
> > Are you saying that installing cygwin on the Windows machine would allow me 
> > to open a terminal window on the Windows machine and on the RPi3?
> > In my head, at least for now, these are separate issues?
> >
> >
> >
> > On Sunday, 7 March 2021, 21:29:24 GMT, Geertjan Wielenga 
> >  > (mailto:geertjan.wiele...@googlemail.com)> wrote:
> >
> >
> > https://ourcodeworld.com/articles/read/680/how-to-configure-an-integrated-terminal-command-prompt-in-netbeans-for-windows
> >
> > Gj
> > On Sun, Mar 7, 2021 at 10:25 PM frui...@yahoo.co.uk.INVALID 
> > (mailto:frui...@yahoo.co.uk.INVALID)  > (mailto:frui...@yahoo.co.uk.invalid)> wrote:
> > > I am running Apache Netbeans 12.2 on Windows 10.
> > > My target machine runs Raspberry Pi OS (Debian Buster).
> > >
> > > I have managed to develop a very simple C program using Netbeans on the 
> > > Windows machine and to get it to compile and build on the RPi3.
> > > When I run it though the output in the Netbeans output window is 
> > > incorrect, instead of "\n" appearing as a Carriage Return (CR) and Line 
> > > Feed (LF) only the LFs appear.
> > >
> > > If, in NetBeans on the Windows machine, I try to open a terminal window I 
> > > get the message "Local terminal is not supported on this system".
> > >
> > > What is the problem, how can I get Netbeans running on the Windows 
> > > machine to open a terminal window on the Linux machine ?
> > >
> > >


Re: How do I get local terminal to work for cross platform development Windows - Debian Buster

2021-03-08 Thread Neil C Smith
On Mon, 8 Mar 2021 at 12:38, frui...@yahoo.co.uk.INVALID
 wrote:
>
> It is not a total block on using Netbeans but it is frustrating to think that 
> there may be a very simple configuration setting that could solve the problem.

Out of curiosity, does running NetBeans on the Pi with netbeans
-J-Dcnd.pty.arm.support=true work?

>From Windows, does the second icon in the left toolbar of the Terminal
tab, for remote terminal, not work either?

Best wishes,

Neil

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: How do I get local terminal to work for cross platform development Windows - Debian Buster

2021-03-08 Thread frui...@yahoo.co.uk.INVALID
  > Do you need the Terminal window on the RPi3? 
Yes. The output displayed in the Netbeans output window (on the Windows 
development PC) is incorrect so I need to see what would actually happen on the 
RPi3.

> Don't you already have a terminal window there that you can use? 
I am not running Netbeans on the RPi3 I am running it a Windows PC and Netbeans 
should allow me to open a terminal window on the RPi3. If I cannot do that then 
I would need to setup the RPi3 as a VNC Server and then run a VNC Client on the 
Windows machine to allow me to open a terminal. So, yes it could be done but it 
is a bit messy since it is already a feature in Netbeans which should work.

>How is this blocking you?To  isolate the issue I have installed Netbeans on 
>the RPi3 and tried running it locally. The RPi3 installation still does not 
>permit a terminal window to be opened from within Netbeans it gives the 
>message "Local Terminal is not supported on this system". This eliminates a 
>lack of cygwin from the equation. It means that both my Linux (Debian Buster) 
>and Windows 10 installations are unable to open terminal windows on the local 
>machines. This must be a bug or very possibly just a configuration issue. It 
>is not a total block on using Netbeans but it is frustrating to think that 
>there may be a very simple configuration setting that could solve the problem.
Fruitpi

On Sunday, 7 March 2021, 22:53:19 GMT, Geertjan Wielenga 
 wrote:  
 
 Do you need the Terminal window on the RPi3? Don't you already have a terminal 
window there that you can use? How is this blocking you?
Gj
On Sun, Mar 7, 2021 at 11:01 PM frui...@yahoo.co.uk.INVALID 
 wrote:

 Thanks for the quick response but I think that you have answered a different 
problem.If I run Netbeans on Windows locally and try to open a Terminal Window 
I get the message 
""Local Terminal requires cygwin. Please install cygwin and restart the IDE".
This is annoying but it is not the problem that I am trying to fix (at least at 
the moment).

My problem is that, from Windows, I have opened a project not on the local host 
but on the RPi3. I have then manged to compile, build and run it on the 
RPi3.However if in Netbeans I try to open a terminal window which I assume is 
on the RPI3 I get the message "Local Terminal is not supported on this system" 
- this is not the same error message as opening a terminal on the windows 
machine.
Are you saying that installing cygwin on the Windows machine would allow me to 
open a terminal window on the Windows machine and on the RPi3?In my head, at 
least for now, these are separate issues?


On Sunday, 7 March 2021, 21:29:24 GMT, Geertjan Wielenga 
 wrote:  
 
 
https://ourcodeworld.com/articles/read/680/how-to-configure-an-integrated-terminal-command-prompt-in-netbeans-for-windows

Gj
On Sun, Mar 7, 2021 at 10:25 PM frui...@yahoo.co.uk.INVALID 
 wrote:

I am running Apache Netbeans 12.2 on Windows 10.My target machine runs 
Raspberry Pi OS (Debian Buster).
I have managed to develop a very simple C program using Netbeans on the Windows 
machine and to get it to compile and build on the RPi3.When I run it though the 
output in the Netbeans output window is incorrect, instead of "\n" appearing as 
a Carriage Return (CR) and Line Feed (LF) only the LFs appear.
If, in NetBeans on the Windows machine, I try to open a terminal window I get 
the message "Local terminal is not supported on this system".
What is the problem, how can I get Netbeans running on the Windows machine to 
open a terminal window on the Linux machine ?


  
  

Re: How do I get local terminal to work for cross platform development Windows - Debian Buster

2021-03-07 Thread Geertjan Wielenga
Do you need the Terminal window on the RPi3? Don't you already have a
terminal window there that you can use? How is this blocking you?

Gj

On Sun, Mar 7, 2021 at 11:01 PM frui...@yahoo.co.uk.INVALID
 wrote:

> Thanks for the quick response but I think that you have answered a
> different problem.
> If I run Netbeans on Windows locally and try to open a Terminal Window I
> get the message
> ""Local Terminal requires cygwin. Please install cygwin and restart the
> IDE".
>
> This is annoying but it is not the problem that I am trying to fix (at
> least at the moment).
>
> My problem is that, from Windows, I have opened a project not on the local
> host but on the RPi3. I have then manged to compile, build and run it on
> the RPi3.However if in Netbeans I try to open a terminal window which I
> assume is *on the RPI3* I get the message "Local Terminal is not
> supported on this system" - this is not the same error message as opening a
> terminal on the windows machine.
>
> Are you saying that installing cygwin on the Windows machine would allow
> me to open a terminal window on the Windows machine *and* on the RPi3?
> In my head, at least for now, these are separate issues?
>
>
>
> On Sunday, 7 March 2021, 21:29:24 GMT, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
>
>
> https://ourcodeworld.com/articles/read/680/how-to-configure-an-integrated-terminal-command-prompt-in-netbeans-for-windows
>
> Gj
>
> On Sun, Mar 7, 2021 at 10:25 PM frui...@yahoo.co.uk.INVALID
>  wrote:
>
> I am running Apache Netbeans 12.2 on Windows 10.
> My target machine runs Raspberry Pi OS (Debian Buster).
>
> I have managed to develop a very simple C program using Netbeans on the
> Windows machine and to get it to compile and build on the RPi3.
> When I run it though the output in the Netbeans output window is
> incorrect, instead of "\n" appearing as a Carriage Return (CR) and Line
> Feed (LF) only the LFs appear.
>
> If, in NetBeans on the Windows machine, I try to open a terminal window I
> get the message "Local terminal is not supported on this system".
>
> What is the problem, how can I get Netbeans running on the Windows machine
> to open a terminal window on the Linux machine ?
>
>
>


Re: How do I get local terminal to work for cross platform development Windows - Debian Buster

2021-03-07 Thread frui...@yahoo.co.uk.INVALID
 Thanks for the quick response but I think that you have answered a different 
problem.If I run Netbeans on Windows locally and try to open a Terminal Window 
I get the message 
""Local Terminal requires cygwin. Please install cygwin and restart the IDE".
This is annoying but it is not the problem that I am trying to fix (at least at 
the moment).

My problem is that, from Windows, I have opened a project not on the local host 
but on the RPi3. I have then manged to compile, build and run it on the 
RPi3.However if in Netbeans I try to open a terminal window which I assume is 
on the RPI3 I get the message "Local Terminal is not supported on this system" 
- this is not the same error message as opening a terminal on the windows 
machine.
Are you saying that installing cygwin on the Windows machine would allow me to 
open a terminal window on the Windows machine and on the RPi3?In my head, at 
least for now, these are separate issues?


On Sunday, 7 March 2021, 21:29:24 GMT, Geertjan Wielenga 
 wrote:  
 
 
https://ourcodeworld.com/articles/read/680/how-to-configure-an-integrated-terminal-command-prompt-in-netbeans-for-windows

Gj
On Sun, Mar 7, 2021 at 10:25 PM frui...@yahoo.co.uk.INVALID 
 wrote:

I am running Apache Netbeans 12.2 on Windows 10.My target machine runs 
Raspberry Pi OS (Debian Buster).
I have managed to develop a very simple C program using Netbeans on the Windows 
machine and to get it to compile and build on the RPi3.When I run it though the 
output in the Netbeans output window is incorrect, instead of "\n" appearing as 
a Carriage Return (CR) and Line Feed (LF) only the LFs appear.
If, in NetBeans on the Windows machine, I try to open a terminal window I get 
the message "Local terminal is not supported on this system".
What is the problem, how can I get Netbeans running on the Windows machine to 
open a terminal window on the Linux machine ?


  

Re: How do I get local terminal to work for cross platform development Windows - Debian Buster

2021-03-07 Thread Geertjan Wielenga
https://ourcodeworld.com/articles/read/680/how-to-configure-an-integrated-terminal-command-prompt-in-netbeans-for-windows

Gj

On Sun, Mar 7, 2021 at 10:25 PM frui...@yahoo.co.uk.INVALID
 wrote:

> I am running Apache Netbeans 12.2 on Windows 10.
> My target machine runs Raspberry Pi OS (Debian Buster).
>
> I have managed to develop a very simple C program using Netbeans on the
> Windows machine and to get it to compile and build on the RPi3.
> When I run it though the output in the Netbeans output window is
> incorrect, instead of "\n" appearing as a Carriage Return (CR) and Line
> Feed (LF) only the LFs appear.
>
> If, in NetBeans on the Windows machine, I try to open a terminal window I
> get the message "Local terminal is not supported on this system".
>
> What is the problem, how can I get Netbeans running on the Windows machine
> to open a terminal window on the Linux machine ?
>
>
>


How do I get local terminal to work for cross platform development Windows - Debian Buster

2021-03-07 Thread frui...@yahoo.co.uk.INVALID
I am running Apache Netbeans 12.2 on Windows 10.My target machine runs 
Raspberry Pi OS (Debian Buster).
I have managed to develop a very simple C program using Netbeans on the Windows 
machine and to get it to compile and build on the RPi3.When I run it though the 
output in the Netbeans output window is incorrect, instead of "\n" appearing as 
a Carriage Return (CR) and Line Feed (LF) only the LFs appear.
If, in NetBeans on the Windows machine, I try to open a terminal window I get 
the message "Local terminal is not supported on this system".
What is the problem, how can I get Netbeans running on the Windows machine to 
open a terminal window on the Linux machine ?