K
K
Kirill Zhilyaev2017-05-03 11:34:56
SSH
Kirill Zhilyaev, 2017-05-03 11:34:56

How to enable arrow control in the console?

Changed server. On the previous server, you could press the up arrow and the last command entered would appear. The pointer could be moved by the arrows, and now some rubbish is being written to the console. How to fix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Erelecano Oioraen, 2017-05-03
@Erelecano

The problem is in the sequences your terminal emulator is passing. bash (and by default as a shell) always reacts normally to arrows and moves through history, if rubbish is written, then your terminal emulator is transmitting some other key codes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question