>-----Original Message----- >From: Gregory Nutt <spudan...@gmail.com> >Sent: 17 August 2022 19:16 >Subject: Re: 10.3 merge issues > > >> 1. Final change that allowed a compile was when I changed the defconfig >> to have the new: >> >> >> >> CONFIG_INIT_ENTRYPOINT="nsh_main" >> >> CONFIG_INIT_ENTRYNAME="nsh" >> >> >> >> It all boots and I get the nsh prompt but I get continuous: >> >> >> >> nsh_session: cle failed: 22 >> >> >> >> I'm assuming that's EINVAL, but I can't work out why? >> >> > >What kind of terminal do you use? CLE only works with a VT100-compatible >terminal and will return -EINVAL to nsh_session if the terminal does not >respond correctly to a VT100 request for the current cursor position. > [Tim] Minicom (via serial->USB) under WSL (main build/dev environment is a "proper" Linux machine, but run Minicom via WSL for historic reasons)
It has a choice of VT102 or ANSI - both behave the same.