[lug] terminal wrapping

Jani Averbach jaa at jaa.iki.fi
Thu Jan 6 13:29:43 MST 2005


On 2005-01-06 13:09-0700, Jason Davis wrote:
> Hello,
>  When i ssh to my Debian box and use the terminal, text is wrapping to
> the same line. When I type a command longer than my term is wide , the
> command starts overwriting what I have typed on the same line ....
> doesn't jump to the next line. How can I fix this?
> 

Put this somewhere on your /etc/profile, ~/.bash_profile, or ~/.bashrc

# This make bash newline works correctly
shopt -s checkwinsize

also resize helps on some obscure cases.

BR, Jani

-- 
Jani Averbach                 jaa at iki.fi              +1-303-415-0199 



More information about the LUG mailing list