Re: Commands containing UTF8 characters mess up bash history

2014-03-03 Thread Andreas Schwab
Yuri writes: > I just got the same problem again on 4.2.45. I wonder how can I make a > testcase, short of using a keylogger. Try script(1). Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something co

Re: Commands containing UTF8 characters mess up bash history

2014-03-03 Thread Yuri
On 03/02/2014 14:15, Chet Ramey wrote: I can't reproduce this using bash-4.2.45 or bash-4.3 on Mac OS X or RHEL5. I'm using Mac OS X Terminal, if that makes a difference. I just got the same problem again on 4.2.45. I wonder how can I make a testcase, short of using a keylogger. I use konsole

Re: Commands containing UTF8 characters mess up bash history

2014-03-02 Thread Chet Ramey
On 3/1/14, 4:23 PM, Yuri wrote: > I manipulate with some files containing UTF8 characters. The only commands > I run are these: > ./some-cmd < ../some-dir/utf8-containing-file-name.txt > vim ../some-dir/utf8-containing-file-name.txt > > After a while of running of such commands, and going back and

Re: Commands containing UTF8 characters mess up bash history

2014-03-01 Thread Yuri
To: bug-bash@gnu.org Subject: Commands containing UTF8 characters mess up bash history Configuration Information: Machine: amd64 OS: freebsd9.2 Compiler: clang Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='amd64' -DCONF_OSTYPE='freebsd9.2' -DCONF_MACH

Re: Commands containing UTF8 characters mess up bash history

2014-03-01 Thread Ryan Cunningham
Then you might want to file a formal bug report using 'bashbug'. Reply with the bug report. In the meanwhile, reinstall Bash using these commands, to find out if the problem occurs upstream (if it doesn't, don't report it here): wget ftp://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz tar -xzvf bash-4.3.

Re: Commands containing UTF8 characters mess up bash history

2014-03-01 Thread Yuri
On 03/01/2014 14:07, Ryan Cunningham wrote: You could use the command "history -c" to clear the history in case this becomes a real issue. I don't have a real fix. The problem is that it comes back over and over again. Yuri

Re: Commands containing UTF8 characters mess up bash history

2014-03-01 Thread Ryan Cunningham
You could use the command "history -c" to clear the history in case this becomes a real issue. I don't have a real fix. Sent from my iPad > On Mar 1, 2014, at 1:23 PM, Yuri wrote: > > I manipulate with some files containing UTF8 characters. The only commands I > run are these: > ./some-cmd <

Commands containing UTF8 characters mess up bash history

2014-03-01 Thread Yuri
I manipulate with some files containing UTF8 characters. The only commands I run are these: ./some-cmd < ../some-dir/utf8-containing-file-name.txt vim ../some-dir/utf8-containing-file-name.txt After a while of running of such commands, and going back and forth in history and rerunning them, the