bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: in devel tree currently control-l doesnt refresh it prints newline o


From: Chet Ramey
Subject: Re: in devel tree currently control-l doesnt refresh it prints newline or something non clearing
Date: Fri, 19 Mar 2021 09:18:26 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

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    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]