Re: SIGSEGV: rl_redisplay: Long Directory Name with EM Dash character in
From:
Chet Ramey
Subject:
Re: SIGSEGV: rl_redisplay: Long Directory Name with EM Dash character in Graphical Terminal
Date:
Sun, 4 Feb 2018 16:53:29 -0500
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
On 2/2/18 8:57 PM, Kieran Grant wrote:
> On 03/02/18 00:25, Chet Ramey wrote:
>> I can't reproduce it on Mac OS X or Red Hat, even when using the Debian
>> prompt. What is your $PS1? (The value of `prompt' in the call to readline()
>> in the trace looks kind of sketchy.)
>>
>
> PS1=\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
Try the attached patch; it should fix it.
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/