Re: (Partly solved)Re: why does the shell show commands foolishly when I press UP key?

2007-11-12 Thread Thilo Six
Andrei Popescu wrote the following on 12.11.2007 19:26 <<-snip->> > I have seen this in the past when running mc, but not latelly (maybe the > bug was fixed in unstable?). > > Regards, > Andrei you are right it´s seems to be fixed now - good to know. bye -- Thilo key: 0x4A411E09 -- To UN

Re: (Partly solved)Re: why does the shell show commands foolishly when I press UP key?

2007-11-12 Thread Thilo Six
Pál Csányi wrote the following on 10.11.2007 11:12 > I use > GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu) > in Debian Etch and I get this when I use history: > > cd "`echo -e '\057'`" > > What is this and how can I get rid of it? i had problem in past. I solved for me with: alias mc=

Re: (Partly solved)Re: why does the shell show commands foolishly when I press UP key?

2007-11-12 Thread Andrei Popescu
On Sat, Nov 10, 2007 at 01:47:00PM +0100, Florian Kulzer wrote: > On Sat, Nov 10, 2007 at 11:12:57 +0100, Pál Csányi wrote: > > I use > > GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu) > > in Debian Etch and I get this when I use history: > > > > cd "`echo -e '\057'`" > > > > What is thi

Re: (Partly solved)Re: why does the shell show commands foolishly when I press UP key?

2007-11-12 Thread dulev
> Sorry, I use sarge, which has bash 2. > > > > > The ls command show once, but pwd show twice. > > > > It seems to me that HISTCONTROL=ignoredups sometime work, sometime > > > > does not work. > > > > It does not work as I have hoped. > > > > > > Probably you need to use HISTCONTROL=erasedups >

Re: (Partly solved)Re: why does the shell show commands foolishly when I press UP key?

2007-11-10 Thread Florian Kulzer
On Sat, Nov 10, 2007 at 11:12:57 +0100, Pál Csányi wrote: > I use > GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu) > in Debian Etch and I get this when I use history: > > cd "`echo -e '\057'`" > > What is this It seems to be a complicated way to do cd / (\057 is "/", the backticks ``

Re: (Partly solved)Re: why does the shell show commands foolishly when I press UP key?

2007-11-10 Thread Pál Csányi
I use GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu) in Debian Etch and I get this when I use history: cd "`echo -e '\057'`" What is this and how can I get rid of it? -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]

Re: (Partly solved)Re: why does the shell show commands foolishly when I press UP key?

2007-11-09 Thread Serena Cantor
Sorry, I use sarge, which has bash 2. --- dulev <[EMAIL PROTECTED]> wrote: > > > The ls command show once, but pwd show twice. > > > It seems to me that HISTCONTROL=ignoredups sometime work, sometime > > > does not work. > > > It does not work as I have hoped. > > > > Probably you need to use HI

Re: (Partly solved)Re: why does the shell show commands foolishly when I press UP key?

2007-11-09 Thread CaT
On Fri, Nov 09, 2007 at 05:43:21AM -0800, Serena Cantor wrote: > Are you kidding? I think you meant: "Wow. Thanks. That does exactly what I need." Or similar. -- "To the extent that we overreact, we proffer the terrorists the greatest tribute." - High Court Judge Michael Kirby

Re: (Partly solved)Re: why does the shell show commands foolishly when I press UP key?

2007-11-09 Thread dulev
> > The ls command show once, but pwd show twice. > > It seems to me that HISTCONTROL=ignoredups sometime work, sometime > > does not work. > > It does not work as I have hoped. > > Probably you need to use HISTCONTROL=erasedups In bash3 only. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] wit

Re: (Partly solved)Re: why does the shell show commands foolishly when I press UP key?

2007-11-09 Thread Serena Cantor
Are you kidding? --- Raj Kiran Grandhi <[EMAIL PROTECTED]> wrote: > Serena Cantor wrote: > > The ls command show once, but pwd show twice. > > > > It seems to me that HISTCONTROL=ignoredups sometime work, sometime does not > > work. > > > > It does not work as I have hoped. > > > > Probably

Re: (Partly solved)Re: why does the shell show commands foolishly when I press UP key?

2007-11-09 Thread Raj Kiran Grandhi
Serena Cantor wrote: The ls command show once, but pwd show twice. It seems to me that HISTCONTROL=ignoredups sometime work, sometime does not work. It does not work as I have hoped. Probably you need to use HISTCONTROL=erasedups -- Raj Kiran Grandhi -- To UNSUBSCRIBE, email to [EMAIL PR

Re: (Partly solved)Re: why does the shell show commands foolishly when I press UP key?

2007-11-09 Thread dulev
> The ls command show once, but pwd show twice. Correct. > It seems to me that HISTCONTROL=ignoredups sometime work, sometime does > not work. HISTCONTROL remove duplicate near-by commands only and it work always. :) > It does not work as I have hoped. Sorry. > > Try: > > > > pwd > > cd > >