Mail Archives: djgpp/2001/02/28/14:28:40
Message-ID: | <001701c0a1bb$0931f880$af345ba5@tamu.edu>
|
From: | "mike friedrichs" <mike_fr1 AT txucom DOT net>
|
To: | "DJGPP" <djgpp AT delorie DOT com>
|
Subject: | bash startup
|
Date: | Wed, 28 Feb 2001 13:17:04 -0600
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 5.50.4522.1200
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200
|
Reply-To: | djgpp AT delorie DOT com
|
problems starting bash
when I started bash using the following environment, I received no errors. I
could use pipes and all the good things. but I was using the default login,
not my home directory setup.
"dos environment" prior to executing 'bash'
winbootdir=C:\WIN
COMSPEC=C:\COMMAND.COM
DJGPP=d:\dosgnu\DJGPP.ENV
PROMPT=$p$g
windir=C:\WIN
PATH=D:\DOSGNU\BIN;D:\PC-DOS;C:\WIN;C:\WIN\COMMAND;C:\BATCH
TMP=c:\temp
TEMP=c:\temp
DIRCMD=/o:gne
my command line appeared as:
bash <cr>
_______________________________________________________________
when I started bash using the following environment, I received piping
errors, and some times a general protection fault, and then dumped out of
'bash'. I also copied _blogin, _bashrc, and _inputrc
from d:\dosgnu\gnu\bash-2.04\dos to d:\dosgnu\home\mikefr; my home directory
"dos environment" prior to executing 'bash'
winbootdir=C:\WIN
COMSPEC=C:\COMMAND.COM
DJGPP=d:\dosgnu\DJGPP.ENV
HOME=d:\dosgnu\home\mikefr
TMPDIR=d:\temp
PROMPT=$p$g
windir=C:\WIN
PATH=D:\DOSGNU\BIN;D:\PC-DOS;C:\WIN;C:\WIN\COMMAND;C:\BATCH
TMP=c:\temp
TEMP=c:\temp
DIRCMD=/o:gne
my command line appeared as:
bash --login <cr>
sometimes I wouldn't have a general protection fault and i would stay in
bash. I would then echo the environment to the screen with 'set', and I
would notice that environment variable 'tmpdir' would return '/temp',
instead of 'd:/temp'.
whats wrong with my setup.
thanks,
- Raw text -