eclipse-leda / leda-distro

Eclipse Leda provides a Yocto-based build setup for SDV.EDGE components
https://eclipse-leda.github.io/leda/
Apache License 2.0
14 stars 8 forks source link

Home/End key navigation does not work with putty #18

Closed int0x27 closed 1 year ago

int0x27 commented 1 year ago

Leda image uses TERM=xterm, which is causing issues in command line editting (home and end keys do not work). export TERM=linux fixes that isses. As $HOME/.bashrc is not used, probably put it in /etc/profile

mikehaller commented 1 year ago

It seems to depend on your host terminal.

Whether you're using the serial console when starting qemu, then it's already TERM=linux

When connecting via ssh, it's TERM=xterm-256color on my terminal, since my host terminal is using xterm-256color.

If you're using a SSH .config, then just set SetEnv TERM on the respective Host section.

chheis commented 1 year ago

@int0x27 still unclear? Or can I close the issue with solved?

int0x27 commented 1 year ago

It was not an actual issue, It probably affects putty only and it can be fixed in the putty session. You may close it