3 ms·
$ shopt -s checkwinsize on the bash command line before starting psql should fix this. This was one of those things I figured out several years after I starte
by narrator 11y ago
$ shopt -s checkwinsize
on the bash command line before starting psql should fix this. This was one of those things I figured out several years after I started using bash that would have made my life much less annoying.
- acqq 11y agoThanks! Having to discuss that in 2015 is sad: http://www.mail-archive.com/bug-bash@gnu.org/msg03562.html http://www.mail-archive.com/bug-bash@gnu.org/msg03562.html https://blogs.oracle.com/dp/entry/why_bash_doesn_t_work https://blogs.oracle.com/dp/entry/why_bash_doesn_t_work