[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature freeze and Tramp?
From: |
Luc Teirlinck |
Subject: |
Re: Feature freeze and Tramp? |
Date: |
Mon, 10 May 2004 21:49:23 -0500 (CDT) |
Kai Grossjohann wrote:
Your original message said that hundreds of lines were inserted into
~/.bash_history. Hm. Does this mean that *sh* did that, and not
*bash*?
I did not study the TRAMP shell script in full detail, but from the
fact that exporting the variables fixes the problem, I would _guess_
that a bash subshell of the sh shell does it. Anyway, unless there is
a reason _not_ to export the variables, the patch below seems to fix
the problem. Well, there still are 3 lines that get inserted into the
history, but that definitely is less bad than hundreds.
===File ~/tramp-diff========================================
*** tramp.el 07 May 2004 18:33:46 -0500 1.43
--- tramp.el 10 May 2004 18:12:13 -0500
***************
*** 5621,5629 ****
"stty -onlcr"))))
(erase-buffer)
(tramp-message
! 9 "Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1'")
(tramp-send-command-internal multi-method method user host
! "HISTFILE=$HOME/.tramp_history; HISTSIZE=1")
(erase-buffer)
(tramp-message 9 "Waiting 30s for `set +o vi +o emacs'")
(tramp-send-command-internal multi-method method user host
--- 5621,5629 ----
"stty -onlcr"))))
(erase-buffer)
(tramp-message
! 9 "Waiting 30s for `export HISTFILE=$HOME/.tramp_history HISTSIZE=1;
export HISTFILE; export HISTSIZE'")
(tramp-send-command-internal multi-method method user host
! "HISTFILE=$HOME/.tramp_history; HISTSIZE=1;
export HISTFILE; export HISTSIZE")
(erase-buffer)
(tramp-message 9 "Waiting 30s for `set +o vi +o emacs'")
(tramp-send-command-internal multi-method method user host
============================================================
- Re: Feature freeze and Tramp?, (continued)
- Re: Feature freeze and Tramp?, Richard Stallman, 2004/05/03
- Re: Feature freeze and Tramp?, Kai Grossjohann, 2004/05/07
- Re: Feature freeze and Tramp?, Luc Teirlinck, 2004/05/07
- Re: Feature freeze and Tramp?, Kai Grossjohann, 2004/05/08
- Re: Feature freeze and Tramp?, Luc Teirlinck, 2004/05/08
- Re: Feature freeze and Tramp?, Kai Grossjohann, 2004/05/10
- Re: Feature freeze and Tramp?,
Luc Teirlinck <=
- Re: Feature freeze and Tramp?, Kai Grossjohann, 2004/05/11
- Re: Feature freeze and Tramp?, Luc Teirlinck, 2004/05/11
- Re: Feature freeze and Tramp?, Luc Teirlinck, 2004/05/11
- Re: Feature freeze and Tramp?, Kai Grossjohann, 2004/05/12
- Re: Feature freeze and Tramp?, Luc Teirlinck, 2004/05/12
- Re: Feature freeze and Tramp?, Kai Grossjohann, 2004/05/13
- Re: Feature freeze and Tramp?, Luc Teirlinck, 2004/05/13
- Re: Feature freeze and Tramp?, Kai Grossjohann, 2004/05/15
- Re: Feature freeze and Tramp?, Luc Teirlinck, 2004/05/15
- Re: Feature freeze and Tramp?, Kai Grossjohann, 2004/05/16