Re: [PATCH] bash-4.2-release-with-unlimited-history-by-crq.diff

2012-11-08 Thread cheng renquan
On Thu, Nov 8, 2012 at 3:22 PM, Chet Ramey wrote: >> 2) remove duplicates in HISTFILE also, not just in current history in >> memory, we can say this a deep dedup? it only run deep dedup when >> HC_ERASEDUPS set, > > I'd rather see this done (and have adapted your previous code submission to > do

[PATCH] bash-4.2-release-with-unlimited-history-by-crq.diff

2012-10-31 Thread cheng renquan
ry () || force_append_history) { + if (history_control & HC_ERASEDUPS) + erasedups_history (history_lines_this_session, hf); result = append_history (history_lines_this_session, hf); history_lines_in_file += history_lines_this_session; } -- Cheng Renquan (程任全)

Re: wrong PS1 var width calculation

2009-01-04 Thread Cheng Renquan (程任全)
On Tue, Dec 9, 2008 at 2:32 PM, Cheng Renquan wrote: > On Tue, Dec 9, 2008 at 11:40 AM, Chet Ramey wrote: >> Investigate patch 44. It should fix this. > > From where? > > Or please tell a bash repository version, I'll test it. I'm using the latest gentoo w

Re: wrong PS1 var width calculation

2008-12-08 Thread Cheng Renquan
' - Chaucer > > Chet Ramey, ITS, CWRU[EMAIL PROTECTED] > http://cnswww.cns.cwru.edu/~chet/ -- Cheng Renquan, Shenzhen, China Zsa Zsa Gabor - "A man in love is incomplete until he has married. Then he's finished."

Re: wrong PS1 var width calculation

2008-12-08 Thread Cheng Renquan
On Mon, Dec 8, 2008 at 9:22 PM, Larry Clapp <[EMAIL PROTECTED]> wrote: > On Mon, Dec 08, 2008 at 07:29:14PM +0800, Cheng Renquan wrote: >> BTW, someone know a good screen record software under Linux please >> suggest it to me, I will record a video to show this bug clearly,

Re: wrong PS1 var width calculation

2008-12-08 Thread Cheng Renquan
bug clearly, Thanks. > > Chet > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer > > Chet Ramey, ITS, CWRU[EMAIL PROTECTED] > http://cnswww.cns.cwru.edu/~chet/ > -- Cheng Renquan, Shenzhen, China Marie von Ebner-Eschenbach - "Even a stopped clock is right twice a day."