The Perfect Windows Console

The Perfect Windows Console

A Windows console that does not suck | vxlabs

conemu-maximus5 - Windows Console Emulator, Far Manager plugins - Google Project Hosting PuTTY + cygtermd, cygwin-terminal-window

command line - What’s a good alternative Windows console? - Stack Overflow command line - Is there a better Windows Console Window? - Stack Overflow Has anyone found a (eg bash) shell terminal for Windows as good as the OS X one? - Server Fault

ConEmu

There is now ConEmu, another console replacement but more configurable and actively maintained than Console. As for bash-style completion, recent builds of ConEmu integrate with Clink.

ConEmu - The Windows Terminal/Console/Prompt we’ve been waiting for? - Scott Hanselman Jakub Gutkowski | Jakub Gutkowski - Papa Console2, Witam z ukłonami ConEmu

Setup with /Min switch to start minimized: Command_Line - conemu-maximus5

Task lines:

- Task name: PowerShell
    Task Parameters: `/icon "PATH\icons\vspowershell.ico"`
    Commands: `%SystemRoot%\syswow64\WindowsPowerShell\v1.0\powershell.exe`

- Task name: GIT Bash
    Task Parameters: `/icon "C:\Program Files (x86)\Git\etc\git.ico"`
    Commands: `C:\Windows\SysWOW64\cmd.exe /k RenameTab "Git Bash" && """C:\Program Files (x86)\Git\bin\sh.exe" --login -i""`

- Bash from Vagrant: c:\vagrant\embedded\bin\bash.exe
- Mintty: c:\vagrant\embedded\bin\mintty.exe

How do I give each tab a custom name? Git Bash Here in ConEmu

Clink features

Install CLink from EXE file, and don’t use it from ConEmu option. I had some strange problems when not doing it this way.

Bringing Bash powerful command line editing to Windows

- Improved command line history that persists across sessions.
- Searchable (Ctrl-R and Ctrl-S)
- Traditional Bash clear screen (Ctrl-L) and exit shortcuts (Ctrl-D).
- Scrollable command window using PgUp/PgDown keys.
- Paste from clipboard (Ctrl-V or R-Click)

Easy integration with ConEmu. History is stored in a file "%LocalAppData%"/clink/.history

Mintty

mintty - Terminal window for Cygwin and MSYS

Ships with Vagrant: c:\vagrant\embedded\bin\mintty.exe

Some extras

Nano is my favorite simple editor on Linux. You can get it for Windows. And, I will put it anywhere where my path points to.

Add path to Putty to system:

set PATH=%PATH%;%PROGRAMFILES(X86)%\Nano
setx PATH "%PATH%" /m

Check it’s working:

where nano

Terminal

Termius

MobaXterm free Xserver and tabbed SSH client for Windows. Has mosh included.


Microsoft microsoft/terminal: The new Windows Terminal and the original Windows console host, all in the same place!


Tabby is a a terminal with repo at Eugeny/tabby is mostly JavaScript and it used to be called Eugeny/terminus and installable with scoop install tabby, koji pogađa baš opcije koje mene interesuju kao što je optional global hotkey to focus/hide the terminal and that remembers open tabs and panes where you left off. Sve radi savršeno, osim što se pokreće dosta dugo, ali to možda i nije problem jer ga samo pri bootu pokrećem uopšte. Posledica toga što je pisan u JavaScript je što postoji i Web verzija, što je prosto nestvarno.

Kitty is GPU based terminal written in a mix of C and Python for hackability of the UI and that does not depend on any UI toolkit using only OpenGL for rendering everything, at repo kovidgoyal/kitty, but it doesn’t support Windows. Kitty – A fast, featureful, GPU based terminal emulator | Hacker News

Alacritty - A cross-platform, OpenGL terminal emulator jwilm/alacritty: A cross-platform, GPU-accelerated terminal emulator is Rust scoop install alacritty Announcing Alacritty, a GPU-accelerated terminal emulator

WezTerm is a GPU-accelerated cross-platform terminal emulator and multiplexer (tmux alternative) implemented in Rust at repo wez/wezterm. Install with scoop install wezterm, WezTerm is faster than Alacritty as seing here while Measuring terminal latency


Warp is modern Rust based GPU-accelerated terminal, na repo warpdotdev/Warp ali Mac only for now, tako da ga ne želim koirsititi. Commands.dev by Warp is global list of Workflows, and warpdotdev/workflows are snippets of shared commands.


Wave Terminal


Hotkey: LGUG2Z/whkd: A simple hotkey daemon for Windows Nikako dobro ne radi ako ga poredim sa AHK


  1. Tmux i Zellij pravilno rade samo u SSH ali ne u Mosh (mosh radi ligature sa wizterm ali ne i miš)
  2. Allacritty je stvarno brz (najbrži po meni ipak), ali nema tabs i nema one lepe fontove (Ligatures)
  3. Windows Terminal ima sve, a ima i ligature, samo instaliraj PL fontove. Ima i neki Atlas engine koji ga čini brzim. Samo ga jebe onaj shortcut ali to sam inače uradio preko AHK. Inače, ugrađeni hotkey nije uvek reagovao kako treba a AHK je perfektan.
  4. Wizterm radi i ligature iz prve, ali nije brz koliko god pričaju da jeste 5.

