public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Preventing Midnight Commander from putting junk in .bash_history
@ 2009-06-05  1:33 Nikos Chantziaras
  2009-06-05  3:01 ` Paul Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Nikos Chantziaras @ 2009-06-05  1:33 UTC (permalink / raw
  To: gentoo-user

My .bash_history contains lots of stuff like:

   cd "`printf "%b" '\0057home\0057realnc'`"

They seem to come from Midnight Commander and are very annoying.  Any 
way to prevent this stuff from ending up in the bash history?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Preventing Midnight Commander from putting junk in  .bash_history
  2009-06-05  1:33 [gentoo-user] Preventing Midnight Commander from putting junk in .bash_history Nikos Chantziaras
@ 2009-06-05  3:01 ` Paul Hartman
  2009-06-05  3:15   ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Hartman @ 2009-06-05  3:01 UTC (permalink / raw
  To: gentoo-user

On Thu, Jun 4, 2009 at 8:33 PM, Nikos Chantziaras<realnc@arcor.de> wrote:
> My .bash_history contains lots of stuff like:
>
>  cd "`printf "%b" '\0057home\0057realnc'`"
>
> They seem to come from Midnight Commander and are very annoying.  Any way to
> prevent this stuff from ending up in the bash history?

I use MC constantly and don't have anything at all like that (or
anything unusual) in my .bash_history



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user]  Re: Preventing Midnight Commander from putting junk in    .bash_history
  2009-06-05  3:01 ` Paul Hartman
@ 2009-06-05  3:15   ` Nikos Chantziaras
  2009-06-05  3:33     ` Paul Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Nikos Chantziaras @ 2009-06-05  3:15 UTC (permalink / raw
  To: gentoo-user

Paul Hartman wrote:
> On Thu, Jun 4, 2009 at 8:33 PM, Nikos Chantziaras<realnc@arcor.de> wrote:
>> My .bash_history contains lots of stuff like:
>>
>>  cd "`printf "%b" '\0057home\0057realnc'`"
>>
>> They seem to come from Midnight Commander and are very annoying.  Any way to
>> prevent this stuff from ending up in the bash history?
> 
> I use MC constantly and don't have anything at all like that (or
> anything unusual) in my .bash_history

It is a problem occurring with mc but I think I've found the solution 
now: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529590




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Re: Preventing Midnight Commander from putting junk  in .bash_history
  2009-06-05  3:15   ` [gentoo-user] " Nikos Chantziaras
@ 2009-06-05  3:33     ` Paul Hartman
  0 siblings, 0 replies; 4+ messages in thread
From: Paul Hartman @ 2009-06-05  3:33 UTC (permalink / raw
  To: gentoo-user

On Thu, Jun 4, 2009 at 10:15 PM, Nikos Chantziaras<realnc@arcor.de> wrote:
> Paul Hartman wrote:
>>
>> On Thu, Jun 4, 2009 at 8:33 PM, Nikos Chantziaras<realnc@arcor.de> wrote:
>>>
>>> My .bash_history contains lots of stuff like:
>>>
>>>  cd "`printf "%b" '\0057home\0057realnc'`"
>>>
>>> They seem to come from Midnight Commander and are very annoying.  Any way
>>> to
>>> prevent this stuff from ending up in the bash history?
>>
>> I use MC constantly and don't have anything at all like that (or
>> anything unusual) in my .bash_history
>
> It is a problem occurring with mc but I think I've found the solution now:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529590

It is strange, I do not have that environment variable set and checked
my /etc/bashrc and ~/.bashrc and neither has anything like that
either.

I'm using mc-4.6.2_pre1 and bash-4.0_p24 in case it makes a difference.

I hope that solution works for you! :)



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-06-05  3:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-05  1:33 [gentoo-user] Preventing Midnight Commander from putting junk in .bash_history Nikos Chantziaras
2009-06-05  3:01 ` Paul Hartman
2009-06-05  3:15   ` [gentoo-user] " Nikos Chantziaras
2009-06-05  3:33     ` Paul Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox