Chet Ramey wrote:
>
> Interesting. This happens only on Linux. FreeBSD, MacOS X, and Solaris
> all interrupt and return to $PS1.
>
> Chet
>
Actually, this was happening for me on Solaris too, so looks like not just a
Linux thing.
But your patch fixed the issue on Solaris as well.
Richard
On Wednesday 25 February 2009 16:21:47 Chet Ramey wrote:
> > > Yep, it's a bug. Try the attached patch; it works for me.
> >
> > this introduces a bug of it's own though :/. you can no longer use
> > ctrl+c to escape from unbalanced quotes.
> >
> > - type: echo '
> > - hit enter
> > - hit ctrl+c
> > Yep, it's a bug. Try the attached patch; it works for me.
>
> this introduces a bug of it's own though :/. you can no longer use ctrl+c to
> escape from unbalanced quotes.
>
> - type: echo '
> - hit enter
> - hit ctrl+c over and over
> - bash still waits for the ' to be balanced
Still not
Mike Frysinger wrote:
> this introduces a bug of it's own though :/. you can no longer use ctrl+c to
> escape from unbalanced quotes.
>
> - type: echo '
> - hit enter
> - hit ctrl+c over and over
> - bash still waits for the ' to be balanced
Interesting. This happens only on Linux. FreeBSD,
On Monday 23 February 2009 23:02:56 Chet Ramey wrote:
> Bernd Eggink wrote:
> > I normally wrap the builtin cd into a function cd, which does some
> > additional things and then calls the builtin. Example:
> >
> >function cd
> >{
> > local list=$(echo *.bui)
> > # ...
> > bu
Chet Ramey wrote:
>
> I posted a patch for this earlier. Look at
>
> http://lists.gnu.org/archive/html/bug-bash/2009-02/msg00153.html
>
> and see if it fixes things for you.
>
> Chet
>
Ah yes, that was indeed the problem. Fixed for me as well now. Thanks.
--
View this message in context:
Richard Leeden wrote:
> Unfortunately doesn't work for me
>
> I'm doing something to Bernd - i.e. I have a function called cd that calls
> the builtin cd after doing some extra things. In bash 4.0 with my cd
> function enabled I get a bus error and the shell quits each time I attempt a
> tab
monoped wrote:
>
> Works for me, too. Thanks!
>
Unfortunately doesn't work for me
I'm doing something to Bernd - i.e. I have a function called cd that calls
the builtin cd after doing some extra things. In bash 4.0 with my cd
function enabled I get a bus error and the shell quits each tim
Chet Ramey schrieb:
Bernd Eggink wrote:
I normally wrap the builtin cd into a function cd, which does some
additional things and then calls the builtin. Example:
function cd
{
local list=$(echo *.bui)
# ...
builtin cd "$1"
}
I have a PS1 like this:
PS1="\\w \$ "
W
Bernd Eggink wrote:
> I normally wrap the builtin cd into a function cd, which does some
> additional things and then calls the builtin. Example:
>
>function cd
>{
> local list=$(echo *.bui)
> # ...
> builtin cd "$1"
>}
>
> I have a PS1 like this:
>
>PS1="\\w \$ "
10 matches
Mail list logo