C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 04-13-2007, 11:34 AM   #1
l2u
Registered User
 
Join Date: May 2006
Posts: 630
command prompt++

Hello..

I wonder if there is any application for windows similar to command prompt (actually improved command prompt) with features like simple text copying/pasting, resize options, etc..

Thanks for help
l2u is offline   Reply With Quote
Old 04-13-2007, 01:57 PM   #2
Registered User
 
Noir's Avatar
 
Join Date: Mar 2007
Posts: 218
The dos prompt already supports copy/pasting. Make sure it's set to quick edit in the properties and you can select with the mouse and copy with enter and paste with a right click. I don't know about resize options, but there are already some in the properties menu...
Noir is offline   Reply With Quote
Old 04-13-2007, 02:01 PM   #3
Frequently Quite Prolix
 
dwks's Avatar
 
Join Date: Apr 2005
Location: Canada
Posts: 7,698
Well, the Windows XP command prompt isn't too bad. For earlier versions of windows I just use doskey:
Code:
C:\>doskey

C:\>
Then, after doskey has been run, you can press <up> to repeat commands etc. Most computers have it already installed.

Any windows command prompt supports copying and pasting (at least, Windows 95 onwards). For earlier versions, there are some buttons at the top of the screen: mark, copy, paste, etc. For Windows XP, right-click on the window (anywhere works) and you'll get a popup to the same effect.

[edit] Too slow again. [/edit]
__________________
dwk

Seek and ye shall find. quaere et invenies.

"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell


Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net

My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
dwks is offline   Reply With Quote
Old 04-13-2007, 06:47 PM   #4
l2u
Registered User
 
Join Date: May 2006
Posts: 630
Yes I know cmd prompt supports resizing, copying, pasting, but I wonder if theres any improved version of this.. Im not satisfied with this one, I would prefer something like linux commander.
l2u is offline   Reply With Quote
Old 04-14-2007, 03:59 AM   #5
and the hat of Jobseeking
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,710
Just use of the ports of 'bash'
Original DOS command line was a wax crayon
Win32 console is still wax, but you do get a choice of colours.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

Salem is offline   Reply With Quote
Old 04-14-2007, 02:31 PM   #6
Frequently Quite Prolix
 
dwks's Avatar
 
Join Date: Apr 2005
Location: Canada
Posts: 7,698
I recommend Cygwin: cygwin.com
__________________
dwk

Seek and ye shall find. quaere et invenies.

"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell


Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net

My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
dwks is offline   Reply With Quote
Old 04-16-2007, 03:56 AM   #7
Woof, woof!
 
zacs7's Avatar
 
Join Date: Mar 2007
Location: Australia
Posts: 3,295
Theres plenty of console replacements on sf.net. Currently im using one called Console
__________________
"I.T. gets the chicky-babes" - M. Kelly
bakefile | vim
zacs7 is offline   Reply With Quote
Old 04-16-2007, 07:48 AM   #8
Registered User
 
divineleft's Avatar
 
Join Date: Jul 2006
Posts: 158
i second cygwin and a bash port
divineleft is offline   Reply With Quote
Old 04-16-2007, 10:38 AM   #9
Registered User
 
Join Date: Sep 2001
Posts: 752
I don't see how Cygwin solves the problems. You are still stuck with an un-resizable window that's tricky to copy/paste in and out of. It's a problem with how windows handles console windows, not the shell.

(PS, I'm sorry, I don't have a solution.)
__________________
Callou collei we'll code the way
Of prime numbers and pings!
QuestionC is offline   Reply With Quote
Old 04-16-2007, 10:49 AM   #10
and the hat of Jobseeking
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,710
What?
I can copy/paste just fine in and out of my cygwin, and it definitely isn't the default size.

Right click on the top-left corner and update the properties to your taste.

It's even better because there is a pseudo file called "/dev/clipboard" which you can do things like
cat /dev/clipboard | anotherProg
or
anotherProg > /dev/clipboard

Absolutely spiffy for getting things done with stuff copied to clipboard in other windows.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

Salem is offline   Reply With Quote
Old 04-16-2007, 12:25 PM   #11
Registered User
 
Join Date: Sep 2001
Posts: 752
Let me say it a different way...

All you really buy in terms of better stuff you can do by installing Cygwin using Bash is /dev/clipboard, and better scripting. If you are willing to install Cygwin and run under bash, it's better to get what is a real console window:
  • Install Cygwin
  • Start running SSHD daemon.
  • Connect to yourself using Putty.

Let's look at the features you get:
  • REAL window resizing (having to open up a menu and manually type in number of columns is a blatant cludge).
  • Configurable palate.
  • Configurable bell.
  • Logging options.
  • More than 2 fonts to choose from.
These aren't amazing features... this is basic functionality that should be expected from a windowed console interface, and just running bash under a window doesn't provide any of that, at the cost of being forced to run under a completely alien shell.

I'm not knocking bash or anything, but it is distinctly not command prompt++.
__________________
Callou collei we'll code the way
Of prime numbers and pings!
QuestionC is offline   Reply With Quote
Old 04-16-2007, 12:30 PM   #12
C++ Witch
 
laserlight's Avatar
 
Join Date: Oct 2003
Location: Singapore
Posts: 11,372
Out of curiosity, QuestionC, would zacs7's suggestion of Console be a possible solution?
__________________
C + C++ Compiler: MinGW port of GCC
Build + Version Control System: SCons + Bazaar

Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
laserlight is offline   Reply With Quote
Old 04-16-2007, 01:12 PM   #13
Registered User
 
Join Date: Sep 2001
Posts: 752
Quote:
Originally Posted by laserlight View Post
Out of curiosity, QuestionC, would zacs7's suggestion of Console be a possible solution?
Well.. I've never used it before two minutes ago, but so far it seems pretty nice, and is exactly what I was thinking of.

I see myself switching over my dev shell shortcuts to it in the near future.
__________________
Callou collei we'll code the way
Of prime numbers and pings!
QuestionC is offline   Reply With Quote
Old 04-29-2007, 12:21 AM   #14
Registered User
 
Join Date: Dec 2004
Posts: 465
You can copy/paste in command prompt just not using hotkeys. Right click the blue bar at the top of the window and hover of edit to have the copy/paste command to fly out. Microsoft released this expanded little deal realizing the advantages to having a good CLI probably after they figured out why people move to Linux.

It's called powershell. It has some expanded commands and cmdlet's (what microsoft calls them). It has some scripting capabilities as well.

Powershell.
__________________
My computer is awesome.
cerin is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump


All times are GMT -6. The time now is 11:14 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22