unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: Feature freeze and Tramp?
Date: Thu, 13 May 2004 08:54:34 +0200	[thread overview]
Message-ID: <87n04cvmtx.fsf@emptyhost.emptydomain.de> (raw)
In-Reply-To: 200405121457.i4CEv8D15723@raven.dms.auburn.edu

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

> Kai Grossjohann wrote:
> 	   
> 	   * tramp.el (tramp-open-connection-setup-interactive-shell): `unset
> 	   HISTFILE' rather than `set -o history' to turn off the history.
>
> Is `set -o history' a typo?

Perhaps it's a typo in the ChangeLog only.

> `unset HISTFILE' would not work at the particular spot anyway, even if
> the shell is bash, because one has to export the "history-disabledness"
> and "unsettedness" of variables does not get exported.

Really?  Below, you say that `unset HISTFILE' works...  Note that the
spot we're talking about here is in the correct shell already.

> 	   * tramp.el (tramp-open-connection-setup-interactive-shell): Posix
> 	   shells don't allow you to turn off the history, so we redirect it
> 	   to an innocuous file and limits that file's size as much as
> 	   possible.
>
> They certainly do not allow `set +o history'.  After `bash --posix',
> both `unset HISTFILE' and `HISTFILE=' seem to work.  But the fact that
> they work in `bash --posix' is definitely no "proof".  Maybe some
> other shells insist on using their default history file if HISTFILE is
> either unset _or_ null, so it probably is safer to keep the current
> constructs.

Experience tells me that /bin/sh and ksh should be tested on AIX and
IRIX, at least, to make sure it's okay.  Perhaps a BSD should also be
tested.

It is of course cleaner to have no history at all ;-)  So I think I
would change if it works on SunOS, Solaris, AIX, IRIX, and one of the
BSDs.  (sh and ksh need to be tested on those OSes.)

Kai

  reply	other threads:[~2004-05-13  6:54 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
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87n04cvmtx.fsf@emptyhost.emptydomain.de \
    --to=kai@emptydomain.de \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).