# Tag Info

196

Open Console2 menu Edit -> Settings, and in the Hotkeys / Mouse settings configure the selection and copy actions. The defaults are a bit wonky. I use: Left mouse button = select Ctrl+C = copy Ctrl+V = paste ESC = clear selection Make sure you press 'Assign' after each change you make otherwise it won't take effect. Last note: Beware if you use ESC ...

60

Holding SHIFT and marking the text should do the trick (at least for me). After this just click Edit -> Copy

42

Here's what I did (your paths with almost certainly vary): Create a new tab in Console with the following values: Title: Git Bash Icon: C:\Program Files\Git\etc\git.ico Shell "C:\Program Files\Git\bin\sh.exe" --login -i Startup dir: %HOMEDRIVE%%HOMEPATH% Create a new key in HKEY_CLASSES_ROOT\Directory\shell\ called git_shell2 with a data value of Git ...

32

Here's what I did Download Console2 from SourceForge (get _32bit.zip or _64bit.zip version depending on your OS) Download Console2 src just to get the .ico file Copy the Console2 folder to C:\Program Files Copy Console.ico file from the Console Source downloads to the folder above Open Console2 and edit your settings for font or better read Scott Hanselman'...

19

You have to go to Settings -> Hotkeys and disable Use scroll lock for scrolling. This worked fine for me!

15

You can not do that. Console2 (being a "Terminal Emulator") hosts terminal programs .. as in "hey, I will render the chars you want to output and I will give you what the user types into the keyboard". Useful terminal programs mostly used in "Terminal Emulators" are "Shells", such as "cmd.exe" or "powershell.exe" or "bash.exe" or "zsh.exe". If you like it, ...

12

Console2's key and mouse assignment is a bit funky. Here's how to actually make left_click == select text: Open the Edit->Settings->Hotkeys->Mouse submenu. Select the "Select text" item. Then change the "Button:" line to be "Left" and un-check all three Modifiers boxes. Then click "Assign" - without this step none of your changes will actually take ...

10

Although this question is over a year old and already answered, the following solution is simpler and avoids editing the registry: In Console2, go to Edit > Settings. Change the "Shell:" field to the following: C:\Windows\system32\cmd.exe /K "C:\Path\to\aliases.cmd" Now restart Console2 and you're done. To possibly save you some time, here's a simple ...

10

Console stores profiles at: C:\Users\ [USER] \AppData\Roaming\ [CONSOLE TAB NAME] \console.xml Try Replacing it with original one located in Installation Directory, C:\Program Files\Console2\console.xml Path might be different depending on where you have installed it.

10

If it was working previously, and suddenly stopped, you may have hit the scroll lock key.

8

I'm an author of ConEmu - Windows console emulator. One of its features is capturing to it's tab existing consoles or simple GUI applications. So, after starting console program in standard console (CSRSS/ConHost) you may: In the ConEmu system menu choose "Attach..." item (Win+G by default) and choose attaching window. If ConEmu was not started you may ...

8

The following command is used in ConEmu's default task for GitBash. git-cmd.exe --no-cd --command=usr/bin/bash.exe -l -i Actually, git-bash.exe is only a wrapper which starts bash.exe. And git-cmd.exe is doing the same thing. However git-bash.exe is an application linked for GUI subsystem, and git-cmd.exe is a real console application. ConsoleZ (unlike ...

7

Console2 is only a wrapper around hidden Win32 console windows and does not provide extended line editing functionality. You can create aliases in Win32 consoles: doskey d=dir $* Unlike Unix sh, you have to explicitly specify$* to append given arguments (ex. d C:\). You can also use $T to separate commands. Also unlike Unix, aliases are implemented at ... 7 The vba script just launches the Git Bash shortcut in the same directory; just change that shortcut to make it point at Console2's executable and configure Console2 so that it uses MSysGit's sh as its shell. UPDATED Going into more details as I just needed to do it again on a new computer: Configuring Console2 added a new tab called "git" set the ... 7 Sorry for self-promotion. I'm the author of another Console Emulator. One of its features - is opening new tab from existing tab (from any program or batch file). Just type "%ConEmuBaseDir%\ConEmuC.exe" /c program.exe <arguments> -new_console arguments - (optional) switches of program.exe. -new_console switch has several options. -new_console[:abch[... 6 Do you want to try ConEmu? I'm an author of this console emulator. You may run selected tabs elevated, or under specified credentials. And you may specify different palette for elevated consoles (or specified applications). 6 This worked for me: Shell: C:\Windows\SysWOW64\cmd.exe /c "C:\Program Files\Git\usr\bin\bash.exe" --login -i The bash.exe inside \Git\usr\bin seems to handle Ctrl-C normally. *64bit Win7 using Git for Windows 2.6.1 5 The problem is the$TERM setting. For the Cygwin console, this should be set to cygwin, and it's the same for Console2, which is a wrapper around the console window. Something must have set TERM to dumb in the system-wide settings. Perhaps some other Unix toolkit?

