Mintty
Author: L | 2025-04-24
The Cygwin Terminal – terminal emulator for Cygwin, MSYS, and WSL - mintty/docs/mintty.1 at master mintty/mintty The Cygwin Terminal – terminal emulator for Cygwin, MSYS, and WSL - mintty/docs/mintty.1 at master mintty/mintty
mintty/docs/mintty.1 at master mintty/mintty - GitHub
Line scripts wsl*.batWSLtty installs the following scripts into %LOCALAPPDATA%\Microsoft\WindowsApps(and a copy in its application folder %LOCALAPPDATA%\wsltty):For each installed WSL distribution, e.g. Ubuntu, a command script like Ubuntu.bat to start in the current folder/directoryFor each installed WSL distribution, e.g. Ubuntu, a command script like Ubuntu~.bat to start in the WSL user homeWSL.bat and WSL~.bat to start the default WSL distributionGiven that %LOCALAPPDATA%\Microsoft\WindowsApps is in your PATH,the scripts can be invoked from cmd.exe, PowerShell, or via WIN+R.Context menu entriesWSLtty provides context menu entries for all installed WSL distributionsand one for the configured default distribution,to start a respective WSL terminal in a specific folder from an Explorer window.They are not installed by default.To add launch entries for the default or all WSL distributions to theExplorer context menu, or remove them, run the respective script from theStart Menu subfolder WSLtty:IconWsltty installation and the mintty terminal try to use the icon of therespective WSL distribution. If it cannot be determined, a penguin iconis used as a fallback. You can replace it with your preferred default iconby replacing the icon file %LOCALAPPDATA%\wsltty\wsl.ico.Mintty settingsMintty can maintain its configuration file in various locations,with the following precedence:file given with mintty option -c (not used by wsltty default installation)file config in directory given with mintty option --configdir%APPDATA%\wsltty\config in the default wsltty installation%HOME%\.minttyrc (usage deprecated with wsltty)%HOME%\.config\mintty\config (usage deprecated with wsltty)common config file for all mintty installation instances%APPDATA%\mintty\config%LOCALAPPDATA%\wsltty\etc\minttyrc (usage deprecated with wsltty)Note:%APPDATA%\wsltty\config is the user configuration file location.Further subdirectories of %APPDATA%\wsltty are used for language,themes, and sounds resource configuration.Note the distinction from %LOCALAPPDATA%\wsltty which is the defaultwsltty software installation location.The %APPDATA%\mintty\config option provides the possibility tomaintain common mintty settings for various installations (likewsltty, Cygwin, MinGW/msys, Git for Windows, MinEd for Windows).(About deprecated options) By default, %HOME% would refer to theroot directory of the cygwin standalone installation hosting wsltty.So %HOME% would mean
mintty/cygwin/README at master mintty/mintty - GitHub
%LOCALAPPDATA%\wsltty\home\%USERNAME%.If you define HOME at Windows level, this changes accordingly.Note, however, that the WSL $HOME is a completely different setting.Emoji deploymentMintty and the wsltty package do not bundle actual emoji graphics butthere are scripts to support easy download and deployment.If you have another instance of mintty installed (e.g. in cygwin)and have emojis deployed already in the common config folder%APPDATA%\mintty\emojis, they will be reused by wsltty.To deploy emojis standalone for wsltty, use the scripts installed in%APPDATA%\wsltty\emojis within WSL:cd $(wslpath "$APPDATA/wsltty/emojis")getemojis to provide emoji graphics as listed by Unicode.orggetflags to provide emoji flag graphics (extending Unicode dynamically) from various sourcesShell selection and Login shellThe WSLtty deployment does not impose a shell preference;it invokes the user’s default shell in login mode by the final - parameter:%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL= --configdir="%APPDATA%\wsltty" -You may tweak shortcuts, scripts, or context menu entries as follows:To launch a default shell in non-login mode, remove the final dash.To invoke your preferred shell, replace the final dash witha shell pathname and an optional -l parameter%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL= --configdir="%APPDATA%\wsltty" /bin/bash -lWSL locale setup and character encodingCharacter encoding setup by locale setting is propagated from the terminaltowards WSL. So you can select your favourite locale with configurationoptions or with command-line options, for example in a copied dedicateddesktop shortcut.If for example you wish to run WSL in GB18030 encoding, you may set optionsLocale=zh_CN and Charset=GB18030 and the WSL shell will adopt thatsetting, provided that the selected locale is configured to be availablein the locale database of the WSL distribution.This can be achieved in Ubuntu with the following commands:sudo mkdir -p /var/lib/locales/supported.dsudo echo zh_CN.GB18030 GB18030 >> /var/lib/locales/supported.d/localsudo locale-genComponents and CreditsFor mintty, see the Mintty homepage(with further screenshots),the Mintty manual page,and the Mintty Wiki,including a Hints and Tips page.It is based on Cygwinand includes its runtime library (sources).For interacting with WSL, wslbridgeused to be the gateway prototype.Many thanksmintty/wiki/Tips.md at master mintty/mintty - GitHub
In color as well as highlighting substrings in the input text.x3270 is an IBM 3270 terminal emulator for the X Window System and Windows. wsltty 3.7.7 [ 2024-12-21 | 3 MB | Open Source | 11|10|8|7 | 7711 | 5 ]wsltty uses Mintty as a terminal for WSL (Windows Subsystem for Linux). MoonShell 2.2 [ 2018-09-13 | 734 KB | Open Source | Win 10 / 8 / 7 / Vista / XP | 3675 | 5 ]MoonShell is an Open Source, portable and multi-tabbed terminal. Yori 2.40 [ 2025-02-19 | 142 KB | Open Source | 11|10|8|7 | 7137 | 5 ]Yori is a CMD replacement shell to augment command-line capabilities with support for backquotes, job control, and improving tab completion, file matching, aliases, command history, and more.Windows Terminal is a new, modern, fast, efficient, powerful, and productive terminal application for users of command-line tools and shells like Command Prompt, PowerShell, and WSL. ConEmu 230724 [ 2023-07-23 | 5 MB | Open Source | 11|10|8|7 | 29266 | 5 ]ConEmu is an Open Source terminal emulator for Windows. It combines multiple consoles and simple GUI apps (PuTTY, DOSBox, or Notepad, for example) as customizable multi-featured GUI windows. TCC/LE 14 [ 2018-03-21 | 7.26 MB | Shareware | Win 10 / 8 / 7 / Vista / XP | 55323 | 4 ]If you're frustrated by the limitations of the Windows command prompt, then TCC/LE is the one command line tool you need.. The Cygwin Terminal – terminal emulator for Cygwin, MSYS, and WSL - mintty/docs/mintty.1 at master mintty/minttymintty: Mintty is a terminal emulator for Cygwin that is
檔案,修改 158 行,將 minttyargs='--WSL --configdir="'"$configdir"'"' 修改為 minttyargs='--WSL="Ubuntu-18.04" --configdir="'"$configdir"'"' 即可。再者,如果你想調整啟動 WSL Terminal 的快捷鍵,可以修改 HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\WSL_Terminal 機碼內的 (預設值) 字串內容,將 WSL Terminal 修改為 W&SL Terminal 就會有 S 快捷鍵可以按。使用方式將會是:先透過檔案總管瀏覽到特定目錄在畫面空白處按下滑鼠右鍵並按下 s 按鍵,這樣就會自動啟動 WSL Terminal主要設定檔位置由於 WSLtty 是 Mintty 的一個子專案,所以他的所有設定都可以參照 Mintty Manual 的說明,你也可以從官網得知 Mintty 真正想解決的問題為何。以下是安裝完 WSLtty 之後預設的 %LOCALAPPDATA%\wsltty\Ubuntu-18.04~.bat 批次檔內容,你可以發現啟動 WSLtty 其實就是啟動 mintty.exe 程式而已,只是特別加上 --WSL 參數指定 WSL 的特定 Linux 發行版本執行:%LOCALAPPDATA%\wsltty\bin\mintty.exe -i "%LOCALAPPDATA%\wsltty\wsl.ico" --WSL="Ubuntu-18.04" --configdir="%APPDATA%\wsltty" -~上述的 --configdir 就是指定 Mintty 的設定檔載入路徑。啟動 WSLtty 的過程中,可以參考以下幾個路徑,這是載入設定檔的優先順序,越上面優先權越高:直接使用 -c 指定設定檔路徑 (預設 wsltty 安裝時不是用這個)直接使用 --configdir 指定設定檔所在資料夾,它會去找這個資料夾下的 config 檔案WSLtty 預設的主要設定檔位於 %APPDATA%\wsltty\config自動搜尋 %HOME%\.minttyrc 檔案 (不建議使用這個檔案進行設定)自動搜尋 %HOME%\.config\mintty\config 檔案 (不建議使用這個檔案進行設定)自動搜尋 %APPDATA%\mintty\config 檔案自動搜尋 %LOCALAPPDATA%\wsltty\etc\minttyrc 檔案 (不建議使用這個檔案進行設定)進階應用要透過 WSLtty 啟動 WSL (Ubuntu 18.04) 除了用預設的批次檔外,還可以透過以下命令進行調整啟動參數:直接呼叫啟動,進入預設 shell 環境,並停留在 $HOME 目錄下 (-~)%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL="Ubuntu-18.04" --configdir="%AppData%\wsltty" -~直接呼叫啟動,進入預設 shell 環境,並設定終端機顯示文字以 Big5 字集為主 (預設為 UTF-8 字集)%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL="Ubuntu-18.04" --configdir="%APPDATA%\wsltty" -o Charset=Big5直接呼叫啟動,進入指定 shell 環境 (bash)%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL="Ubuntu-18.04" --configdir="%APPDATA%\wsltty" /bin/bash -l像是上述指令都可以封裝成一個個批次檔,降低進入 WSL 的難度。預設 WSLtty 提供的批次檔都會複製一份到 %LOCALAPPDATA%\Microsoft\WindowsApps 資料夾,你也可以直接修改這裡的批次檔內容。以往我們要直接啟動 WSL 並執行程式的方式有好多種,例如:wsl ls -laF ~bash -c "ls -laF ~"ubuntu run ls -laF ~ubuntu run sh -c 'ls -laF ~'如果想要透過 WSLtty 啟動 WSL (Ubuntu 18.04) 並自動執行腳本後退出,可以透過以下命令:直接呼叫啟動,並執行指定程式後關閉退出建議將批次檔內容加上 %1 %2 %3 %4 %5 %6 %7 %8 %9 參數,到執行 mintty.exe 這行的最後面,例如:%LOCALAPPDATA%\wsltty\bin\mintty.exe -i "%LOCALAPPDATA%\wsltty\wsl.ico" --WSL= --configdir="%APPDATA%\wsltty" %1 %2 %3 %4 %5 %6 %7 %8 %9如此一來就可以徹底簡化命令列輸入!列出 $HOME 目錄所有檔案wsl.bat ls -laF ~列出 $HOME 目錄所有檔案並將檔案輸出到 Windows 的當前目錄由於用到 > 符號,所以必須透過 sh -c 傳入執行wsl.bat sh -c "ls -laFR ~ > ./HOME_File_List.txt"查看 /var/log/dpkg.log 檔案變更wsl.bat tail -f /var/log/dpkg.log透過 WSL 使用 SSH 連線至遠端電腦wsl.bat ssh 172.14.19.3透過 WSL 使用 SSH 執行遠端命令wsl.bat ssh 172.14.19.3 tail -f /var/log/syslog常用快速鍵有在玩 Linux 的人,應該各個都是快速鍵的好手,所以用了 WSLtty 之後,哪能不記一些好用的快速鍵呢!底下的快速鍵中,請記得先開啟 Ctrl+Shift+字母 快捷鍵才能使用相關快速鍵,預設這個快速鍵組合是關閉的:新增終端機Alt-F2Ctrl+Shift+N切換不同的 mintty 視窗Ctrl-TabCtrl-Shift-Tab搜尋畫面中的文字Alt-F3Ctrl+Shift+H關閉終端機Alt-F4Ctrl+Shift+W我個人愛用 Ctrl+D 正常退出,使用 Alt-F4 是強制關閉終端機。重置畫面 (清空畫面與所有卷軸內容)Alt-F8Ctrl+Shift+R調整字體大小 (這我在演講時超好用)鍵盤:Ctrl-+ / Ctrl--鍵盤:Ctrl-Shift-+ / Ctrl-Shift--滑鼠:Ctrl-滾輪 (視窗不動,字體放大縮小)觸控板:兩指縮放 (視窗不動,字體放大縮小)滑鼠:Ctrl-Shift-滾輪 (視窗與字體一起等比例放大縮小)觸控板:Shift-兩指縮放 (視窗與字體一起等比例放大縮小)重置字體大小:Shift-Alt-F10 (當字體調整時,視窗預設不會連動放大/縮小)重置視窗大小:Alt-F10 或 Ctrl+Shift+D (重置視窗大小時會依據目前字體大小調整視窗大小)進入全螢幕Alt-F11Alt-Enter (我個人比較愛用這組)Ctrl+Shift+F翻轉螢幕 (Flip screen) ( 當使用 vim 的時候通常會用到多螢幕功能 )Alt-F12Ctrl+Shift+S畫面捲動Shift-PageUp/PageDown 向上捲動一頁 / 向下捲動一頁Shift-Up/Down 向上捲動一行 / 向下捲動一行Shift-Home/End 向上捲動到最頂 / 向下捲動到最後Ctrl+Shift+O 顯示/隱藏垂直卷軸切換鍵盤游標樣式 (有 3 種)Ctrl+Shift+P切換視窗透明度 (有 8 級)Ctrl+Shift+T移動視窗 (不用點標題列就可以移動)Ctrl-Alt-滑鼠拖曳複製/貼上Ctrl-Ins 複製Shift-Ins 貼上Ctrl-Shift-Ins 複製+貼上滑鼠選取文字滑鼠選取 範圍選取Alt-滑鼠選取 區塊選取相關連結mintty/wsltty: Mintty as a terminal for Bash on Ubuntu on Windows / WSLMintty — Cygwin Terminal emulatorMintty ManualMintty WikiMintty Tips How to define KeyFunctions command #845Windows Command-Line 系列文章Command-Line BackgrounderThe Evolution of theTips mintty/mintty Wiki - GitHub
C:/cygwin bash$ pwd /for a default setup. You could also use backward-slashes in theWindows path, but these would have to be escaped from the shell.Warning: There is some ambiguity in going from a Windows pathto the posix path, because different posix paths, through differentmount points, could map to the same Windows directory. This mattersbecause different mount points may be binmode or textmode, so thebehavior of Cygwin apps will vary depending on the posix path used toget there.You can avoid the ambiguity of Windows paths, and avoid typing"/cygdrive", by explicitly mounting drives to posix paths. For example: bash$ mkdir /c bash$ mount c:/ /c bash$ ls /cThen /cygdrive/c/Windows becomes /c/Windows which is alittle less typing.Note that you have to enter the mount point into the/etc/fstab file to keep it indefinitely. The mount command will only add the mount point for the lifetimeof your current Cygwin session.You can change the default cygdrive prefix and whether it is binmode or textmode using the /etc/fstab fileas well. See the Cygwin User's Guide at more details.4.27.How can I copy and paste into Cygwin console windows?First, consider using mintty instead of the standard consolewindow. In mintty, selecting with the left-mouse also copies,and middle-mouse pastes. It couldn't be easier!In Windows's console window, open the properties dialog.The options contain a toggle button, named "Quick edit mode". It mustbe ON. Save the properties.You can also bind the insert key to paste from the clipboard by adding the following line to your .inputrc file: "\e[2~": paste-from-clipboard 4.28.What firewall should I use with Cygwin? We have had good reports about Kerio Personal Firewall, ZoneLabsIntegrity Desktop, and the Windows built-in firewall. Other well-knownproducts including ZoneAlarm and Norton Internet Security have causedproblems for some users but work fine for others. At last report,Agnitum Outpost did not work with Cygwin. If you are havingHome mintty/mintty Wiki - GitHub
VersionsConEmu build: 170910 x64OS version: Windows 10 Pro x64 (Build 16251.rs3_release.170721-2122)Used shell version : WSL Ubuntu 16.04 bash via wslbridgeProblem description24bit ansi colors work perfectly only after running echo -e "\e[9999H". Clearing the console from within bash or echo -e "\e[2J" reverts to not working.I hope this is the right place to report this, I have tested the included version of wslbridge using mintty in an attempt to narrow down the source of the problem and it does not exhibit this behaviour.Steps to reproduceOpen default detected Bash::bash task.immediately run 256colors.plrun `echo -e "\e[9999H"run 256colors.pl againActual resultsOn a fresh run of the bash task:After running echo -e "\e9999H" in the same console tabAfter returning from alternate screen (vim used as example here, but mutt and others all have the same effect)(edit: Just noticed the typo in the last screenshot. last word in step 2 should read "change")Expected resultsThe colors as seen in the second screenshot above.Additional filesConEmu.xml,ConEmu logs one of the above sessionsConsole log from the sessionmintty/mintty 3.6.5 on GitHub - NewReleases.io
Shortcuts if copied there)*.bat scripts (optionally with WSL command as parameters) (see Command line scripts below)Explorer context menu (if installed from the Start Menu WSLtty subfolder)Starting the mintty terminal directly from the WSLtty installation locationis discouraged because that would bypass essential options.WSL V2Terminal communication with WSL via its modes V1 or V2 is handledautomatically by wsltty (mintty and the wslbridge2 gateway).Starting issuesIf wsltty fails with anError: Could not fork child process: Resource temporarily unavailable...,its runtime may be affected by some over-ambitious virus defense strategy.For example, with Windows Defender, option “Force randomization for images”should be disabled.If wsltty fails with an error message that mentions a disk mount path (e.g. /mnt/c),workarounds may be the shutdown of the WSL V2 virtual machine (wsl --shutdown on the distro)or turning off “fast startup” in the Windows power settings (#246, #248).WSL shell starting issuesWith WSL V2, an additional background shell is run which may cause troublefor example when setting up automatic interaction between Windows side andWSL side(see #197 (comment)).As a workaround, the following may be added to (the beginning of) theWSL shell initialization script .bashrc (adapt for other shells): /dev/null || exit fi"> # work around if [[ -n "$WSL_DISTRO_NAME" ]]; then command -v cmd.exe > /dev/null || exit fiConfigurationStart Menu and Desktop shortcutsIn the Start Menu, the following shortcuts are installed:In the Start Menu subfolder WSLtty, the following additional shortcuts are installed:One Desktop shortcut is installed:Shortcut WSL Terminal to start the default WSL distribution (as configured with the Windows tool wslconfig or wsl -s)Other, distribution-specific shortcuts can be copied to the desktopfrom the Start Menu if desired.The Start menu folder WSLtty contains the linkconfigure WSL shortcuts.This function is initially run when wsltty is installed.It should be rerun after adding or removing WSL distributions,in order to create the respective set of shortcuts in the Start menu.Command. The Cygwin Terminal – terminal emulator for Cygwin, MSYS, and WSL - mintty/docs/mintty.1 at master mintty/mintty
mintty/mintty 3.7.1 on GitHub - NewReleases.io
Step-by-step instructions to build Emacs for Windows 64 bit with MSYS2 and MinGW-w64. Now `native-comp` supported. Instructions are modified from emacs-w64 Wiki page by zklhp. Many thanks for sharing!Download the latest MSYS2 from this download page.Install MSYS2 to, for example, C:\msys2 (make sure no space in path to avoid unwanted problems).Optionally prettify the MSYS2 console mintty with ~/.minttyrc to make it more pleasing to eyes. Thanks to this awesome theme!ForegroundColour=131,148,150BackgroundColour=0,43,54CursorColour=192,192,192Black=7,54,66BoldBlack=0,43,54Red=220,50,47BoldRed=203,75,22Green=133,153,0BoldGreen=88,110,117Yellow=181,137,0BoldYellow=101,123,131Blue=38,139,210BoldBlue=131,148,150Magenta=211,54,130BoldMagenta=108,113,196Cyan=42,161,152BoldCyan=147,161,161White=238,232,213BoldWhite=253,246,227BoldAsFont=yesFont=ConsolasFontHeight=12Transparency=offOpaqueWhenFocused=noScrollbackLines=200000FontSmoothing=fullCursorType=underscoreCursorBlinks=yesScrollMod=offRightClickAction=pasteClickTargetMod=offRemove all /c/* paths in $PATH by adding this to .bashrc and restart mintty.This is important to avoid interference from programs installedon the same machine, especially if you have Cygwin installed.# Remove '/c/*' from PATH if running under Msys to avoid possible # interference from programs already installed on system. Removal # with awk is copied from [ $(uname -o) == 'Msys' ]; then export PATH=`echo ${PATH} | awk -v RS=: -v ORS=: '/c\// {next} {print}' | sed 's/:*$//'`fiThe whole .bashrc is copied here.# .bashrc # Source global definitionsif [ -f /etc/bashrc ]; then . /etc/bashrcfi ################# Basics ################# # Don't wait for job termination notificationset -o notify # Enables UTF-8 in Putty.# See -ne '\e%G\e[?47h\e%G\e[?47l' # My pretty prompt (Yay!)PS1='\[\e[32;40m\]\u\[\e[0m\]\[\e[34;40m\]\H\[\e[0m\]\[\e[40;1m\]\w\[\e[0m\] ' ############### PATH ############### # Remove '/c/*' from PATH if running under Msys to avoid possible # interference from programs already installed on system. Removal # with awk is copied from [ $(uname -o) == 'Msys' ]; then export PATH=`echo ${PATH} | awk -v RS=: -v ORS=: '/c\// {next} {print}' | sed 's/:*$//'`fi ################## Aliases ################## alias less='less -r'alias rm='rm -i'alias whence='type -a'alias ls='ls -F --color=auto'alias dir='ls --color=auto --format=long -L'alias vdir='ls --color=auto --format=long'alias ll='ls -l'alias la='ls -A'alias l='ls -CF'alias md='mkdir'alias pico='nano'alias cls='clear'Install packages required to build Emacs.Follow instructions on this page first.pacman -Syupacman -Sypacman -Sy\ --needed \ filesystem \ msys2-runtime \ bash \ libreadline \ libiconv \ libarchive \ libgpgme \ libcurl \ pacman \ ncurses \ libintl Close mintty and restart it, do this again.Then let us install all required libs for building Emacs.pacman -Su \ autoconf \ autogen \ automake \ automake-wrapper \ diffutils \ git \ guile \ libgc \ libguile \ libidn-devel \ libltdl \ libnettle-develmintty/mintty 3.5.0 on GitHub - NewReleases.io
Select ComponentsChoose the components you want to install. The default selection should work fine for most users.During the setup, you’ll be asked to select components to install. The defaults usually include necessary options like Git Bash and Git GUI. If you’re unsure, sticking with the defaults is a safe bet.Step 5: Adjust Path EnvironmentDecide how you want Git to interact with the command line and other tools by adjusting the PATH environment.You’ll be given options on how to use Git from the command line. The recommended setting is “Git from the command line and also from 3rd-party software,” which offers the most flexibility. This choice lets you use Git commands directly from the Command Prompt or PowerShell.Step 6: Configure Additional OptionsSet preferences for features like line-ending conversions and the terminal emulator used by Git Bash.The wizard will prompt you to configure options like line-ending conversions (useful if you’re working with both Windows and Unix-based systems). You’ll also choose a terminal emulator for Git Bash. The default, “Use MinTTY,” is generally a good choice.Step 7: Complete the InstallationClick "Finish" once the installation is complete.After you’ve configured all the settings, the installer will proceed with the installation. This might take a few minutes. Once it’s done, click “Finish” to exit the setup wizard. Congratulations, you’ve installed Git on Windows 10!After completing these steps, you’ll have Git fully installed on your Windows 10 machine. You can start using it to manage your projects and collaborate with others.Tips for Installing Git on Windows 10Ensure. The Cygwin Terminal – terminal emulator for Cygwin, MSYS, and WSL - mintty/docs/mintty.1 at master mintty/minttymintty/mintty 3.7.0 on GitHub - NewReleases.io
Free MUD client for Mac OS X, Linux, and Windows. The Windows port named WinTin (using the PuTTY derived mintty terminal) is available for those who do not use Cygwin (A Linux/Unix emulator for Windows) and runs on Windows Xp, Windows Vista, and Windows 7. Besides MUDs, TinTin also works well with MUSH, Rogue, BBS, and Linux servers. Category: Games / Misc. GamesPublisher: TinTin++ development team, License: Freeware, Price: USD $0.00, File Size: 1.4 MBPlatform: Windows AGVCR is available for Linux, Windows and Mac OS X. AGVCR is available for Linux, Windows and Mac OS X. While tested on all released platforms to see that it is usable, it should be pointed out that it has been tested more on its development platform, Linux. Simple, easy-to-use interface with DVD or VCR-like operations (forward, skip, rewind, slow-mo, time-search). Single program executable (supporting GTK libraries needed, can be... Category: Multimedia & Design / VideoPublisher: Indiana University, License: Freeware, Price: USD $0.00, File Size: 6.2 MBPlatform: Windows Linux in a window of Windows. Linux in a window of Windows. Run the Debian Linux appliance in the free VMware Player side by side with Windows. This is a full desktop Gnome installation of the stable Debian Etch distribution 4.0r0. It is intended to be used for working with Windows and Debian Linux at the same time without the need of a dual boot setup. If you can't download with BitTorrent get the 445... Category: Desktop EnhancementsPublisher: Visoracle, License: Freeware, Price: USD $0.00, File Size: 445.3 MBPlatform: Windows, Linux, Unix A program designed to walk the Windows registry and match keys, values, and data with regular expressions. A program designed to Walk the Windows registry and match keys, values, and data with regular expressions. Matched items can be deleted or the branch they are onComments
Line scripts wsl*.batWSLtty installs the following scripts into %LOCALAPPDATA%\Microsoft\WindowsApps(and a copy in its application folder %LOCALAPPDATA%\wsltty):For each installed WSL distribution, e.g. Ubuntu, a command script like Ubuntu.bat to start in the current folder/directoryFor each installed WSL distribution, e.g. Ubuntu, a command script like Ubuntu~.bat to start in the WSL user homeWSL.bat and WSL~.bat to start the default WSL distributionGiven that %LOCALAPPDATA%\Microsoft\WindowsApps is in your PATH,the scripts can be invoked from cmd.exe, PowerShell, or via WIN+R.Context menu entriesWSLtty provides context menu entries for all installed WSL distributionsand one for the configured default distribution,to start a respective WSL terminal in a specific folder from an Explorer window.They are not installed by default.To add launch entries for the default or all WSL distributions to theExplorer context menu, or remove them, run the respective script from theStart Menu subfolder WSLtty:IconWsltty installation and the mintty terminal try to use the icon of therespective WSL distribution. If it cannot be determined, a penguin iconis used as a fallback. You can replace it with your preferred default iconby replacing the icon file %LOCALAPPDATA%\wsltty\wsl.ico.Mintty settingsMintty can maintain its configuration file in various locations,with the following precedence:file given with mintty option -c (not used by wsltty default installation)file config in directory given with mintty option --configdir%APPDATA%\wsltty\config in the default wsltty installation%HOME%\.minttyrc (usage deprecated with wsltty)%HOME%\.config\mintty\config (usage deprecated with wsltty)common config file for all mintty installation instances%APPDATA%\mintty\config%LOCALAPPDATA%\wsltty\etc\minttyrc (usage deprecated with wsltty)Note:%APPDATA%\wsltty\config is the user configuration file location.Further subdirectories of %APPDATA%\wsltty are used for language,themes, and sounds resource configuration.Note the distinction from %LOCALAPPDATA%\wsltty which is the defaultwsltty software installation location.The %APPDATA%\mintty\config option provides the possibility tomaintain common mintty settings for various installations (likewsltty, Cygwin, MinGW/msys, Git for Windows, MinEd for Windows).(About deprecated options) By default, %HOME% would refer to theroot directory of the cygwin standalone installation hosting wsltty.So %HOME% would mean
2025-04-11%LOCALAPPDATA%\wsltty\home\%USERNAME%.If you define HOME at Windows level, this changes accordingly.Note, however, that the WSL $HOME is a completely different setting.Emoji deploymentMintty and the wsltty package do not bundle actual emoji graphics butthere are scripts to support easy download and deployment.If you have another instance of mintty installed (e.g. in cygwin)and have emojis deployed already in the common config folder%APPDATA%\mintty\emojis, they will be reused by wsltty.To deploy emojis standalone for wsltty, use the scripts installed in%APPDATA%\wsltty\emojis within WSL:cd $(wslpath "$APPDATA/wsltty/emojis")getemojis to provide emoji graphics as listed by Unicode.orggetflags to provide emoji flag graphics (extending Unicode dynamically) from various sourcesShell selection and Login shellThe WSLtty deployment does not impose a shell preference;it invokes the user’s default shell in login mode by the final - parameter:%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL= --configdir="%APPDATA%\wsltty" -You may tweak shortcuts, scripts, or context menu entries as follows:To launch a default shell in non-login mode, remove the final dash.To invoke your preferred shell, replace the final dash witha shell pathname and an optional -l parameter%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL= --configdir="%APPDATA%\wsltty" /bin/bash -lWSL locale setup and character encodingCharacter encoding setup by locale setting is propagated from the terminaltowards WSL. So you can select your favourite locale with configurationoptions or with command-line options, for example in a copied dedicateddesktop shortcut.If for example you wish to run WSL in GB18030 encoding, you may set optionsLocale=zh_CN and Charset=GB18030 and the WSL shell will adopt thatsetting, provided that the selected locale is configured to be availablein the locale database of the WSL distribution.This can be achieved in Ubuntu with the following commands:sudo mkdir -p /var/lib/locales/supported.dsudo echo zh_CN.GB18030 GB18030 >> /var/lib/locales/supported.d/localsudo locale-genComponents and CreditsFor mintty, see the Mintty homepage(with further screenshots),the Mintty manual page,and the Mintty Wiki,including a Hints and Tips page.It is based on Cygwinand includes its runtime library (sources).For interacting with WSL, wslbridgeused to be the gateway prototype.Many thanks
2025-03-31檔案,修改 158 行,將 minttyargs='--WSL --configdir="'"$configdir"'"' 修改為 minttyargs='--WSL="Ubuntu-18.04" --configdir="'"$configdir"'"' 即可。再者,如果你想調整啟動 WSL Terminal 的快捷鍵,可以修改 HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\WSL_Terminal 機碼內的 (預設值) 字串內容,將 WSL Terminal 修改為 W&SL Terminal 就會有 S 快捷鍵可以按。使用方式將會是:先透過檔案總管瀏覽到特定目錄在畫面空白處按下滑鼠右鍵並按下 s 按鍵,這樣就會自動啟動 WSL Terminal主要設定檔位置由於 WSLtty 是 Mintty 的一個子專案,所以他的所有設定都可以參照 Mintty Manual 的說明,你也可以從官網得知 Mintty 真正想解決的問題為何。以下是安裝完 WSLtty 之後預設的 %LOCALAPPDATA%\wsltty\Ubuntu-18.04~.bat 批次檔內容,你可以發現啟動 WSLtty 其實就是啟動 mintty.exe 程式而已,只是特別加上 --WSL 參數指定 WSL 的特定 Linux 發行版本執行:%LOCALAPPDATA%\wsltty\bin\mintty.exe -i "%LOCALAPPDATA%\wsltty\wsl.ico" --WSL="Ubuntu-18.04" --configdir="%APPDATA%\wsltty" -~上述的 --configdir 就是指定 Mintty 的設定檔載入路徑。啟動 WSLtty 的過程中,可以參考以下幾個路徑,這是載入設定檔的優先順序,越上面優先權越高:直接使用 -c 指定設定檔路徑 (預設 wsltty 安裝時不是用這個)直接使用 --configdir 指定設定檔所在資料夾,它會去找這個資料夾下的 config 檔案WSLtty 預設的主要設定檔位於 %APPDATA%\wsltty\config自動搜尋 %HOME%\.minttyrc 檔案 (不建議使用這個檔案進行設定)自動搜尋 %HOME%\.config\mintty\config 檔案 (不建議使用這個檔案進行設定)自動搜尋 %APPDATA%\mintty\config 檔案自動搜尋 %LOCALAPPDATA%\wsltty\etc\minttyrc 檔案 (不建議使用這個檔案進行設定)進階應用要透過 WSLtty 啟動 WSL (Ubuntu 18.04) 除了用預設的批次檔外,還可以透過以下命令進行調整啟動參數:直接呼叫啟動,進入預設 shell 環境,並停留在 $HOME 目錄下 (-~)%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL="Ubuntu-18.04" --configdir="%AppData%\wsltty" -~直接呼叫啟動,進入預設 shell 環境,並設定終端機顯示文字以 Big5 字集為主 (預設為 UTF-8 字集)%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL="Ubuntu-18.04" --configdir="%APPDATA%\wsltty" -o Charset=Big5直接呼叫啟動,進入指定 shell 環境 (bash)%LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL="Ubuntu-18.04" --configdir="%APPDATA%\wsltty" /bin/bash -l像是上述指令都可以封裝成一個個批次檔,降低進入 WSL 的難度。預設 WSLtty 提供的批次檔都會複製一份到 %LOCALAPPDATA%\Microsoft\WindowsApps 資料夾,你也可以直接修改這裡的批次檔內容。以往我們要直接啟動 WSL 並執行程式的方式有好多種,例如:wsl ls -laF ~bash -c "ls -laF ~"ubuntu run ls -laF ~ubuntu run sh -c 'ls -laF ~'如果想要透過 WSLtty 啟動 WSL (Ubuntu 18.04) 並自動執行腳本後退出,可以透過以下命令:直接呼叫啟動,並執行指定程式後關閉退出建議將批次檔內容加上 %1 %2 %3 %4 %5 %6 %7 %8 %9 參數,到執行 mintty.exe 這行的最後面,例如:%LOCALAPPDATA%\wsltty\bin\mintty.exe -i "%LOCALAPPDATA%\wsltty\wsl.ico" --WSL= --configdir="%APPDATA%\wsltty" %1 %2 %3 %4 %5 %6 %7 %8 %9如此一來就可以徹底簡化命令列輸入!列出 $HOME 目錄所有檔案wsl.bat ls -laF ~列出 $HOME 目錄所有檔案並將檔案輸出到 Windows 的當前目錄由於用到 > 符號,所以必須透過 sh -c 傳入執行wsl.bat sh -c "ls -laFR ~ > ./HOME_File_List.txt"查看 /var/log/dpkg.log 檔案變更wsl.bat tail -f /var/log/dpkg.log透過 WSL 使用 SSH 連線至遠端電腦wsl.bat ssh 172.14.19.3透過 WSL 使用 SSH 執行遠端命令wsl.bat ssh 172.14.19.3 tail -f /var/log/syslog常用快速鍵有在玩 Linux 的人,應該各個都是快速鍵的好手,所以用了 WSLtty 之後,哪能不記一些好用的快速鍵呢!底下的快速鍵中,請記得先開啟 Ctrl+Shift+字母 快捷鍵才能使用相關快速鍵,預設這個快速鍵組合是關閉的:新增終端機Alt-F2Ctrl+Shift+N切換不同的 mintty 視窗Ctrl-TabCtrl-Shift-Tab搜尋畫面中的文字Alt-F3Ctrl+Shift+H關閉終端機Alt-F4Ctrl+Shift+W我個人愛用 Ctrl+D 正常退出,使用 Alt-F4 是強制關閉終端機。重置畫面 (清空畫面與所有卷軸內容)Alt-F8Ctrl+Shift+R調整字體大小 (這我在演講時超好用)鍵盤:Ctrl-+ / Ctrl--鍵盤:Ctrl-Shift-+ / Ctrl-Shift--滑鼠:Ctrl-滾輪 (視窗不動,字體放大縮小)觸控板:兩指縮放 (視窗不動,字體放大縮小)滑鼠:Ctrl-Shift-滾輪 (視窗與字體一起等比例放大縮小)觸控板:Shift-兩指縮放 (視窗與字體一起等比例放大縮小)重置字體大小:Shift-Alt-F10 (當字體調整時,視窗預設不會連動放大/縮小)重置視窗大小:Alt-F10 或 Ctrl+Shift+D (重置視窗大小時會依據目前字體大小調整視窗大小)進入全螢幕Alt-F11Alt-Enter (我個人比較愛用這組)Ctrl+Shift+F翻轉螢幕 (Flip screen) ( 當使用 vim 的時候通常會用到多螢幕功能 )Alt-F12Ctrl+Shift+S畫面捲動Shift-PageUp/PageDown 向上捲動一頁 / 向下捲動一頁Shift-Up/Down 向上捲動一行 / 向下捲動一行Shift-Home/End 向上捲動到最頂 / 向下捲動到最後Ctrl+Shift+O 顯示/隱藏垂直卷軸切換鍵盤游標樣式 (有 3 種)Ctrl+Shift+P切換視窗透明度 (有 8 級)Ctrl+Shift+T移動視窗 (不用點標題列就可以移動)Ctrl-Alt-滑鼠拖曳複製/貼上Ctrl-Ins 複製Shift-Ins 貼上Ctrl-Shift-Ins 複製+貼上滑鼠選取文字滑鼠選取 範圍選取Alt-滑鼠選取 區塊選取相關連結mintty/wsltty: Mintty as a terminal for Bash on Ubuntu on Windows / WSLMintty — Cygwin Terminal emulatorMintty ManualMintty WikiMintty Tips How to define KeyFunctions command #845Windows Command-Line 系列文章Command-Line BackgrounderThe Evolution of the
2025-04-03