bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] [6.3] horizontal-scroll always on


From: Chet Ramey
Subject: Re: [Bug-readline] [6.3] horizontal-scroll always on
Date: Mon, 9 Nov 2015 09:22:29 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/8/15 6:03 AM, Dario Niedermann wrote:
> Hello!
> 
> Reporting to the list about some unexpected behaviour I'm seeing in GNU
> Readline 6.3: option 'horizontal-scroll-mode' seems to be always on,
> even when it's verifiably turned off. I'm using said Readline version
> from within Bash 4.3.30(1)-release. Bash is compiled from source, with
> option '--with-installed-readline'. Here's a slightly edited GNU Screen
> "hardcopy" showing what I see:
> 
> 
> -----BEGIN HARDCOPY-----
> +0:~$ ldd /usr/local/bin/bash
>         linux-vdso.so.1 (0x00007fff4632b000)
>         libreadline.so.6 => /opt/pkg/lib/libreadline.so.6 (0x00007fe0264aa000)
>         libhistory.so.6 => /opt/pkg/lib/libhistory.so.6 (0x00007fe0262a0000)
>         libtermcap.so.2 => /lib64/libtermcap.so.2 (0x00007fe02609c000)
>         libdl.so.2 => /lib64/libdl.so.2 (0x00007fe025e98000)
>         libc.so.6 => /lib64/libc.so.6 (0x00007fe025ace000)
>         libncurses.so.5 => /usr/lib64/libncurses.so.5 (0x00007fe025877000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007fe026715000)
> +0:~$ !$
> /usr/local/bin/bash
> [...]
> +0:~$ bind -V |grep scroll
> horizontal-scroll-mode is set to `off'
> <tal-scroll-mode is off, so if I start typing a very long
> -----END HARDCOPY-----
> 
> 
> The last line is where I'm typing, and it still scrolls when exceeding a
> certain length.

What is that length?  And what is your terminal type?  Readline won't wrap
lines if the terminal description doesn't include the capability to move
the cursor up a line.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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