Whenever I type in a bash command longer than about half the width of the shell window I'm in, the command breaks like it would if I filled the whole screen3rd command in image - typed a few xs and got the expected result.4th command - typed a load more xs, and the command broke back to the start as though it had filled the whole line.I'm connecting through Putty.I'm running Raspbian (a distro based on Debian)If I'm not being clear enough please say, it's not easy to explain.
When a command is over half the terminal size it breaks
shell;command line;terminal;prompt;putty
I think that your tty is reporting the wrong tty size. Try runningpi@raspberrypi$ stty -aF /dev/ttyO0There you will see how many rows and columns the tty thinks it has. This size should match the size set in putty. You can also change parameters, such as number of columns, using stty. The command would be something likepi@raspberrypi$ stty -F /dev/ttyO0 cols 80You can check more parameters at http://unixhelp.ed.ac.uk/CGI/man-cgi?stty