mirror of
https://github.com/mintty/wsltty.git
synced 2025-11-08 19:11:52 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47ede36283 | ||
|
|
b488a82a52 | ||
|
|
cadefd0ec0 | ||
|
|
0b4418399b | ||
|
|
1f4de96e01 | ||
|
|
1d8c80a6d4 | ||
|
|
e85b7fbb6a |
20
README.md
20
README.md
@@ -50,6 +50,9 @@ the optional second parameter designates the configuration directory.
|
|||||||
|
|
||||||
### Installation with other package management environments ###
|
### Installation with other package management environments ###
|
||||||
|
|
||||||
|
Note that these are 3rd-party contributions and do not necessarily
|
||||||
|
provide the latest version.
|
||||||
|
|
||||||
#### Chocolatey ####
|
#### Chocolatey ####
|
||||||
|
|
||||||
If you use the [Chocolatey package manager](https://chocolatey.org/),
|
If you use the [Chocolatey package manager](https://chocolatey.org/),
|
||||||
@@ -90,6 +93,18 @@ is discouraged because that would bypass essential options.
|
|||||||
Terminal communication with WSL via its modes V1 or V2 is handled
|
Terminal communication with WSL via its modes V1 or V2 is handled
|
||||||
automatically by wsltty (mintty and the wslbridge2 gateway).
|
automatically by wsltty (mintty and the wslbridge2 gateway).
|
||||||
|
|
||||||
|
#### Starting issues ####
|
||||||
|
|
||||||
|
If wsltty fails with an
|
||||||
|
`Error: 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).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Configuration ###
|
### Configuration ###
|
||||||
@@ -158,10 +173,11 @@ Mintty can maintain its configuration file in various locations,
|
|||||||
with the following precedence:
|
with the following precedence:
|
||||||
* file given with mintty option `-c` (not used by wsltty default installation)
|
* file given with mintty option `-c` (not used by wsltty default installation)
|
||||||
* file `config` in directory given with mintty option `--configdir`
|
* file `config` in directory given with mintty option `--configdir`
|
||||||
* This is `%APPDATA%\wsltty\config` in the default wsltty installation.
|
* **`%APPDATA%\wsltty\config`** in the default wsltty installation
|
||||||
* `%HOME%\.minttyrc` (usage deprecated with wsltty)
|
* `%HOME%\.minttyrc` (usage deprecated with wsltty)
|
||||||
* `%HOME%\.config\mintty\config` (usage deprecated with wsltty)
|
* `%HOME%\.config\mintty\config` (usage deprecated with wsltty)
|
||||||
* `%APPDATA%\mintty\config`
|
* common config file for all mintty installation instances
|
||||||
|
* **`%APPDATA%\mintty\config`**
|
||||||
* `%LOCALAPPDATA%\wsltty\etc\minttyrc` (usage deprecated with wsltty)
|
* `%LOCALAPPDATA%\wsltty\etc\minttyrc` (usage deprecated with wsltty)
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
|
|||||||
21
makefile
21
makefile
@@ -8,17 +8,21 @@
|
|||||||
|
|
||||||
|
|
||||||
# wsltty release
|
# wsltty release
|
||||||
ver=3.1.4.2
|
ver=3.3.0
|
||||||
|
|
||||||
# wsltty appx release - must have 4 parts!
|
# wsltty appx release - must have 4 parts!
|
||||||
verx=3.1.4.2
|
verx=3.3.0.0
|
||||||
|
|
||||||
|
|
||||||
# mintty release version
|
# mintty release version
|
||||||
minttyver=3.1.4
|
minttyver=3.3.0
|
||||||
|
|
||||||
# wslbridge2 release version
|
# wslbridge2 release version
|
||||||
wslbridgever=0.5
|
#repo=Biswa96/wslbridge2
|
||||||
|
#wslbridgever=0.5
|
||||||
|
|
||||||
|
repo=mintty/wslbridge2
|
||||||
|
wslbridgever=0.5.1
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
|
|
||||||
@@ -100,13 +104,20 @@ fix-verx:
|
|||||||
sed -i~ -e '/<Identity / s,Version="[.0-9]*",Version="$(verx)",' AppxManifest.xml
|
sed -i~ -e '/<Identity / s,Version="[.0-9]*",Version="$(verx)",' AppxManifest.xml
|
||||||
echo patched AppxManifest.xml
|
echo patched AppxManifest.xml
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
# clear binaries
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -fr wslbridge2-$(wslbridgever)/bin
|
||||||
|
rm -fr bin
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# generation
|
# generation
|
||||||
|
|
||||||
wslbridge: $(wslbridge)
|
wslbridge: $(wslbridge)
|
||||||
|
|
||||||
wslbridge2-$(wslbridgever).zip:
|
wslbridge2-$(wslbridgever).zip:
|
||||||
$(wgeto) https://github.com/Biswa96/wslbridge2/archive/v$(wslbridgever).zip -o wslbridge2-$(wslbridgever).zip
|
$(wgeto) https://github.com/$(repo)/archive/v$(wslbridgever).zip -o wslbridge2-$(wslbridgever).zip
|
||||||
|
|
||||||
wslbridge-source: wslbridge2-$(wslbridgever).zip
|
wslbridge-source: wslbridge2-$(wslbridgever).zip
|
||||||
unzip -ou wslbridge2-$(wslbridgever).zip
|
unzip -ou wslbridge2-$(wslbridgever).zip
|
||||||
|
|||||||
Reference in New Issue
Block a user