[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tramp smashes my .bash_history file

From: Skip Montanaro
Subject: tramp smashes my .bash_history file
Date: Fri, 17 Oct 2003 15:00:01 -0500

I'm using tramp 2.0.35 on XEmacs 21.5 beta 9.  Even though I see this code
in (tramp-open-connection-setup-interactive-shell):

   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")

on one of the remote systems on which I edit files (a Solaris 8 system
running Bash 2.03.0(1)-release) I find no .tramp_history file, but see all
manner of tramp-related shell commands in ~/.bash_history.  On another
system (Mandrake 8.1 running Bash 2.05.1(1)-release) I set


in ~/.bash_profile and set

    export HISTSIZE
in /etc/profile.  That machine has a .tramp_history file containing (as
expected) a single line.  I don't set HISTFILE on either system.  I checked 


for HIST* commands on both systems.

I must be missing something (hopefully obvious), but what?


Skip Montanaro
Got gigs?

Got spam?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]