From: pjfarley AT dorsai DOT org (Peter J. Farley III) Newsgroups: comp.os.msdos.djgpp Subject: Re: How to configure /home /usr /etc ...? Date: Mon, 27 Oct 1997 00:56:54 GMT Organization: None Lines: 41 Message-ID: <3453e3cc.12196249@snews.zippo.com> References: <344e6f3f DOT 9705412 AT news DOT datacomm DOT ch> NNTP-Posting-Host: p-073.newsdawg.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk hslama AT datacomm DOT ch (Heribert Slama) wrote: >Just installed Emacs into my DJGPP environment (GCC, RHIDE, and some >basic components). >I'm now confronted with Unix's directory concept (e.g. /~etc). There >seems to be no introductory text, helping a DOS user to grasp the >basics of the Unix file system and it's use of special directory >names. The concept of system variables comes in here, too. I don't >want to take a complete course on Unix, at least not now (I plan to >install Linux on my next computer). Heribert, I don't know about others, but if you use the DJGPP bash port (bsh1147b/d/s.zip), you can emulate the unix "~" (i.e., the current user's "home" directory) by setting an environment variable and creating a directory structure like this: x:/usr /users /(pick a name, I use my initials, pjf3) where "x:" is your DJGPP drive, and then setting this environment variable (I do it in a BAT file that invokes bash after setting the variable, and clears the variable after bash exits): set HOME=/usr/users/pjf3 This assumes, of course, that you use bash to execute any of the DJGPP utils, including emacs. Not everyone wants or needs to do that. I do, from personal preference; your choice how you handle it. If you do as I do, then the "~" references are translated by bash to the specified value of the "HOME" variable. >The Big FAQ covers many diverse topics, but leaves this one out. >Can anybody give me a hint, where I can find an introductory text? Sorry, I got my knowledge from OJT (On-the-Job Training) at a prior employer, so I can't help you there. ---------------------------------------------------- Peter J. Farley III (pjfarley AT dorsai DOT org)