wsltty | Mintty as a terminal for Bash on Ubuntu on Windows / WSL
kandi X-RAY | wsltty Summary
kandi X-RAY | wsltty Summary
Mintty as a terminal for WSL (Windows Subsystem for Linux).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of wsltty
wsltty Key Features
wsltty Examples and Code Snippets
Community Discussions
Trending Discussions on wsltty
QUESTION
I'm using the new Windows Terminal, and trying to get it to launch my WSL terminal. This is the setting that I'm trying to use:
...ANSWER
Answered 2019-Jun-26 at 04:18Turns out that all I needed to do was change the commandline to ubuntu1804.exe
. Like this:
QUESTION
If in Windows 10 I type wsl
, ubuntu
or cmd
in the address bar of a directory, the relevant console is opened in that directory; is there a way to open the same way mintty/wsltty? I tried putting a shortcut and a symbolic link to wsltty.exe in system32, but it didn't work.
ANSWER
Answered 2019-Nov-10 at 11:18Ok, I found a solution just after opening the bounty: I made an AHK exe that runs Run %LOCALAPPDATA%\wsltty\bin\mintty.exe --WSL="Ubuntu" --configdir="%APPDATA%\wsltty"
and placed it in system32.
QUESTION
I want to display bold characters in WSL through ConEmu (currently using ConEmu 190331 x64).
When I print the following echo -e "FROM NOT BOLD \e[1mTO BOLD\e[0m"
, I get this Image to ConEmu
As you can see, ConEmu uses the intensity/brightness to represent bold. I would like to be able to switch that to actually use bold instead just like in WSLTTY (MinTTY for WSL): Image to WSLTTY
Is it possible? I couldn't find instructions in ConEmu's manual.
...ANSWER
Answered 2019-Apr-16 at 23:33Windows console API does not provide enough attributes to represent boldness. That's why bold attributes may be (yet) set only at the bottom of the buffer (current implementation) where xterm256 and true-color works.
Than, you may use \e[1m
to set bold attribute when you set brightness explicitly (e.g. \e[90m
) or xterm color from 256 palette (e.g. \e[38;5;7m
).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wsltty
Note that these are 3rd-party contributions and do not necessarily provide the latest version. If you use the Chocolatey package manager, invoke one of. If you use the Scoop package manager,. then, invoke one of. A Windows Appx package and certificate is available in the wsltty.appx repository.
choco install wsltty
choco upgrade wsltty
scoop bucket add extras
scoop install wsltty
scoop update wsltty
Character encoding setup by locale setting is propagated from the terminal towards WSL. So you can select your favourite locale with configuration options or with command-line options, for example in a copied dedicated desktop shortcut.
sudo mkdir -p /var/lib/locales/supported.d
sudo echo zh_CN.GB18030 GB18030 >> /var/lib/locales/supported.d/local
sudo locale-gen
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page