delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/07/21:23:37

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: Bash history?
7 Sep 1997 21:23:37 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BCBB7D.8A42F000.cygnus.gnu-win32@sos>
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Andy Piper'"
<andyp AT parallax DOT co DOT uk>
Encoding: 18 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Andy Piper wrote:
> 1) ~ seems to be interpreted wrongly. If I do `cd ~' I get:
> bash.exe: C:WINNTProfilesandyp: No such file or directory
> cd $HOME works fine. Somehow the /'s are getting stripped out.

I'm sure, there are backslashes instead of slashes in your HOME env. var. Set HOME to
c:/WINNT/Profiles/andyp.

> 
> 2) History is not preserved between sessions. Although bash 
> writes out a history file - .bash_history - correctly. It is not read when

Fix the first problem, and the second one should came out.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019