🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.misc
Article #526

Re: zsh help --- 2 "quirks"

#526
From: John McCracken
Date: Thu, 30 Jul 1992 07:21
23 lines
1469 bytes
In article <5218@transfer.stratus.com> dan@quiensabe.az.stratus.com (Dan Danz)  
writes:
> John McCracken writes
> >If I su root (or any user, for that matter), and then change directories
> >and try to edit a file using emacs, emacs DOESN'T FIND THE FILE!  If I do
> >a pwd, it tells me that my default directory is where I think I am, but
> >emacs tries to open the file in the directory I was in when I "su'd"!
> >                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> I don't know that I "solved it" .. but I know what makes it work right:
> run the login when you su.  That is, "su -", and the problem goes away.
> Basically, pwd and emacs are using different things, and one of the
> quirky things about su without the dash is that some things in the
> environment are preserved and others aren't.
> 

It works, and that's good enough for me.  Thanks!


-- 
 John McCracken                   White Computers
 john@nextdoor.com                  Can't Jump
 NeXTMail welcome
Technical Details
Message-ID: <1992Jul30.072140.2473@nextdoor.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!mips!mips!decwrl!csus.edu!netcomsv!nextdoor!john
References: <5218@transfer.stratus.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!mips!mips!decwrl!csus.edu!netcomsv!nextdoor!john
From: john@nextdoor.com (John McCracken)
Subject: Re: zsh help --- 2 "quirks"
Message-ID: <1992Jul30.072140.2473@nextdoor.com>
Sender: john@nextdoor.com
Reply-To: john@nextdoor.com
Organization: Nextdoor Software, San Jose, CA, USA
References: <5218@transfer.stratus.com>
Date: Thu, 30 Jul 1992 07:21:40 GMT
Lines: 23