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: Alex fxmbsw7 Ratchev
Subject: Re: in devel tree currently control-l doesnt refresh it prints newline or something non clearing
Date: Fri, 19 Mar 2021 22:20:12 +0100

thank you
i dunno about gdb but adding ncurses et la fixed it
thanks

On Fri, Mar 19, 2021 at 2:18 PM Chet Ramey <chet.ramey@case.edu> wrote:
>
> 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]