delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/25/11:03:02

From: Martin Str|mberg <ams AT father DOT ludd DOT luth DOT se>
Newsgroups: comp.os.msdos.djgpp
Subject: bsh204b.zip: minor annoyance
Date: Sun, 25 Mar 2001 15:55:42 +0000 (UTC)
Organization: University of Lulea, Sweden
Lines: 27
Message-ID: <99l4du$mhl$1@news.luth.se>
X-Trace: news.luth.se 985535742 23093 130.240.16.18 (25 Mar 2001 15:55:42 GMT)
X-Complaints-To: abuse AT luth DOT se
User-Agent: tin/pre-1.4-981225 ("Volcane") (UNIX) (SunOS/4.1.4 (sun4m))
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

When you do "pushd" in bash it needs to store the drive letter as
well. Starting in the directory f:/hackery/freedos, l00k:

bash-2.04$ pwd
/hackery/freedos
bash-2.04$ dirs
/hackery/freedos
bash-2.04$ pushd /tmp
/tmp /hackery/freedos
bash-2.04$ pushd t:/tmp
t:/tmp /tmp /hackery/freedos
bash-2.04$ cd t:
bash-2.04$ pwd
t:/tmp
bash-2.04$ dirs
t:/tmp /tmp /hackery/freedos
bash-2.04$ popd
/tmp /hackery/freedos
bash-2.04$ popd
bash: popd: /hackery/freedos: No such file or directory (ENOENT)

Also, I wonder if it shouldn't display "f:/tmp" etc. when I do "pwd"?


Right,

						MartinS

- Raw text -


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