command prompt++

This is a discussion on command prompt++ within the Tech Board forums, part of the Community Boards category; Hello.. I wonder if there is any application for windows similar to command prompt (actually improved command prompt) with features ...

  1. #1
    l2u
    l2u is offline
    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

  2. #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...

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    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.

  4. #4
    l2u
    l2u is offline
    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.

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,535
    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.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  6. #6
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    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.

  7. #7
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Theres plenty of console replacements on sf.net. Currently im using one called Console

  8. #8
    Registered User divineleft's Avatar
    Join Date
    Jul 2006
    Posts
    158
    i second cygwin and a bash port

  9. #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!

  10. #10
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,535
    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.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  11. #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!

  12. #12
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,717
    Out of curiosity, QuestionC, would zacs7's suggestion of Console be a possible solution?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  13. #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!

  14. #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.

Popular pages Recent additions subscribe to a feed

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