Re: Syntax coloring/highlighting in gnu-readline

2014-03-02 Thread Solros
On Friday, February 10, 2012 4:25:22 PM UTC+1, LanX wrote: > > I'm trying to interactively add colors while typing in readline and > > using rl_event_hook to change rl_line_buffer seems to work. > > > > Alas the ANSI escape codes for formatting which are allowed in the > > prompt are not inte

Re: Parent shell gets stopped when a child shell is created with job control but not interactive (bash -mc)

2014-03-02 Thread Eduardo A . Bustamante López
On Sun, Mar 02, 2014 at 06:09:40PM -0500, Chet Ramey wrote: > Thanks for the report. Pointing out the behavior difference between the > first case (using -i) and the second (without) was the key. Here's a > patch. > > Chet Thanks! The patch fixes the issue: dualbus@debian:~$ ~/local/bash-jobs-f

Re: Parent shell gets stopped when a child shell is created with job control but not interactive (bash -mc)

2014-03-02 Thread Chet Ramey
On 2/28/14, 12:00 PM, Eduardo A. Bustamante López wrote: > This works fine: > > dualbus@debian:~$ ~/local/bin/bash -s <<< 'for i in . .; do (~/local/bin/bash > -mic ": & wait") ; done' > [1] 1629 > [1]+ Done: > [1] 1631 > [1]+ Done: > > - > This does

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: Errors in commands containing UTF8 characters are printed with UTF8 byte expansion

2014-03-02 Thread Chet Ramey
On 3/1/14, 4:12 PM, Yuri wrote: > When I accidentally type some nonexistent command containing UTF8 > characters, an error has UTF8 characters expanded: > $ ЫZZZ > bash: $'\320\253ZZZ': command not found > > I think bash shouldn't discriminate against UTF8 characters in error > messages, and shoul

Re: typo in bash manual

2014-03-02 Thread Chris Down
On 2014-03-02 06:30:07 -0800, Ryan Cunningham wrote: > Apparently I am not reading it wrong. Read my previous e-mail to this > list on this thread. If you had paid attention and looked at my reply more closely, you would have noticed that the e-mail was not even addressed to you, it was addressed

Re: typo in bash manual

2014-03-02 Thread Ryan Cunningham
Apparently I am not reading it wrong. Read my previous e-mail to this list on this thread. Sent from my iPad > On Mar 1, 2014, at 8:55 PM, Chris Down wrote: > >> On 2014-03-01 11:29:03 -0800, Dave Yost wrote: >> In http://www.gnu.org/software/bash/manual/bashref.html#GNU-Parallel >> >> Where

Re: RFE: a way to echo the arguments with quoting

2014-03-02 Thread Andreas Schwab
Dave Yost writes: > I have an ugly function I wrote for zsh that does this: > > Sat 14:17:25 ip2 yost /Users/yost > 1 634 Z% echo-quoted xyz \$foo 'a b c ' '\n' > xyz '$foo' 'a b c ' '\n' > Sat 14:17:53 ip2 yost /Users/yost > 0 635 Z% > > It would be nice if there were an easy way to do this in