Comments (3)
I convinced Russ Alexander to document this properly in a blogpost, so we're all good =].
from lxss.
Hey @fpqc I think version 1.2.0 of LxLaunch will answer most of your questions. As you can see, UTF-8 is now native to the console code in Windows, by using SetConsoleCP(CP_UTF8). The VT-100 support is also new and native to the Windows console, and achieved by using the VT100_EMULATION console mode.
The ttys are basically handled (hah!) by creating a pipe on the WIndows and Linux side, and setting that pipe as the Linux standard-in. ADSS IPC will take care of duplicating that into a linux pipe/tty on the other side. Meanwhile, we then wait for input on the Windows STDIN handle. When input is received, we read the input character, and simply write it back out on the pipe, which Linux will now receive as console input.
from lxss.
Nifty! Thanks, will look at the sourcecode again.
from lxss.
Related Issues (15)
- Cygwin alternative HOT 1
- RegisterAdssBusServer() returning ERROR_NOT_FOUND HOT 9
- Output to non-console handles? HOT 13
- Youtube link is broken HOT 1
- Enhancement: KVM support (a simple paint program example)
- Support for Windows version greater than RS3 or higher HOT 12
- Please provide updated WSL video at the next Black Hat conference or stand-alone HOT 5
- Build instructions HOT 6
- Question about lxdrv design HOT 1
- This is neither how the English language works. HOT 4
- Binaries/Compilation instructions for the simpleminded? HOT 16
- Lxlaunch crashes on an unhandled exception in the "else" case of the RS2 check HOT 4
- Question about the original POC HOT 1
- Lxdrv POC, limitations? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lxss.