Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 26th, 2004, 11:15 PM   #1
thechristelegacy
Expert Programmer
 
thechristelegacy's Avatar
 
Join Date: Jul 2004
Location: Somerset, Pa
Posts: 707
Rep Power: 5 thechristelegacy is on a distinguished road
Send a message via AIM to thechristelegacy Send a message via MSN to thechristelegacy
Are there any ms-dos replacements out there for Windows. One that I can do shell programming with. I would just use Linux but Mom needs Windows for business related work. Any ideas? Or do you think it would be easiest just to write my own new shell
thechristelegacy is offline   Reply With Quote
Old Jul 27th, 2004, 9:03 AM   #2
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
check this link out.

Here


never used it my self but looks interesting.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Jul 27th, 2004, 6:32 PM   #3
kurifu
Expert Programmer
 
kurifu's Avatar
 
Join Date: Jul 2004
Location: Halifax, Nova Scotia (Canada)
Posts: 784
Rep Power: 5 kurifu is on a distinguished road
Send a message via ICQ to kurifu Send a message via MSN to kurifu
http://www.cygwin.com, nothing like a Bash or CSH shell for windows eh?
__________________
Clifford Matthew Roche &lt;geek@cliffordroche.com&gt;
Web Hosting: http://www.crd-hosting.com
Consulting: http://www.crdev-consulting.com
kurifu is offline   Reply With Quote
Old Jul 28th, 2004, 8:58 AM   #4
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
would be nice if it just came installed with linux.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Aug 7th, 2004, 1:58 PM   #5
erebus
Programmer
 
erebus's Avatar
 
Join Date: Aug 2004
Location: /dev/null
Posts: 65
Rep Power: 5 erebus is on a distinguished road
Send a message via AIM to erebus
Their are several options for programming windows shells. Their is no reason other than preference to chooce a non-native command interpreter(like GNU Bash and the like). I have to admit that I use UNIX shells under windows, but if you really want to learn the Windows side of things with an alternatve command shell, look around for 4DOS. It is a huge extension over the traditional DOS/Win32 emulator with added control flow and looping supersets(though DOS/Win32 doesn't really need it, since cmd has a powerful "enough" set of tools with tons of documentation(see F1).

I really favor running things natively and in a non-emulated level, so for me, things like Cygwin are out of the question. If you want the GNU set of shells, utilties, and programming tools(perl, awk, etc...), you might want to try out Microsoft's Windows Services for UNIX(SFU 3.5). It is great if you have to administer both unix and windows workstations and fell more comfortable in a win32 environment while still wanting to run all of those shell scripts everyone rants on about.

It comes with ksh, csh, tcsh, and sh off the bat which should be enough(though the csh family of shells has some really nasty bugs when it comes to shell programming), you might want to use Bash(but I think ksh is sufficient). The people at InterOp have ported alot of other GNU utilities to the Interix/SFU subsystem(like Bash and updated versions of alot of what is included) as well as an X server(Desktop-X), but that is aquired after purchasing of a license.

One last word: stick with cmd... .
__________________
<span style='font-size:14pt;line-height:100%'><span style='color:red'>&quot;Political power grows out of the barrel of a gun&quot; - Mao Tse-Tung</span></span>
erebus is offline   Reply With Quote
Old Mar 1st, 2005, 3:59 PM   #6
noleander
Newbie
 
Join Date: Mar 2005
Posts: 5
Rep Power: 0 noleander is on a distinguished road
I'm in the same boat: many years programming in Unix, now I have to do work on the PC and I cannot stand the DOS shell.

I've spent a LOT of time looking for solutions, and have not found a good one yet. Here are some of the things I tried, and their drawbacks:

- SFU - Huge. DOES NOT work on XP-home (must have XP-Pro).
- Cygwin - Huge. Slow, A big, complex layer between me and the
machine. Too much for what I want. Lots to go wrong.
- bash (actually, win-bash) : Looks like a great option, but I cannot
get the cd command to work when folders have spaces in the name.
- MKS Toolkit. A commercially sold shell that is very mature and
strong. Does most Unix functions. But it costs $500.
- Perl. OUTSTANDING scripting language, but it does not come with
an interactive shell (things like pwd, cd, ls, grep from a cmd line).

That's where I am now. Let me know if you find any great solution.

neal

Last edited by noleander; Mar 1st, 2005 at 4:01 PM.
noleander is offline   Reply With Quote
Old May 2nd, 2005, 11:56 AM   #7
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 317
Rep Power: 4 mackenga is on a distinguished road
If you check out the Perl manual pages, I seem to recall that somewhere in the introductory material is a very short (<20line) script that facilitates interactive use of the Perl interpreter. Not sure how good it is.

In response to thechristelegacy's original question; why not set up a dual boot arrangement? Partition off a good chunk of your machine's hard disk for Linux (or FreeBSD, or whatever's your poison) and you can have both. I've got a setup like that on our main machine - 75Gb or so for Linux, 5Gb for Windows. You can merrily run a full installation of Linux on less than 10Gb, though.

One catch is, if it's WinXP you've got, good old FIPS can't resize NTFS partitions, so you'll need a better partition manager (like Partition Magic) to resize the existing partition if you want to do it nondestructively (i.e. avoid having to set up XP again from scratch).

My Mum's computer illiterate, though, and within a couple of weeks of switching her to SuSE Linux she was happier than she was after years of using Windows. She could still access all her Office documents using StarOffice (now OpenOffice) and she felt more comfortable about using email with KMail than with Outlook, and the 'web with Netscape rather than IE. Maybe your Mum just needs to try something new?
mackenga is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:53 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC