Re: command not put into history if it starts with space

2010-02-06 Thread Paul Stansell
Mike, Thanks, I was unaware of HISTCONTROL. Paul On 6 February 2010 09:06, Jan Schampera wrote: > Mike Frysinger schrieb: > >>> When using the bash shell in an xterm or rxvt terminals at least, >>> commands executed which start with a space, eg " ls" are not added to >>> the command line hist

Re: command not put into history if it starts with space

2010-02-06 Thread Jan Schampera
Mike Frysinger schrieb: >> When using the bash shell in an xterm or rxvt terminals at least, >> commands executed which start with a space, eg " ls" are not added to >> the command line history and so are not accessible by ctrl-p. > > this is by design > -mike This is controlled by the HISTCONTR

Re: command not put into history if it starts with space

2010-02-05 Thread DennisW
On Feb 5, 4:07 am, Paul Stansell wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i386 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' > -DCONF_

Re: command not put into history if it starts with space

2010-02-05 Thread Mike Frysinger
On Friday 05 February 2010 05:07:46 Paul Stansell wrote: > When using the bash shell in an xterm or rxvt terminals at least, > commands executed which start with a space, eg " ls" are not added to > the command line history and so are not accessible by ctrl-p. this is by design -mike signature.a

command not put into history if it starts with space

2010-02-05 Thread Paul Stansell
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPACKA