From: "Weiqi Gao" Newsgroups: comp.os.msdos.djgpp Subject: Re: Using BASH as the shell - the solution Date: 14 Dec 1996 05:46:39 GMT Organization: CRL Dialup Internet Access Lines: 35 Message-ID: <01bbe982$07e9be40$0f0171a5@weiqigao> References: <32b22741 DOT 224625877 AT nntp DOT southeast DOT net> NNTP-Posting-Host: crl7.crl.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Murray Stokely wrote in article <32b22741 DOT 224625877 AT nntp DOT southeast DOT net>... > > Anyway to use Bash as the shell for Windows 95 Dos boxes? > Here's what I did: 1. Create an Icon for bash.exe. 2. Double click on it. To help things along, I also had the following: 1. In AUTOEXEC.BAT: IF EXIST D:\USR\BIN\DJGPPVAR.BAT CALL D:\USR\BIN\DJGPPVAR.BAT 2. In DJGPPVAR.BAT: PATH %PATH%;D:\USR\BIN;D:\USR\GNU\EMACS\BIN SET DJGPP=D:\USR\DJGPP.ENV SET SYSROOT=D: SET HOME=D:\HOME\WEIQI 3. In D:\HOME\WEIQI\.bashrc (that's dot-b-a-s-h-r-c): alias ls="ls --color=auto -F" alias d="d --color=auto -F" alias v="v --color=auto -F" alias rm="rm -i" alias mv="mv -i" alias cp="cp -i" alias vim="vim -T win32" alias find="/usr/bin/find.exe" alias sort="/usr/bin/sort.exe" PS1="\u: \w \#\$ " TERM=win32-win export PS1 TERM eval `dircolor` -- Weiqi Gao weiqigao AT crl DOT com