bug-bash
[Top][All Lists]
Advanced

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

Re: Input line wrapping broken in 4.3.27 if built using included libterm


From: Chet Ramey
Subject: Re: Input line wrapping broken in 4.3.27 if built using included libtermcap
Date: Mon, 29 Sep 2014 11:07:53 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 9/28/14, 7:02 PM, rain.backnet@gmail.com wrote:

> Bash Version: 4.3
> Patch Level: 27
> Release Status: release
> 
> Description:
>   This is a bug affecting the latest of the shellshock patches at the time of 
>   writing, 4.3.27.  If bash is configured and built on a system with no 
>   libtermcap, it attempts to build statically linking its own one.  In this 
>   case, the resulting bash that is built does not correctly wrap long input 
>   lines.

Well, sure.  The included libtermcap is enough for bash to link
successfully and run, but it doesn't know anything about your terminal
and doesn't know how to read all the termcap/terminfo files out there.
It can do really basic character movement, but that's about it.

This has always been the case.  There's nothing about patches 25-27
that introduced any changes here.

Chet

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



reply via email to

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