Author Topic: cmd.exe on crack  (Read 4429 times)

0 Members and 1 Guest are viewing this topic.

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
cmd.exe on crack
« on: May 11, 2012, 02:02:18 am »
Tired of your old Windows command line? Replace it with a Windows port of bash!

I installed Cygwin, an excellent UNIX layer for Windows, then I was bored and wrote a .bashrc that mimics the look and feel of Windows' cmd.exe, including the prompt, the Windows version banner, some aliases and the command not found handler and modified the Start menu Command Prompt shortcut so it starts bash instead of cmd.exe. Now you can't even tell cmd.exe from bash! Feel free to give me some suggestions ^_^ (Only works in Cygwin as it uses Cygwin utilities for the prompt.)

Download

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: cmd.exe on crack
« Reply #1 on: May 11, 2012, 02:37:09 am »
THat's cool. :D

Also I'm glad they made Cygwin easier to get to work. The first time I ever tried it 5 or 6 years ago, it seemed like they made their readme/doc as hard as possible to understand for non-expert/tech-savy people. <_<

Offline hellninjas

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 625
  • Rating: +17/-0
    • View Profile
Re: cmd.exe on crack
« Reply #2 on: May 11, 2012, 10:05:25 am »
+1'd :D

Offline imo_inx

  • Manman, SaviourOfTheMultiverse!
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 473
  • Rating: +27/-8
  • imo_inx
    • View Profile
Re: cmd.exe on crack
« Reply #3 on: May 11, 2012, 11:03:17 am »
I remember using it inside *shudder* Ubuntu 11.10. It was... complicated :D


Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: cmd.exe on crack
« Reply #4 on: May 11, 2012, 11:05:47 am »
Why would you every use cygwin inside of Linux? Linux already has an unix environment, so there is not reason at all to use it..

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: cmd.exe on crack
« Reply #5 on: May 11, 2012, 11:49:00 am »
Tired of your old Windows command line? Replace it with a Windows port of bash!

I installed Cygwin, an excellent UNIX layer for Windows, then I was bored and wrote a .bashrc that mimics the look and feel of Windows' cmd.exe, including the prompt, the Windows version banner, some aliases and the command not found handler and modified the Start menu Command Prompt shortcut so it starts bash instead of cmd.exe. Now you can't even tell cmd.exe from bash! Feel free to give me some suggestions ^_^ (Only works in Cygwin as it uses Cygwin utilities for the prompt.)

Download

"Why?", I say. If you are craving linux that much, GET IT! IT'S FREE, PEOPLE! No reason to emulate it in windows if you don't have to.


:D

LOL anyway.

I get the joke.

:D



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: cmd.exe on crack
« Reply #6 on: May 11, 2012, 12:36:44 pm »
I use msys, its the same idea =)
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: cmd.exe on crack
« Reply #7 on: May 11, 2012, 12:39:25 pm »
Well, Cygwin is useful in case you're in Windows and you can't/are too lazy to get on Linux, such as at work and stuff like that.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: cmd.exe on crack
« Reply #8 on: May 11, 2012, 04:02:09 pm »
@jimbauwen cygwin in linux is useful for having programs prepacked in EXACTLY the environment they need to run, and for sandbox-ish isolation (ie chroot minus lots of mess). Also, if you're developing for cygwin in windows it's useful for testing.
« Last Edit: May 11, 2012, 04:02:25 pm by willrandship »

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: cmd.exe on crack
« Reply #9 on: May 12, 2012, 04:38:53 am »
Oh, did not know that, thanks for the information :)

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: cmd.exe on crack
« Reply #10 on: May 12, 2012, 12:44:00 pm »
I didn't even knew there was a Cygwin for Linux.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline imo_inx

  • Manman, SaviourOfTheMultiverse!
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 473
  • Rating: +27/-8
  • imo_inx
    • View Profile
Re: cmd.exe on crack
« Reply #11 on: May 13, 2012, 09:40:45 am »
I was originally just looking for different Terminal variations. :P