[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19731: 24.4; /dev/null is deleted by tramp-sh.el
From: |
Michael Albinus |
Subject: |
bug#19731: 24.4; /dev/null is deleted by tramp-sh.el |
Date: |
Tue, 03 Feb 2015 09:34:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
crocket <crockabiscuit@gmail.com> writes:
> Unsetting HISTFILE and setting HISTFILESIZE to 0 disables history
> logging altogether on bash.
HISTFILESIZE is bashism. Other shells use HISTSIZE.
> On Feb 3, 2015 5:08 AM, "Glenn Morris" <rgm@gnu.org> wrote:
>
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/fc.html
>
> says that
>
> If the HISTFILE variable is not set, the shell may attempt to
> access
> or create a file .sh_history in the directory referred to by the
> HOME
> environment variable.
>
> and indeed by experiment with bash 4.2.45, that is exactly what
> happes
> with HISTFILE unset and using "bash --posix".
>
> So (probably) you can't win.
Now, when I unset HISTFILE in Tramp, I also set HISTFILESIZE and
HISTSIZE to 0. And hope it works with most shells. Praying won't help.
Best regards, Michael.
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, (continued)
- Message not available
- Message not available
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, crocket, 2015/02/02
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, Michael Albinus, 2015/02/02
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, crocket, 2015/02/02
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, Michael Albinus, 2015/02/02
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, crocket, 2015/02/02
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, Michael Albinus, 2015/02/02
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, Stefan Monnier, 2015/02/02
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, Michael Albinus, 2015/02/02
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, Glenn Morris, 2015/02/02
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, crocket, 2015/02/02
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el,
Michael Albinus <=
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, Andreas Schwab, 2015/02/03
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, Michael Albinus, 2015/02/03
- bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, Glenn Morris, 2015/02/03
bug#19731: 24.4; /dev/null is deleted by tramp-sh.el, Alad Wenter, 2015/02/06