Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!news.cs.indiana.edu!msi.umn.edu!noc.MR.NET!gacvx2.gac.edu!gacvx2.gac.edu!scott From: scott@erick.gac.edu (Scott Hess) Newsgroups: comp.sys.next Subject: Re: /LocalApps and NXPortFromName Message-ID: Date: 13 Mar 91 18:00:30 GMT References: <9103130342.AA00394@nextasy2.eecs.wsu.edu> Organization: Gustavus Adolphus College Lines: 47 Nntp-Posting-Host: erick.gac.edu In-reply-to: dwatola@NEXTASY2.EECS.WSU.EDU's message of 13 Mar 91 08:59:32 GMTLines: 47 In article <9103130342.AA00394@nextasy2.eecs.wsu.edu> dwatola@NEXTASY2.EECS.WSU.EDU (David Watola) writes: needed. actually, this behavior makes me wonder about the "can't connect with Edit" messages i get from gdb when trying to use 'view' if Edit hasn't been previously launched (or using openfile with it hasn't been launched). one would think that these programs would use NXPortFromName... Edit is most certainly in the manager's search path... (and my problem server was in /LocalApps). At least in 1.0, it seems there was a named socket used by Edit to allow openfile to work. It was located down in ye olde /tmp directory. I don't see it there right now, though, so maybe it's changed. But, openfile's man page specifically states that it will not open the file unless Edit is running. 2) does anyone else have a problem with applications in /LocalApps not being found by the workspace manager? i am running a standalone 'station at home. when i am logged in as root, /LocalApps is searched and all of the suffixes corresponding to applications there are recognized. but if i log in under my usual account (which is not "me", but actually "dwatola") it is not searched. this problem does not appear on my account at school (i.e. networked environment). can anybody explain this? better yet, can anybody tell me how to fix this? i kind of suspect that my problem with NXPortFromName() not launching the proper server may be in the fact that it is not looking in /LocalApps... so WTF? The problem is that /LocalApps has been removed from the workspace's default search paths in 2.0. For some odd reason. So, if you have an account that existed before 2.0, it will still look there (as your default will carry over), while new accounts won't. To change it, use DefaultMgr (or be brave and use dread/dwrite) and muck with the Workspace ApplicationPaths default. Mine: Workspace ApplicationPaths ~/Apps:/LocalApps:/NextApps:/NextDeveloper/Apps:/NextAdmin:/NextDeveloper/Demos:/usr/hosts This should help (note that you might have to logout and back in to get that to take effect). I know that this stuff works, because I've done it. I would recommend getting it to work in your personal ~/Apps directory first, and then moving it to LocalApps. Later, -- scott hess scott@gac.edu Independent NeXT Developer GAC Undergrad "Tried anarchy, once. Found it had too many constraints . . ." "I smoke the nose Lucifer . . . Banana, banana."