Difference between revisions of "WindowsTerminal/Windows ComEmu"

From Ever changing code
Jump to navigation Jump to search
Line 16: Line 16:
= ConEmu different shells =
= ConEmu different shells =
==  Bash on Windows (WSL) ==
==  Bash on Windows (WSL) ==
=== Enable Windows Linux Subsystem ===
At Build 2016 Microsoft announced that Bash will be coming to Windows 10 via the future release of the Anniversary update.  Made possible through the partnership of Microsoft & Canonical, this first class experience is made available natively a Windows desktop and required no VM to be run.  The Windows Subsystem for Linux (WSL) is actually infrastructure within Windows operating a genuine Ubuntu user-mode Ubuntu image.
<source>
# open powershell as Administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
</source>
=== Run ConEmu with Bash shell ===
Run from cmd/star menu/powershell. It requires newer version of ConEmu, that runs WSL via <tt>wslbridge.exe</tt> where {bash} is a default task. This version has fixed bug where the arrow keys do work now.
Run from cmd/star menu/powershell. It requires newer version of ConEmu, that runs WSL via <tt>wslbridge.exe</tt> where {bash} is a default task. This version has fixed bug where the arrow keys do work now.
<source>
<source>
ConEmu64.exe -basic -run {bash}
ConEmu64.exe -basic -run {bash}
</source>
</source>
= References =
= References =
* [https://blog.ropnop.com/configuring-a-pretty-and-usable-terminal-emulator-for-wsl/ configuring-a-pretty-and-usable-terminal-emulator-for-wsl] includes xServer installation under Windows Subsystem Linux
* [https://blog.ropnop.com/configuring-a-pretty-and-usable-terminal-emulator-for-wsl/ configuring-a-pretty-and-usable-terminal-emulator-for-wsl] includes xServer installation under Windows Subsystem Linux
* [https://conemu.github.io/en/BashOnWindows.html WSL BashOnWindows] conemu.github.io
* [https://conemu.github.io/en/BashOnWindows.html WSL BashOnWindows] conemu.github.io

Revision as of 20:25, 25 September 2018

ComEmu defaults key bindings

  • Apps + left/right - move between Windows/regions
  • Apps + Shift + - resize window/region
  • Ctrl + Win + Enter - maximize ConEmu window and hide window caption (FullScreen mode)
  • Ctrl + Tab, Ctrl+Shift+Tab - tabs switching, when lazy tab switching was started in recent mode, You may use Left and Right keys to select tabs directly
  • Win + 09 - activates consoles by numbers (1,2,3,4,5,6,7,8,9,0)
  • Win + W - create new console tab. Confirmation dialog will be displayed, when ‘Create confirmation’ setting is enabled
  • Win + Q, Win+Shift+Q - activate next/previous console tab
  • Win + Del - terminate current console
  • Win + S - duplicate tab with current state of root process.
  • Win + X - create new console tab with cmd.exe or some selected task. Linux subsystem in mine setup.
  • Apps + R - rename current tab. In the current ConEmu version Far Manager editors/viewers can not be renamed
  • Apps + F - search text in the console
  • Win + Alt + P - settings

ConEmu different shells

Bash on Windows (WSL)

Enable Windows Linux Subsystem

At Build 2016 Microsoft announced that Bash will be coming to Windows 10 via the future release of the Anniversary update. Made possible through the partnership of Microsoft & Canonical, this first class experience is made available natively a Windows desktop and required no VM to be run. The Windows Subsystem for Linux (WSL) is actually infrastructure within Windows operating a genuine Ubuntu user-mode Ubuntu image.

# open powershell as Administrator
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Run ConEmu with Bash shell

Run from cmd/star menu/powershell. It requires newer version of ConEmu, that runs WSL via wslbridge.exe where {bash} is a default task. This version has fixed bug where the arrow keys do work now.

ConEmu64.exe -basic -run {bash}

References