Re: Environmental Variables
- From: "Norman L. DeForest" <af380@xxxxxxxxxxxxxx>
- Date: Tue, 9 Aug 2005 10:03:48 -0300
On Mon, 8 Aug 2005, Ted Davis wrote:
> On Mon, 8 Aug 2005 19:42:05 -0300, "Norman L. DeForest"
> <af380@xxxxxxxxxxxxxx> wrote:
>
> >bash is a shell (and I believe that
> >shell has been ported to DOS and/or Windows).
>
> To my knowledge, only in the Cygwin context. It will run under CMD
> outside the Cygwin environment, but it's mostly useless unless as a
> Windows shell since the utilities it depends on are not in the path
> except when invoked under Cygwin. bash running as a shell in an Xterm
> window in KDE over Xfree86 under Cygwin under XP is an interesting
> experience in software layering.
Well, I haven't had time to play with it to see what it will do but
a long time ago I downloaded a zip file of Unix utilities ported to
Windows that includes the bash shell. A quick check (invoking echo, ls
and exit) shows that it *does* run on my Windows 98 machine:
c:\utils\unix>ver
4DOS 7.50 (Win98) DOS 7.10
c:\utils\unix>bash
bash$ echo $PATH $COMSPEC
C:/UTILS;C:/UTILS/UNIX;C:/WINDOWS;C:/WINDOWS/COMMAND C:\4D\4DOS.COM
bash$ ls ba*.*
bash.exe
bash$ exit
exit
c:\utils\unix>
The file size of that copy of bash.exe is 403968 bytes.
It's part of a collection of Unix utilities ported to DOS that I
downloaded a long time ago (as a single 1023772-byte *.zip file).
Unfortunately, I'm not sure what system I downloaded it from and I
can't Google for the zip filename as I was forced to truncate it to a
DOS-compatable 8.3 filename to download it with my DOS-based terminal
program.
Several archives of Unix ports to DOS in my bookmarks files appear
to have been visited by the 404 Fairy so I can't tell if they were
the original source or not. (Simtel appears to have deleted *all*
of the gnu utilities they used to have archived and a Google search
for native (not Cygwin) ports of bash to DOS and /or Windows finds
a lot of references but most point to the extinct Simtel archives.)
Garbo only has a port of the Korn shell (ms_sh23b.zip), not bash:
ftp://garbo.uwasa.fi/pc/unix/
--
Windows is *not* a "Toy OS". A screenshot of my current desktop:
<http://www.chebucto.ns.ca/~af380/MyDeskTop-Jun-22-2005.gif> Want a desktop
like that? (change ".zip" to ".gif" or "-files.gif" to see zip contents):
<http://www.chebucto.ns.ca/~af380/EtchASketch.zip>
.
- Follow-Ups:
- Re: Environmental Variables
- From: Ali
- Re: Environmental Variables
- References:
- Re: Environmental Variables
- From: Ali
- Re: Environmental Variables
- From: Ted Davis
- Re: Environmental Variables
- From: Ali
- Re: Environmental Variables
- From: Ted Davis
- Re: Environmental Variables
- From: Ali
- Re: Environmental Variables
- From: Ted Davis
- Re: Environmental Variables
- From: Ali
- Re: Environmental Variables
- From: Norman L. DeForest
- Re: Environmental Variables
- From: Ted Davis
- Re: Environmental Variables
- Prev by Date: operators (f.e. new[]) undefined
- Next by Date: Re: operators (f.e. new[]) undefined
- Previous by thread: Re: Environmental Variables
- Next by thread: Re: Environmental Variables
- Index(es):
Relevant Pages
|
|