User avatar
KevinA
Posts: 64
Joined: Tue Oct 27, 2015 3:50 pm
Location: Park Valley, Utah

Arrow and Del keys not working

Wed Jan 02, 2019 3:51 am

For two new Users I added, every time I press an arrowkey I get newlines with A, B, C and D's, Del key ^[[3~, but the PI user everything is good.
Is there a script to download all the extras from the complete Raspbian Stretch? I need a way to add uses that works.

fbe
Posts: 494
Joined: Thu Aug 17, 2017 9:08 pm

Re: Arrow and Del keys not working

Wed Jan 02, 2019 5:10 pm

Please check what login shell is configured for the user. If you didn't specify it when creating the user, the default should be /bin/sh. Check the output of

Code: Select all

echo $0
in a terminal or on the console. If you don't see "bash" type

Code: Select all

bash
and everything should be fine - unless you leave the bash with

Code: Select all

exit
To use bash as login shell for the current user, type

Code: Select all

chsh -s /bin/bash
You are asked for the password of the current user then. Logout, login, enjoy.

User avatar
KevinA
Posts: 64
Joined: Tue Oct 27, 2015 3:50 pm
Location: Park Valley, Utah

Re: Arrow and Del keys not working

Thu Jan 03, 2019 5:10 am

It was the bash thing, I created the users with webmin, I needed to build a template directory with the defaults for users. No more cursing the keyboard setting... Thanks

Return to “Beginners”