GNU bug report logs - #19731
24.4; /dev/null is deleted by tramp-sh.el

Previous Next

Package: emacs;

Reported by: crocket <crockabiscuit <at> gmail.com>

Date: Fri, 30 Jan 2015 05:20:02 UTC

Severity: normal

Merged with 21697, 23041

Found in versions 24.4, 24.5

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #62 received at 19731 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Alad Wenter <alad <at> archlinux.info>
Cc: 19731 <at> debbugs.gnu.org
Subject: Re: bug#19731: 24.4; /dev/null is deleted by tramp-sh.el
Date: Sun, 08 Feb 2015 11:05:15 +0100
Alad Wenter <alad <at> archlinux.info> writes:

> Could you provide some more detail on unsetting $HISTFILE? Symlinking
> /bin/sh to zsh seems a bit drastic..

Tramp does it meanwhile in Emacs 25.0.50 (not symlinking sh to zsh :-)
When it opens a connection, it calls

exec env ENV='' HISTFILE='' HISTFILESIZE=0 HISTSIZE=0 PROMPT_COMMAND='' PS1=\#\$\  PS2='' PS3='' /bin/sh 

This seems to be sufficient.

> Alad

Best regards, Michael.




This bug report was last modified 9 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.