From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Beginner in Mac OS X, and ADA and gtkAda: $prefix, and what bin, and home is usr/bob or OSX Users/bob Date: Tue, 12 Sep 2017 07:02:52 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 12 Sep 2017 07:02:52 -0000 (UTC) Injection-Info: reader.eternal-september.org; posting-host="206dab441268130a859a6190d7ac630f"; logging-data="12098"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195JlSqCov+Kkk1zq8G3Ld/kewBRL8+rwA=" User-Agent: NewsTap/5.2.6 (iPhone/iPod Touch) Cancel-Lock: sha1:/VzHoCLfbnVtcxAtIbRgDgU48+s= sha1:vJKwte88Xqwi0G7CJ7HAvziGLhA= Xref: news.eternal-september.org comp.lang.ada:48032 Date: 2017-09-12T07:02:52+00:00 List-Id: Dennis Lee Bieber wrote: > On Mon, 11 Sep 2017 16:17:51 -0700 (PDT), Mace Ayres > declaimed the following: > >> Sorry for some beginner's questions, but. >> >> New to Mac OSX. Various software instructions may say home directory; is >> that OS X ./USERS/Me >> or Unix's /usr/me: >> >> Sometime they refer to the bin directory. Which bin? >> >> Some instructions say $prefix .. what prefix is that? >> >> Is this even an understandable question? > > None of these questions are applicable to Ada itself -- they are all > dependent upon the operating system in use, so the answer is really in the > OS documentation or guide books. > > However... > > Linux (UNIX) home directory is normally > /home/{username} > and often accessible using ~ > > wulfraed@stretch:~$ cd ~ > wulfraed@stretch:~$ pwd > /home/wulfraed > wulfraed@stretch:~$ > > I do not know how Mac handles paths. MacOS is mostly a BSD Unix with a different kernel, a different graphics system and some frameworks added to support these. $ echo $HOME in a terminal window will show where the home directory is. > /usr is NOT a home directory! It is a location where non-OS applications > tend to be installed... > Unix System Resources is abbreviated to become "usr". The directory has programs that are (a) installed with Unix itself, typically command line utilities (b) could be shared by several local machines in a traditional Unix network installation $ man hier in a terminal window should explain the file system hierarchy. > > "$prefix" means the value of the environment variable "prefix" It usually refers to a path setting in a configuration file used in compiling a larger program.