Re: Color ANSI support in nsh

2020-08-16 Thread Maciej Wójcik
I am confused a bit. Are you all guys talking about the same thing? If I understand correctly Christian just wanted to introduce colors to NSH. Colours in the terminal are not about looking good. Colours improve readability. The same text on the screen carries more information. This is why everyon

RE: Color ANSI support in nsh

2020-08-16 Thread disruptivesolutionsnl
Please do not make technology about looks in functionality it has to work and be solid and has to address its purposes. If all is finished and value is there, one could bring a nice color too it 😉 Color is throwing money where functionality died Ben -Oorspronkelijk bericht- Van

Re: cpp cxx help - No thread API

2020-08-16 Thread Matt DeWall
Xiang you are amazing! It built flawlessly and the bundled example hellocxx is up and running. Thank you so much! Also, a big thank you NuttX developers for your hard work on this project! Matt On Sun, Aug 16, 2020 at 8:30 AM Xiang Xiao wrote: > I just append a new patch to PR 1592, please t

RE: cpp cxx help - No thread API

2020-08-16 Thread Xiang Xiao
I just append a new patch to PR 1592, please try it: https://github.com/apache/incubator-nuttx/pull/1592/commits/79afeea64be227e218176805970cca1b2287ba29 > -Original Message- > From: Matt DeWall > Sent: Sunday, August 16, 2020 2:28 AM > To: dev@nuttx.apache.org > Subject: Re: cpp cxx hel

Re: Color ANSI support in nsh

2020-08-16 Thread Alan Carvalho de Assis
Christian, If I'm not wrong NuttX already has this feature to fancy interface if you use of pdcurses library. Greg added pdcurses some time ago and Ken Petit added support to use it over telnet BR, Alan On 8/16/20, Christian Catchpole wrote: > Yeah i should have had a poke around before posti

Re: Telnet: up arrow key in putty returns ^[[A

2020-08-16 Thread Oleg Evseev
Hi Alan, I can open an issue, but I can't check the latest NuttX master in the near future, so I would like not to additionally disturb people yet :) вс, 16 авг. 2020 г. в 17:07, Alan Carvalho de Assis : > Hi Oleg, > > Well, I don't know if there is an easy way to fix it. > > BTW, could you plea

Re: Color ANSI support in nsh

2020-08-16 Thread Christian Catchpole
Yeah i should have had a poke around before posting on the group. I keep finding NuttX has so many features in the Kconfig :) I also suggested command history then found my Spresence NSH has history, so obviously i was not the first to think of it. I don't want to go TOO crazy with ANSI colours. I'

Re: Telnet: up arrow key in putty returns ^[[A

2020-08-16 Thread Alan Carvalho de Assis
Hi Oleg, Well, I don't know if there is an easy way to fix it. BTW, could you please open an issue for it? https://github.com/apache/incubator-nuttx/issues BR, Alan On 8/16/20, Oleg Evseev wrote: > Hi all, > > Up arrow key in Putty returns ^[[A instead of choosing last command when > connect

Telnet: up arrow key in putty returns ^[[A

2020-08-16 Thread Oleg Evseev
Hi all, Up arrow key in Putty returns ^[[A instead of choosing last command when connected to NuttX 8.2 via Telnet, while everything is ok when connected to serial console. I've already tried different keyboard configurations ("linux", Xterm and so on) in putty as suggested in internet - nothing

Re: Color ANSI support in nsh

2020-08-16 Thread Dave Marples
Hiya, Yes, there's some cheesy simple stuff in there already (mainly to stop the zephyr folks throwing shade cos their terminal is prettier). At the moment it only highlights commands, responses and errors iirc, but making it more context aware would certainly be niceit's already switched on/o

RE: Color ANSI support in nsh

2020-08-16 Thread David Sidrane
Hi Christian, As long as there is a Knob in Kconfig to enable / disable each feature (that defaults to disable) the impact is 0. IIRC there is a history, and some fancy-ness that was added by Dave a while ago. Good docs and an example defconfig would will keep it maintained (and built). Once we h