Can't escape from Pico in Terminal
I started inputting some information into Terminal. At a certain point, I didn't have the result I wanted and wanted to make some changes. However, it seems I became stuck in the program PICO, which, as I understand is a word processor of some sort in Terminal. There are commands shown at the bottom of the Terminal window, within Pico, one of which is crtl X, which should allow me to exit from Pico to go back into the regular Terminal window; it doesn't work. If I close Terminal and restart it, for a split second, I can see the regular window before Pico takes over. If I restart in Recovery mode, then I can use a regular Terminal, but I cannot make any changes to try to erase any data connected to Pico. When I then restart the computer again, Pico is back in Terminal. I tried iTerm and another 'Terminal-like' program, but both of these had the same Pico within and I could not escape it. I want to escape Pico and get back to the normal Terminal window.
iMac (2017 – 2020)