On 3/18/21 3:28 PM, Alex fxmbsw7 Ratchev wrote:
hm how can i help
its a fresh deb all-tree's system, i had bash 5.1.4-maint from a month or so ago ( only binary from another system ) and fetched the new today and compiled and installed, and cp'd to /bin i suspect it could be internal readline short bindings issue, instdead of having the -dev installed

how can i help fixing or analyzing this ?

If you want to debug it, and you're sure that you've linked bash against a
working ncurses library (use ldd to check), use gdb and see what's
happening.

Set a breakpoint in rl_clear_screen, run bash, type ^L, and when the
breakpoint hits, look at the value of _rl_term_clrpag. That is the
control sequence readline got from terminfo to clear the screen. Make
sure it's what your terminal expects to use to clear the screen.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to