On Wed, Mar 01, 2017 at 09:48:08PM +0000, Eduardo Bustamante wrote: > El mié., mar. 1, 2017 3:46 PM, Eduardo Bustamante <dual...@gmail.com> > escribió: > > Description: > > Bash rewrites on the same line if I exeed line terminal width lenght. > > > Do you have an exotic PS1 or PROMPT_COMMAND ?
That was one of my initial thoughts too, but he seemed to talk about ksh style side-scrolling when writing a long command, so my second thought was that his TERM variable is wrong, or his system doesn't have a terminal definition for whatever TERM variable he is using. But then he seemed to imply that the side-scrolling stopped happening after a while, at which point I gave up trying to understand. Original poster: please tell us what terminal you are using, and what the value of "$TERM" is. Also which operating system you're on, and if you're ambitious, the output of "infocmp" on this system. Or at least the first few lines of it, just to verify that it actually exists and does not give an error. I'm hoping that you didn't mean termcap literally, because termcap is legacy BSD stuff from 3 decades ago that nobody should be using today.