[blfs-dev] /etc/bashrc shopt -sq checkwinsize
bruce.dubbs at gmail.com
Thu Aug 20 09:03:48 PDT 2015
> seeing as i just realized there was a way to correct the problem of
> bash destroying my readline input when it wraps in an interactive
> shell on a resized terminal window, i was wondering if the fix could
> be pulled into the book.
> at the end of /etc/bashrc, just add the lines:
> # Make sure bash checks terminal window size to prevent readline wrap
> # problems when entering commands on an interactive shell
> shopt -sq checkwinsize
> perhaps we could even upstream the fix to lfs.
We don't set bashrc at all in LFS other than for the lfs user.
That said, it would be easy enough to add to bash startup scripts in
BLFS. I'll try to do that later today.
More information about the blfs-dev