Message-ID: <3DBEAB08.765832EA@junk.net> From: Ian Chapman X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Bash question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 80 Date: Tue, 29 Oct 2002 10:36:40 -0500 NNTP-Posting-Host: 64.230.51.204 X-Complaints-To: abuse AT sympatico DOT ca X-Trace: news20.bellglobal.com 1035905672 64.230.51.204 (Tue, 29 Oct 2002 10:34:32 EST) NNTP-Posting-Date: Tue, 29 Oct 2002 10:34:32 EST Organization: Bell Sympatico To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm at sympatico.ca not junk.net, sorry about that. Hi, I did have bash 2.03 up and running before I updated to win98 from 95. I have a strange problem in that Bash sort of works in that info and ls at least at a quick glance do the right thing. When I hit the key e as in less it executes the bash file _inputrc. I'll past in my start up *.bat and _bash files for you to see what I've got wrong. Regards Ian. PS I've had to set C:\DOS\COMMAND.COM C:\DOS /E:2048 per faq. ================================================== @echo OFF Rem --- _bash.bat ------------------------------ Rem function: Setup environment for bash vsn 2 shell and call bash.exe Rem Set bash home directory (~) echo running _bash.bat set PATH=E:\DJGPP\BIN;%PATH% set DJGPP=E:\DJGPP\DJGPP.ENV Rem For pipes I hope set TMPDIR=e:/djgpp/tmp set HOME=e:\djgpp Rem For djgpp programs set djgpp=%HOME%\djgpp.env pause set PATH=%HOME%\bin;%HOME%\bin\sh;c:\windows\command; set LFN=Y Rem For bash set SYSROOT=e: set HISTFILE=%HOME%\.BHIST Rem For make set AR=ar set CC=gcc set MAKE=make set RANLIB=ranlib set YACC=bison -b y -y rem run bash as login shell echo transfering to bash %HOME%\bin\bash -i echo ending _bash2.bat exit ================================================= # ~/.bashrc echo " Start of _bashrc script " if [ "$PS1" != "" ]; then # setting for interactive shell CVSROOT=/usr/src/master EDITOR='mule -w' CDPATH="${HOME}/work;${HOME}" TMPDIR=e:/djgpp/tmp PS1='\w>>:' PS4='line $LINENO: ' # bash -x sh_script options # set -o xtrace export CVSROOT EDITOR CDPATH TMPDIR alias ls='ls -F' alias ll='ls -l' alias quit='exit' alias bye='exit' alias cls='clear' history_control=ignoredups fi cd ~ echo " End of _bashrc script "