From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Feature freeze and Tramp?
Date: Mon, 10 May 2004 21:49:23 -0500 (CDT) [thread overview]
Message-ID: <200405110249.i4B2nND22278@raven.dms.auburn.edu> (raw)
In-Reply-To: <87n04gzb7h.fsf@emptyhost.emptydomain.de> (message from Kai Grossjohann on Mon, 10 May 2004 15:02:58 +0200)
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
============================================================
next prev parent reply other threads:[~2004-05-11 2:49 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-02 18:43 Feature freeze and Tramp? Kai Grossjohann
2004-05-02 19:19 ` David Kastrup
2004-05-03 6:20 ` Eli Zaretskii
2004-05-03 6:03 ` Kim F. Storm
2004-05-03 14:03 ` Richard Stallman
2004-05-07 21:23 ` Kai Grossjohann
2004-05-07 22:22 ` Miles Bader
2004-05-08 10:15 ` Kai Grossjohann
2004-05-10 1:33 ` Miles Bader
2004-05-10 1:39 ` Miles Bader
2004-05-08 2:34 ` Luc Teirlinck
2004-05-08 10:34 ` Kai Grossjohann
2004-05-09 1:40 ` Luc Teirlinck
2004-05-10 13:02 ` Kai Grossjohann
2004-05-11 2:49 ` Luc Teirlinck [this message]
2004-05-11 7:08 ` Kai Grossjohann
2004-05-12 0:53 ` Luc Teirlinck
2004-05-12 1:02 ` Luc Teirlinck
2004-05-12 7:32 ` Kai Grossjohann
2004-05-12 14:57 ` Luc Teirlinck
2004-05-13 6:54 ` Kai Grossjohann
2004-05-13 14:02 ` Luc Teirlinck
2004-05-15 16:36 ` Kai Grossjohann
2004-05-15 18:28 ` Luc Teirlinck
2004-05-16 9:07 ` Kai Grossjohann
2004-05-17 0:50 ` Luc Teirlinck
2004-05-17 5:11 ` Kai Grossjohann
2004-05-08 3:15 ` Luc Teirlinck
2004-05-09 2:11 ` Luc Teirlinck
2004-05-09 15:35 ` Robert J. Chassell
2004-05-09 16:26 ` Luc Teirlinck
2004-05-09 20:11 ` Stefan Monnier
2004-05-10 0:08 ` Luc Teirlinck
2004-05-09 2:34 ` Luc Teirlinck
2004-05-09 2:53 ` Luc Teirlinck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200405110249.i4B2nND22278@raven.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.