GNU bug report logs -
#24478
25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories
Previous Next
Reported by: Ævar Arnfjörð Bjarmason <avar <at> booking.com>
Date: Tue, 20 Sep 2016 15:27:01 UTC
Severity: normal
Tags: patch
Found in version 25.1
Fixed in version 25.2
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #28 received at 24478 <at> debbugs.gnu.org (full text, mbox):
On Tue, Oct 11, 2016 at 4:44 PM, Michael Albinus <michael.albinus <at> gmx.de> wrote:
> Ævar Arnfjörð Bjarmason <avarab <at> gmail.com> writes:
>
> Hi Ævar,
>
>> All I'm doing is e.g.:
>>
>> 1. C-x C-f //ssh:puppet-staging:/etc/puppet/environment/aearnfjord/puppet RET
>> 2. Run some command e.g. M-x grep <hi>
>> 3. This results in:
>> $ wc -l $PWD/.tramp_history
>> 39 /etc/puppet/environments/aearnfjord/puppet/.tramp_history
>
> OK, so this is about running an asynchronous process on the remote
> host. This shall help me to reproduce it locally, thanks for the recipe.
If you mean the M-x grep from the .tramp_history (in that
/etc/puppet/... directory) it starts much earlier than that, i.e.
Tramp's own post-connection commands go to that file, and then the
last command is my M-x grep:
$ cat .tramp_history
#1476195869
stty tab0 -inlcr -onlcr -echo kill '^U' erase '^H'
#1476195869
echo foo
#1476195869
PS1=///dfb559542f43800587d648842ba11aba\#\$ PS2='' PS3='' PROMPT_COMMAND=''
#1476195869
echo \"`uname -sr`\" 2>/dev/null; echo tramp_exit_status $?
#1476195869
echo foo ; echo bar
#1476195869
set +o vi +o emacs
#1476195869
PATH=/usr/bin:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export PATH
#1476195869
mesg n 2>/dev/null; biff n 2>/dev/null
#1476195869
stty iutf8 2>/dev/null
#1476195869
echo \"`tty`\" 2>/dev/null; echo tramp_exit_status $?
#1476195869
while read var val; do export $var=$val; done
<<'73f386707e9600ff260fa9d80e5e5557'
PAGER cat
INSIDE_EMACS '25.1.1,tramp:2.2.13.25.1'
TERM dumb
LC_CTYPE ''
TMOUT 0
LC_ALL en_US.utf8
73f386707e9600ff260fa9d80e5e5557
#1476195869
unset correct autocorrect MAILPATH MAILCHECK MAIL HISTORY CDPATH
#1476195869
cd /etc/puppet/environments/aearnfjord/puppet/ && exec
<<'73f386707e9600ff260fa9d80e5e5557' env
PS1\=/ssh\:puppet-staging\:/etc/puppet/environments/aearnfjord/puppet/\
\#\$\ TERMCAP\= COLUMNS\=106 INSIDE_EMACS\=25.1.1\,compile /bin/sh
(
git --no-pager grep -E -i -n -- hi
) </dev/tty
73f386707e9600ff260fa9d80e5e5557
This bug report was last modified 8 years and 289 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.