5

From the manual, When Bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. /etc/profile by default contains the following code: # Make sure we start in home unless invoked by CHERE if [ ! -z "${CHERE_INVOKING}" ]; ... 4 I have Console2 running on Windows 7 64bit and resolved it much easier. While having the C drive for programs, I use the D drive for tools and other data. Installation Path: D:\Tools\Console2 Now you just have to edit your system variable "PATH" and add the installation path to it: Key: PATH Value: {other paths};D:\Tools\Console2 (no semicolon required ... 4 You cannot host MinTTY, but you can use directly the Cygwin bash as the Console2 shell. Just create a new tab with \bin\bash.exe --login -i as your shell 4 In case anyone stumbles upon this wanting to use MinGW Bash I found a solution for that. Console2, Edit, Settings, Tabs, Add Title = Bash Shell = C:\MinGW\msys\1.0\bin\sh.exe -l Edit registry ni hklm:software/classes/directory/shell/bash/command ` -f -va 'c:/Console2/Console.exe -t Bash -d %v' Create ~/.profile with the following: cd - cd Man Page ... 4 In bash, the standard Xterm sequences documented at How to change the title of an xterm seem to work, e.g. echo -e "\033]0;custom title\007"; cat So try adding that to your PS1 in your .bashrc or whichever config file you use, e.g: PS1="\033]0;\$PWD\007\$PS1" or use PROMPT_COMMAND instead if you are using bash. In cmd.exe, you can use title <...

4

Make sure that you are using the 64-bit version of Console2. The 32-bit version will start the 32-bit version of PowerShell, and as previously reported, the 32-bit versi

4

The filename of the shell and its parameters need to be specified explicitly, like CMD.exe /K (or %COMSPEC% /K), in either Console Settings -> Console -> Shell or Console Settings -> Tabs -> MyTab -> Shell .

4

The Windows shell (and with it, the Console2 wrapper) is limited to 16 colors, whereas GVIM can use the full 24-bit RGB palette. Therefore, even with colorscheme support for consoles, there usually are limitations. The best you can achieve is adapt the shell's / Console2's color palette to the (maximum 16) RGB colors used by the twilight color scheme, and ...

4

Try the following "cmd.exe /c" in your command is superfluous. Remove it completely. Update to the latest git-for-windows. It has git-cmd.exe wrapper. To run it properly there are switches, something like "git-cmd.exe --cmd=/use/bin/sh.exe" Not sure about Console... Check your associated action for Ctrl+C hotkey. It may be configured improperly. Why do ...

3

Console2 is only a wrapper around an invisible Windows Console window (due to the architecture of Windows console functions), so its size is the same as of that hidden window's - which is still on the primary display. Somewhere in the menus of Console2, you'll find the "Hide console window" option - use it to reveal the hidden console, then drag it to the ...

3

You satisfied with the yellow color in the prompt only? Screenshot was taken from my own Console Emulator (ConEmu), sorry for self-promoton ;) Link to ColorPrompt.cmd. If you want repeat this trick in Console2, you owe to use AnsiCon after (or before) changing prompt. ansicon.exe -p The idea is to use ANSI x3.64 sequences to change console output ...

3

If you use ANSICON along with PuTTY, you can have it show up in Windows. Just copy the ansicon files into your console2 directory and then create a new tab using this: C:\Program Files\Console2\ansicon.exe "C:\Program Files (x86)\PuTTY\plink.exe" -load PROFILE Source: http://www.hanselman.com/blog/Console2ABetterWindowsCommandPrompt.aspx#46f4752f-a42d-...

Only top voted, non community-wiki answers of a minimum length are eligible