Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am still not sure what I have done but I was testing some button combinations when I was in nano editor and all of a sudden the contents of the window started not to adjust themselves when I resized the terminal window and everything becomes a huge mess. It is an ssh connection to an ubuntu machine and version is GNU nano 2.2.2. Below is an example of what happens when I resize from fullscreen to something smaller. This happens only for nano editor. Everything else works fine. Anyone has an idea ?

enter image description here

share|improve this question
    
What OS version? What version of nano? You might have better luck getting answers on apple.stackexchange.com. – Chris Page Jul 4 '12 at 3:54
    
It's actually an ssh connection to an Ubuntu machine using terminal. Version is GNU Nano 2.2.2 – Cemre Jul 4 '12 at 10:04
    
Ah…that makes a huge difference. On the remote machine, what is the value of the TERM environment variable? Does the command infocmp display an error or does it succeed? – Chris Page Jul 4 '12 at 23:08
    
$TERM variable is: xterm-color and infocmp seems to succeed by printing out some garbage (at least they don't make sense to me) – Cemre Jul 5 '12 at 10:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.