From owner-freebsd-current Sun Dec 10 14:16: 4 2000 From owner-freebsd-current@FreeBSD.ORG Sun Dec 10 14:16:01 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 3E27637B400 for ; Sun, 10 Dec 2000 14:16:00 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eBAMFxs64546 for ; Sun, 10 Dec 2000 15:15:59 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id PAA30900 for ; Sun, 10 Dec 2000 15:15:58 -0700 (MST) Message-Id: <200012102215.PAA30900@harmony.village.org> Subject: Re: Confusing error messages from shell image activation To: current@FreeBSD.ORG In-reply-to: Your message of "Sun, 10 Dec 2000 14:17:33 MST." <14899.62189.243395.903919@nomad.yogotech.com> References: <14899.62189.243395.903919@nomad.yogotech.com> <14898.33404.356173.963351@guru.mired.org> <14898.31393.228926.763711@guru.mired.org> <200012100904.CAA27546@harmony.village.org> <3A336781.94E1646@newsguy.com> <14899.41809.754369.259894@guru.mired.org> Date: Sun, 10 Dec 2000 15:15:58 -0700 From: Warner Losh Sender: imp@harmony.village.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <14899.62189.243395.903919@nomad.yogotech.com> Nate Williams writes: : > I'm aware that software was installing itself in /usr/local years : > before it was installing in /opt. On the other hand, vendor software : > was installing in /opt years before I ever saw it install in : > /usr/local. : : Most vendor software I know pre-dates /opt, and installed itself in : /usr/local. I'm with Warner on this one, installing in /usr/local : predates /opt by many years. Before /opt, vendors always used : /usr/local, or worse they installed in /bin and /usr/bin. Yes. 4.1BSD, I think, used /usr/ucb for the hacks that ucb had done to the system. I had it in my path for years and have been considering removing it, but solaris still uses it :-( (I have an array of candidate paths for my path and only insert the ones that exist from my .cshrc file). System III with ucb hacks also had them in /usr/ucb. I forget which System that the 3b2s ran (I think it was System V r1 before there was an r2), but they had the ucb hacs in /usr/ucb. I think that software packages built from sources installed themselves into /usr/local, but it has only been about 11 years since I last logged into a 3b2 at Wollongong so I can't easily go back and check. :-) Sadly, I didn't start keeping my .cshrc files under cvs control until 1993 so I can't easily check its evolution before then. I lost that CVS repo in a disk crash while not a practicing member of the church of the daily backup sometime in 1999, so I don't have a complete history between 1993 and 1999 (backup tapes have it up to sometime in 1998, but I didn't find those until after I started a new repo). : > If memory serves (and it may not at this remove), /usr/local/bin : > wasn't on my path until I started using VAXen, meaning there were few : > or no packages installing in /usr/local on v6 & v7 on the 11s. : : On V7 (the earliest software I have), vendor software installed itself : in /usr/[bin|lib], which is IMO worse than /usr/local. Agreed. The 4.2BSD and 4.3BSD VAXen that we had at New Mexico Tech in late 1985 didn't have a /opt, but did have a /usr/local which is where software installed itself. We were at a university, and I think we had local hacks to include /usr/local/bin and /usr/ucb/bin in the paths for these machines. As they were VAX 11/750s, we had no X software since this machine predated the availibility of Sun 3/50 workstations at New Mexico Tech, which didn't arrive until late 1986 and weren't online until early 1987. They didn't run X11 until late 1987 or early 1988 iirc. And then X11's installation dir wasn't well standardized. Some software installed in /usr/X11/bin and others installed in /usr/bin/X11. Gosling Emacs was installed in /usr/local/bin/emacs for sure. I don't have my historic Unix version CD handy, or I'd check the man pages from 4.xBSD to check, but version 1.1 of the hier(7) from 1994 says: /usr/ ... local/ local executables, libraries, etc. ... but there also was a /usr/contrib for large packages contribtued to Berkeley by outside parties. /usr/contrib was, I think, invented for 4.4BSD, but maybe it was for 4.3BSD. Without the sccs trees handy, I have no way of knowing the exact details. Looking at NetBSD's hier from the same time frame (actually 1 year earlier in 1993) shows the same text. The page itself is dated 1991. NetBSD's /usr/pkg didn't get documented until 1998/04/02 according to the cvs log and that was something that they invented at the time because they didn't like FreeBSD's ports going into /usr/local. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message