# Tag Info

158

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

51

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

40

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

12

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, ...

11

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

7

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

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

7

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

6

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 ... 5 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 ... 5 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 ... 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 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). 4 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. 4 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

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

3

I believe you are looking for the LS_COLORS environment variable. This article has a nice write-up: http://www.bigsoft.co.uk/blog/index.php/2008/04/11/configuring-ls_colors

3

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

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: ...

3

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?

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

I solved part of it. I would like to get different coloring for admin/non-admin For some reason, bcdedit.exe is not showing up in the system32 directory when running within Console2 (Not sure why?). So, I had to find another command instead of using the one I found at the link in my question. I found another "do-nothing" command that would allow me ...

3

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

3

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

3

Console2 is not a shell. It is a console window enhancement. You can configure Console2 to run any shell you want such as cmd.exe or bash. By default I believe the copy-paste functionality within the Console2 window is: Select Text: Shift + Left Mouse Button Copy Text: Left Mouse Button Paste Text: Middle Mouse Button note: by default, the right mouse ...

2

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

2

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 .

2

Original Console2 - can't do that you want. You may try to switch to its fork by Kirill, there is -reuse switch. Or, you may switch to ConEmu - another free terminal emulator (I'm the author). It may be configured as "single instance" in settings, or you may use /single switch with ConEmu.exe. Also, you may create new tab from existing tab using ...

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