scoop bucket add nerd-fonts scoop install -g FiraCode scoop install -g Cascadia-Code


wezterm.lua ide u HOME folder ili bolje još u $HOME/.config/wezterm/wezterm.lua

CTRL-SHIFT-L to open the debug overlay and then wezterm.config_file to show the config file path that is in use

https://www.sharpwriting.net/project/configuring-wezterm/

Ctrl-Shift-T to open a new tab


Get the Most Out of Your Terminal: A Comprehensive Guide to WezTerm Configuration | HackerNoon


scoop install micaforeveryone

Windows | Oh My Posh scoop install oh-my-posh notepad $PROFILE … oh-my-posh font install Cascadia Code Must enable “Use the new text renderer (“AtlasEngine”)” To ensure correct rendering of the glyphs you will need to enable the option


AltDrag stefansundin/altdrag: Easily drag windows when pressing the alt key. (Windows) scoop install altdrag

Much newer: RamonUnch/AltSnap: Maintained continuation of Stefan Sundin’s AltDrag scoop install altsnap


Add to Startup

Add non-elevated normal app at startup, just create a symbolic link:

$StartUp="$Env:APPDATA/Microsoft/Windows/Start Menu/Programs/Startup"
$App="$Env:HOMEPATH/.ahk/terminal-toggle.ahk"
$Title="Terminal Toggle"
New-Item -ItemType SymbolicLink -Path "$StartUp" -Name "$Title.lnk" -Value "$App"

Add elevated at startup:

$App = """$(scoop prefix autohotkey)\UX\AutoHotkeyUX.exe"""
$Name = "Windows Terminal Autohotkey"
$Action = New-ScheduledTaskAction -Execute "$App" -Argument """%HOMEPATH%/.ahk/terminal-toggle.ahk"""

$Trigger = New-ScheduledTaskTrigger -AtLogon
$Principal = New-ScheduledTaskPrincipal -UserID "$env:USERDOMAIN\$env:USERNAME" -LogonType ServiceAccount -RunLevel Highest
$Settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries -DontStopOnIdleEnd
$Task = New-ScheduledTask -Action $Action -Trigger $Trigger -Settings $Settings -Principal $Principal
Register-ScheduledTask -TaskName "$Name" -InputObject $Task -Force

Start Terminal at Startup Elevated:

$App = "%LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe"
$Name = "Windows Terminal Autorun"

$Action = New-ScheduledTaskAction -Execute "$App"
$Trigger = New-ScheduledTaskTrigger -AtLogon
$Principal = New-ScheduledTaskPrincipal -UserID "$env:USERDOMAIN\$env:USERNAME" -LogonType ServiceAccount -RunLevel Highest
$Settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries -DontStopOnIdleEnd
$Task = New-ScheduledTask -Action $Action -Trigger $Trigger -Settings $Settings -Principal $Principal
Register-ScheduledTask -TaskName "$Name" -InputObject $Task -Force

To test created scheduled task, run:

Start-ScheduledTask -TaskName "Windows Terminal Autorun"
Start-ScheduledTask -TaskName "Windows Terminal Autohotkey"

Why doesn’t WezTerm get any attention? (compared to Kitty & Alacritty) : linux

WezTerm is too slow. I do like the lua config design of Wez, but I just can not stand it being so slow.

The most useful feature is the ability to persist remote sessions. That means one can connect to a remote computer, open different panes and tabs, work within them, close WezTerm and when one opens the terminal again, perhaps on another computer, everything is resumed as left, running processes and all. I’d like to find in the future the possibility to synchronize the keyboard input between panes. Bravo, WezTerm!

scrolling back to the beginning of the previous command’s output? ScrollToPrompt - Wez’s Terminal Emulator

Windows Terminal has it.


Ma Tabby ubija funkcionalno! Terminal je takođe ipak dobar. Zajebi sve ostalo. Which Terminal Emulator Should You Use? | Sharp Writing


Terminal shortcut works like shit!

  • ne želim da na Alt-Tab imam i njega.
  • Svugde da rati Ctrl-~ ili ctrl-Esc

2. napeavi onaj vscode shortcut za select and then search, i stavi ga na f3, ali detektuj da li je Find File otvoren

3. windows - kada je prozor otvoren na ekanu stavljen na edge, da se ne ponaša na ivicama kao da je floating i da ne prikazuje strelice za resize.

Mislim da https://www.nurgo-software.com/ ne može, ali pitaj. do not change cursor in windows when windows is on edge, but not maximized

date 08. Nov 2012 | modified 10. Jun 2024
filename: WIndows » CLI » The Perfect Console & Terminal