🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #69

Epoch 4.0p2 on HP730 can't find-file on startup???

#69
From: Marc Andreessen
Date: Tue, 04 Aug 1992 21:55
32 lines
1811 bytes
--> On Tue, 4 Aug 1992 15:40:50 GMT, kinstrey@plato.rdrc.rpi.edu (Michael Kinstrey) said:

  /michael/ I compiled Epoch4.0p2 on an HP730 with no problems.
  /michael/ Everything seems to work just fine, except when starting
  /michael/ up epoch with a filename argument. If I "cd" to a
  /michael/ subdirectory below my HOME directory, and start epoch with
  /michael/ a filename argument (which exists in that subdirectory),
  /michael/ epoch comes up with a blank buffer saying that <filename>
  /michael/ is NEW. What gives? If I use find-file, it loads fine.
  /michael/ Also, when the new buffer is created, the find-file
  /michael/ directory prompt in the minibuffer starts at the HOME
  /michael/ path, not the subdirectory path epoch was started from.

  /michael/ This behavior happens in epoch AND the ascii-version of
  /michael/ epoch.

  /michael/ Does Epoch/Emacs use an environment variable or something
  /michael/ to load files? I've never seen this happen on any other
  /michael/ machine type.

This is a problem with broken shells.  Emacs (and Epoch) uses the PWD
environment variable to determine the default directory upon startup,
and many shells (notably csh) fail to maintain this variable when you
move to a new directory.

Marc

--
Marc Andreessen
Epoch Development Team
University of Illinois at Urbana-Champaign
marca@ncsa.uiuc.edu
Technical Details
Message-ID: <9208051155.AA06706@wintermute.ncsa.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ncsa.uiuc.edu!marca
References: <=b7x5m#@rpi.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.epoch.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ncsa.uiuc.edu!marca
From: marca@ncsa.uiuc.edu (Marc Andreessen)
Subject: Epoch 4.0p2 on HP730 can't find-file on startup???
Message-ID: <9208051155.AA06706@wintermute.ncsa.uiuc.edu>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
References: <=b7x5m#@rpi.edu>
Distribution: gnu
Date: Tue, 4 Aug 1992 21:55:49 GMT
Lines: 33