Re: NXTerm with USB console

2022-09-27 Thread Jernej Turnsek
Hi Gregory, The problem is that I have only a USB console available at the moment and as I can see from the code it is the USB console which is calling dup2 after nxterm was already called dup2 for the stdio and stderr. I suspect this is the root cause of the problem. I would try with the serial c

Re: NXTerm with USB console

2022-09-27 Thread Gregory Nutt
I wonder if this is some interaction between the USB console and NxTerm?  Both are rather special cases.  Have you tried NxTerm with a serial console.  There are quite a few examples that worked in the past: $ find boards -name defconfig | xargs grep CONFIG_NXTERM=y boards/arm/lpc17xx_40xx/open

Re: NXTerm with USB console

2022-09-27 Thread Alan C. Assis
I was refering to ALT CONSOLE, it could be used to any other device. Not only SLCD :-) Maybe it was removed because now there is another alternative to Alternative Console, hehehe. I need to check. On 9/27/22, Jernej Turnsek wrote: > Hi Alan, > > what do you mean about someone removing the nsh c

Re: NXTerm with USB console

2022-09-27 Thread Jernej Turnsek
Hi Alan, what do you mean about someone removing the nsh console. It is still in apps repo. Your video was actually using a different slcd console which is available for alphanumeric lcd displays. Regards, Jernej On Tue, Sep 27, 2022 at 3:05 PM Alan C. Assis wrote: > Hi Jernej, > > NSH used to

Re: NXTerm with USB console

2022-09-27 Thread Alan C. Assis
Hi Jernej, NSH used to be an Alternative Console, but I think someone removed it few months ago, probably now my video tutorial explaning show to put the NSH terminal in a matrix display will not work see: https://www.youtube.com/watch?v=4za1lhfsct8 Maybe someone who removed it could help us :-)