Replacement for Standard Windows Console
The standard windows command window (console) sucks for several usability reasons:
- Standard windows keyboard shortcuts don’t work. It’s not possible to copy/paste without using a special menu.
- This special menu is best accessible with the mouse (or a long range of shortcuts)
Compare how it should be
CTRL + V
With how it is in the standard console:
ALT + SHIFT + space
E (for edit)
P (for paste)
Which means that my everyday work becomes very tedious than it has to be. Copy is even worse because you first have to put the editor into “mark” mode to make a selection before you do the ALT+SHIFT+space, then E, then C = even more time-consuming.
Looking for a replacement
I have been using Console 2 for a while as it provides decent support for the basic shortcuts and tabs (to avoid clutter the task bar with multiple windows).
Console 2 has one major error in my environment: It freezes occationally when I use it for Ruby on Rails development (where I typically run 3 windows per application: one window for the webserver, one for the log-file, and one for commands).
So I’m ready to shift to a new console replacement
Microsoft PowerShell seems not to have tabs. At least it’s not mentioned either on the product homepage or in Wikipedia.
“PowerCmd”. On the paper, it looks very promising: Multiple windows in tabs, usual keyboard shortcuts are there. But also more advanced features that I have been missing, like line numbers, search and result highlighting, word wrap on/off, and to choose between block selection and line selection.
I’m sure that these features will help me speed up development further (if implemented properly), and look forward to try out the program.
More info:
- PowerCmd homepage
- Console 2 on SourceForge
- Microsoft Powershell (and team blog, found via John Ericsson)
Technorati Tags: webdevelopment, programming, command, shell, console, powershell, powercmd, ruby on rails, windows, xp, winxp
April 30th, 2007 at 22:03 (GMT-1)
I use Cygwin, and the console it comes with has the same problem. You don’t get much control over which mouse button selects, extends, or pastes, either.
One good solution I’ve found to this is an extension to PuTTY that allows you to use it as a local Cygwin shell. This gives you access to your Cygwin shell (and by extension all of the stuff you can do in the Windows shell) but with the control over mouse and keyboard behavior that you get from PuTTY.
It can be found here: http://web.gccaz.edu/~medgar/puttycyg/
However, it doesn’t have tabs. There is another utility to get Tabs in PuTTY called, unsurpsingly, PuttyTabs, but I have not tried it.
May 7th, 2007 at 09:29 (GMT-1)
After testing PowerCmd, i found out is has a problem with showing unittest output in Ruby . The small dots and failures don’t show up in PowerCmd. Here is the mail I wrote to PowerCmd support. I’ll post any answer I recieve as well.
May 7th, 2007 at 09:37 (GMT-1)
Screenshots that show the difference between powercmd and another console.
Notice that the dots don’t appear in PowerCmd but appear in a normal console window. Click on a screenshot to enlarge it.
May 7th, 2007 at 09:44 (GMT-1)
Reply from PowerCmd. I’m impressed to have an answer within minutes!
May 7th, 2007 at 15:20 (GMT-1)
Just got this reply, which means PowerCmd has fixed the bug for next version. I’m really impressed with this kind of customer support.
May 7th, 2007 at 23:21 (GMT-1)
Just received an update from Paul at PowerCmd, that they released an update that fixes the problem. And it does. This is great news, so I’m upgrading my trial to a paid version.
Maybe I should also mention the minor things like
* window should remeber with/height next time I open PowerCmd
* change default setting for autocomplete away from automatic. it can be annoying when executing a command has the same name as the start of a file/folder in current directory.
An example of the latter is running the ruby command “rake” in directories that have a file called Rakefile (which is default). This way, autocomplete captures the ENTER key and autocompletes “rake” into “rakefile”.
Very annoying. So I hope these two things can also change soon.
May 10th, 2007 at 02:32 (GMT-1)
Because “rakefile” is one of the file under “actionmailer”, if you press “ENTER”, I assume you are accepting the auto-completion. If you are going to finish the commands without accepting the autocompletion, you can press “ESC” and then “ENTER”, or if you have parameters for “rake”, you can simply press “SPACE” to stop autocompletion for “rake”.
If “rake test” is you frequently used command, you can define it as a “tool” on quick launch bar, and use Ctrl+F1( or Ctrl+F2 …, depending on the position in quick launch bar) to access it quickly.
I hope it could be helpful.
May 14th, 2007 at 21:45 (GMT-1)
To follow the discussion on autocompletion and window size mentioned in my previous comment, see the PowerCmd support forum:
* Tab completion usability thoughts
* PowerCmd should remember window size and position
June 4th, 2007 at 20:27 (GMT-1)
Another thing that I discovered in PowerCmd: Ruby’s command-line interpreter irb can’t run.
I described it in the PowerCmd support forum.
Not able to run irb means also that “ruby script\console” does not run
June 27th, 2007 at 20:25 (GMT-1)
[…] Estas dos funciones no las permite el cmd de wigbugs, pero una aplicaion gpl llamada console2 […]
November 18th, 2007 at 17:34 (GMT-1)
[…] Replacement for Standard Windows Console […]
May 15th, 2008 at 17:05 (GMT-1)
Thanks for the tip. Not open source, but I’m not opposed to *gasp* paying for software if it’s quality software (seeing that I’m a programmer and all…) :)
Console2 just crapped out on me, and I’m a little frustrated. Think I’ll live with powercmd for awhile and see how it fits into my life.
I guess the primary question is whether it supports cygwin bash consoles.
About to hit the “help” key and Google bookmark to find out… :-)
Thanks so much for writing this blog!
December 9th, 2008 at 15:20 (GMT-1)
Did you ever have any luck with getting IRB (and therefore script/console) working?
It was a deal-breaker for me and I’m still hunting for something that’s as usable as a Linux console on windows.
P
November 14th, 2010 at 17:16 (GMT-1)
I did not test it (since I am just coming to a Windows machine after 3 years of OS X and trying to find some stuff, like a decent console, tha’s how I came here), but there is also ‘mintty’ at http://code.google.com/p/mintty/ It uses the console code of PuTTY along with Win APIs in order to deliver a console replacement. I used to use Console2 a few years back and was very happy about it.