Characters getting prepended by ^[ while setting up changes to php ini

September 2, 2016 97 views
PHP Nginx


I had made some changes to my php5 ini file and wanted to save and exit. I may have typed Control + ^X or something in the console. All of a sudden it redirected me to login again and now whenever a type a letter it gets prepended by ^[ characters. For eg, typing d will appear as ^[d. How do I exit from this program. I am not using SSH to access the console but directly from the website.


1 Answer
ryanpq MOD September 2, 2016
Accepted Answer

Generally we recommend using the console only for emergency access to your droplet and that you perform regular maintenance and administration via an ssh client.

If you find these characters being inserted into the text you're typing in the console, try pressing Ctrl and Alt a few times. This should reset the keymap for the console and correct the issue.

Have another answer? Share your knowledge.