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

September 2, 2016 1.2k views
Nginx PHP


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

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.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!