Mail Archives: djgpp/1997/10/27/20:46:32
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)
- Raw text -