Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I usually develop with Ubuntu but now I'm forced to use Windows XP. It's actually pretty okay except the commandline is irritating. I miss resizing the window just with mouse but on windows I have to go inside the menus and change the width manually. Also copy pasting is hard from the console. You can only copy an area of the console, not individual lines.

Is there any good alternatives for the default commandline console in windows?

share|improve this question
do you work with the Windows' shell or are you connecting to a Linux machine via SSH? – greengit Sep 2 '11 at 7:51
You know of the MODE.EXE command? – user1249 Sep 2 '11 at 8:53
greengit: I'm work with Windows' shell. For SSH connection I use putty and I have no problems with that. Thorbjørn Ravn Andersen: No, I haven't heard of that. – palto Sep 2 '11 at 9:11
3  
@palto, try "mode 132,43" – user1249 Sep 2 '11 at 9:19
3  
And how could I forget about the best terminal app ever? Emacs shell mode is very well integrated with Windows. – SK-logic Sep 2 '11 at 9:30
show 3 more comments

closed as not constructive by gnat, haylem, Jarrod Roberson, ChrisF Jul 1 '12 at 17:45

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

6 Answers

up vote 20 down vote accepted

Console2 (www.sourceforge.net/projects/console). It is not a shell on its own, but gives a standard (resizable) window in which you can run other shells such as windows cmd.exe. It also supports pasting via the middle button as on linux.

share|improve this answer
cmd.exe, powershell, fsharp terminal, mono csharp .... each on its own tab. – Thanos Papathanasiou Sep 2 '11 at 7:16
It's good but it doesn't like anything in powershell that tries to draw to the whole screen, like less or the powertab powershell extension. – tenpn Sep 2 '11 at 12:46
Console2 handles bulk output quite poorly. The screen will essentially "lock up" until it decides it can redraw. Also, there's no double or triple click to select a "word" or line. Still, it's the best I've found so far. – Kaleb Pederson Sep 2 '11 at 15:06

For some reason nobody have mentioned Cygwin yet. It is quite a mature environment, fitting almost natively into Windows, with the good old rxvt available (no X11 required).

share|improve this answer
4  
Can not agree with Cygwin being "good" for anything. – Rocket Surgeon Sep 2 '11 at 13:50
3  
@RocketSurgeon, any specifics? What's the problem with Cygwin? Especially with its rxvt build? And, mind naming an alternative (besides MSYS)? – SK-logic Sep 2 '11 at 14:12
1  
@SK-logic: On the topic of an alternative, any VM software offers a decent alternative if you have a somewhat recent PC. As to issues with Cygwin, I have many, mostly around performance. I've done measurements, and git runs anywhere from 15-20x slower on NTFS/Cygwin than it does inside a Linux VM running on the same hardware inside Windows. (note: I still do use cygwin daily in my work.) git rebase in particular is painfully slow. – Matthew Scharley Sep 2 '11 at 14:43
1  
@SK-logic: I use Cygwin, but I also use a Linux VM and shared folders to do a lot of work too. Cygwin isn't so different to a VM if you look at it from a high level. You have a root folder which is for all intents and purposes it's own file system, and then you have your Windows drives mounted in /cygdrive/*. If I had a headless VM and something like Console2 which started a SSH session into said VM instead of firing up bash in Cygwin, you could get almost the same experience from both setups (other than the obviously higher resource requirements of a VM). – Matthew Scharley Sep 2 '11 at 15:28
2  
Mintty is an actively developed alternative to rxvt, with a more Windows-native user interface and Unicode support. It's based on PuTTY's terminal emulation, but more xterm-compatible and tailored specifically for Cygwin. Like rxvt, it can be installed through Cygwin's setup.exe. – ak2 Sep 2 '11 at 19:55
show 4 more comments

There is Powershell from Microsoft. It is Microsoft's best attempt at creating a shell script for Windows OS yet.

Edit: I guess I answered the wrong question, that is the command line tool... As Terje Mikal wrote, Console2 is nice and free. So, using a combination of Console2 and Powershell gives you a much more friendly environment than just cmd.exe

share|improve this answer

You're actually searching what on linux is called a terminal emulator. But yes, on Windows it's all mixed up in a single program. Anyway here it is one, a good one: Console 2

  • Very configurable.
  • Does transparent and semi transparent backgrounds too,
  • you can rebind keys.
  • It's quite resizable.

Get it from here.

share|improve this answer

Try ConEmu. I'm the author of this Windows console emulator.

Brief excerpt

  • mixing elevated and non elevated tabs
  • ability to use mouse for text and block selection, depending of pressed modifier (configurable, by default Alt - block, Shift - text)
  • ability to copy on LButton up when selecting with mouse
  • ability to position cursor in command prompt with mouse
  • easily pasting text with keyboard (Shift+Ins by default)
  • ability to start new tabs from existing
  • Windows 7 jump list and progress bar
  • simply macro support, for examle, you may map Ctrl+D to pasting "exit\n", or change console font size with Ctrl+MouseWheel
  • some options may be configured separately by applications (palettes for example)

Rapidly developed, one of the latest features - command shell inside windows explorer pane.

This is a console for developers, by developers. It seems like every time I think "well, it would be nice if it did _", there's an option for it. Major thanks for fixing such a broken console experience in Windows! - drharris

share|improve this answer

MSYS (http://mingw.org/) is pretty close to a unix shell and has most of the unix utilities. Or try busybox for win32 (busybox) - a single tiny executable that will provide functionality of utilities like -

[, [[, ar, ash, awk, base64, basename, bash, bbconfig, bunzip2, bzcat,
bzip2, cal, cat, catv, cksum, cmp, comm, cp, cpio, cut, date, dc, dd,
diff, dirname, dos2unix, echo, ed, egrep, env, expand, expr, false,
fgrep, find, fold, getopt, grep, gunzip, gzip, hd, head, hexdump, kill,
killall, length, ls, lzcat, lzma, lzop, lzopcat, md5sum, mkdir, mv, od,
pgrep, pidof, printenv, printf, ps, pwd, rm, rmdir, rpm2cpio, sed, seq,
sh, sha1sum, sha256sum, sha512sum, sleep, sort, split, strings, sum,
tac, tail, tar, tee, test, touch, tr, true, uncompress, unexpand, uniq,
unix2dos, unlzma, unlzop, unxz, unzip, usleep, uudecode, uuencode, vi,
wc, wget, which, whoami, xargs, xz, xzcat, yes, zcat
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.