Re: display bug for both gnome-teminal & terminator & xterm
From:
Chet Ramey
Subject:
Re: display bug for both gnome-teminal & terminator & xterm
Date:
Fri, 24 Aug 2018 09:24:53 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
On 8/24/18 6:25 AM, weidong wrote:
> Bash Version: 4.4
> Patch Level: 19
> Release Status: release
>
> Description:
> if I cd into a deep Chinese Character path(which longer than the terminal
> width)
> two problems:
> 1) the last document name is not right
> 2) some word (which is part of the document name) display behind the "$"
>
> Repeat-By:
> clear steps to reproduce (step by step);
>
> 1) build deep document use Chinese character (alphabet character do not
> have this bug)
> 2) cd into the deepest document (the path longer than the terminal width)
> expected result:
> the document name before '$' is right, and no extral character show
> behind '$'
> actual result.:
> the document name before '$' is not right and some extral character
> show behind '$'
A couple of things would be helpful:
1. What is the value of PS1?
2. Can you provide a filename or pathname containing Chinese characters I
can use to try and reproduce the issue?
Chet
--
``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/