🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Michael Kinstrey Tue, 04 Aug 1992 15:40
Epoch 4.0p2 on HP730 can't find-file on startup???
#61
Author: Michael Kinstrey
Date: Tue, 04 Aug 1992 15:40
34 lines
1779 bytes
Newsgroups: gnu.epoch.misc
Subject: Epoch4.0p2 on HP730 can't find non-$HOME files???
Summary: Compiled wrong? Bug? 
Expires: 
Sender: 
Followup-To: gnu.epoch.misc
Distribution: usa
Organization: Rensselaer Design Research Center, RPI, Troy, NY
Keywords: 

I seem to remember reading someone else reporting this problem
several months ago...

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

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

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

-- 
------------------------------------------------------------------
kinstrey@rdrc.rpi.edu  | Sattinger's Law:
kinstrey@crd.ge.com    |      It works better if you plug it in.
_______________________|__________________________________________
Epoch 4.0p2 on HP730 can't find-file on startup???
#69
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads